Longtable 패키지를 사용할 때 문제가 발생합니다. 이미 여러 게시물에서 3시간 정도 검색했지만 아무 효과가 없었습니다. 나는 테이블을 업로드합니다.
\usepackage{longtable,lscape}
\usepackage{multirow,multicol}
\begin{center}
\fontsize{9}{10}\selectfont
\begin{longtable}{|c|c|X|X|X|}%[H]
\caption{3D printing materials}\label{tabla:Materials}
\hline
\textbf{Printing Technology} & \textbf{Material} & \multicolumn{2}{c|}
{\textbf{Material properties}} & \textbf{3D printing problems} \\ \hline
\multirow{21}{*}{FDM\footnote{All data is against XZ axis.}}
& \multirow{7}{*}{PC-ABS\footnote{All data obtained from
\cite{materials:pcabs_stratasys}}} & Tensile Modulus & 1810MPa & \multirow{21}
{*}{blablabla} \\ \cline{3-4}
& & Tensile Strength & 34MPa & \\ \cline{3-4}
& & Elongation to Break & 5\% & \\ \cline{3-4}
& & Flexural Modulus & 1740MPa & \\ \cline{3-4}
& & Flexural Strength & 59MPa & \\ \cline{3-4}
& & Melting Point & N/A\footnote{Due to amorphous nature, material does not
display a melting point.} & \\ \cline{3-4}
& & Dielectric Constant\footnote{Also known as Relative Permittivity.} & 2.78
- 2.83 & \\
\cline{2-4}
&\multirow{7}{*}{ABS\footnote{All data obtained from \cite{materials:abs_stratasys}}} & Tensile Modulus & 2230MPa & \\ \cline{3-4}
& & Tensile Strength & 32MPa & \\ \cline{3-4}
& & Elongation to Break & 7\% & \\ \cline{3-4}
& & Flexural Modulus & 2060MPa & \\ \cline{3-4}
& & Flexural Strength & 60MPa & \\ \cline{3-4}
& & Melting Point & N/A & \\ \cline{3-4}
& & Dielectric Constant & 2.6 - 2.86 & \\ \cline{2-4}
& \multirow{7}{*}{Nylon 12\footnote{All data obtained from \cite{materials:nylon_stratasys}}} & Tensile Modulus & 1282MPa & \\ \cline{3-4}
& & Tensile Strength & 46MPa & \\ \cline{3-4}
& & Elongation to Break & 30\% & \\ \cline{3-4}
& & Flexural Modulus & 1276 & \\ \cline{3-4}
& & Flexural Strength & 67MPa & \\ \cline{3-4}
& & Melting Point & 178$^{\circ}$C & \\ \cline{3-4}
& & Dielectric Constant & N/A & \\ \cline{2-4}
\hline
\multirow{14}{*}{SLA\footnote{All data obtained from
\cite{materials:3dsystems_materials}}} &
\multirow{7}{*}{VisiJet\textregistered\ Black} & Tensile Modulus & 2150MPa &
\multirow{14}{*}{blablabla} \\ \cline{3-4}
& & Tensile Strength & 45MPa & \\ \cline{3-4}
& & Elongation to Break & 5\% & \\ \cline{3-4}
& & Flexural Modulus & 2350 & \\ \cline{3-4}
& & Flexural Strength & 76Pa & \\ \cline{3-4}
& & Melting Point & N/A & \\ \cline{3-4}
& & Dielectric Constant & N/A & \\ \cline{2-4}
\multirow{7}{*}{VisiJet\textregistered\ Tough} & Tensile Modulus & 1890MPa & \\ \cline{3-4}
& & Tensile Strength & 41MPa & \\ \cline{3-4}
& & Elongation to Break & 18\% & \\ \cline{3-4}
& & Flexural Modulus & 1850 & \\ \cline{3-4}
& & Flexural Strength & 62MPa & \\ \cline{3-4}
& & Melting Point & NA & \\ \cline{3-4}
& & Dielectric Constant & N/A & \\ \cline{2-4}
\hline
\multirow{14}{*}{SLS} &
\multirow{7}{*}{Alumide\textregistered \footnote{All data obtained from \cite{materials:shapeways_alumide}}} & Tensile Modulus & 3800MPa & \multirow{14}{*}{blablabla} \\ \cline{3-4}
& & Tensile Strength & 48MPa & \\ \cline{3-4}
& & Elongation to Break & 4\% & \\ \cline{3-4}
& & Flexural Modulus & 3600 & \\ \cline{3-4}
& & Flexural Strength & 72MPa & \\ \cline{3-4}
& & Melting Point & 172-180$^{\circ}$C & \\ \cline{3-4}
& & Dielectric Constant & 13 ${\pm}$ 1.5 & \\ \cline{2-4}
& \multirow{7}{*}{Nylon (PA2200) \footnote{All data obtained from \cite{materials:shapeways_pa2200}}} & Tensile Modulus & 1700MPa & \\ \cline{3-4}
& & Tensile Strength & 48MPa & \\ \cline{3-4}
& & Elongation to Break & 24\% & \\ \cline{3-4}
& & Flexural Modulus & 1500 & \\ \cline{3-4}
& & Flexural Strength & 58MPa & \\ \cline{3-4}
& & Melting Point & 172-180$^{\circ}$C & \\ \cline{3-4}
& & Dielectric Constant & NA & \\ \cline{2-4}
\hline
%\end{tabularx}
\end{longtable}
\normalsize
\end{center}
도움을 주시면 정말 감사하겠습니다
답변1
유감스럽게도 귀하의 코드에는 여러 가지 심각한 오류가 있으며 이로 인해 컴파일이 중단될 수 있습니다. 다음에서는 실제로 충돌을 일으키는 원인을 내가 인식한 부분을 수정하려고 노력했습니다. 당연히 내용을 판단할 수 있는 입장은 아닙니다.
이전 코드와 새 코드를 비교하여 내가 변경한 모든 내용을 확인하세요. 가장 중요한 것 중에는 다음과 같은 것이 있습니다.
수정된 코드 에서는
table
및tabular
환경 대신longtable
및tabularx
환경을 사용합니다. (여담: 환경tabularx
안에 환경을 넣을 수는 없습니다longtable
.)명령문 안에 명령
\footnote
이 있으면 제대로 작동하지 않습니다\multirow
. 따라서 패키지를 로드threeparttable
하고 지침을 및 지침\footnote
쌍으로 분할했습니다. 별도로, 수직 공간이 중요하기 때문에 여러 개의 짧은 각주를 한 줄에 조판할 수 있도록 옵션을 패키지에 로드했습니다.\tnote
\item
threeparttable
para
\cline{2.4}
오버레이 및 지침을 사용하지 마십시오\hline
.
\documentclass[10pt]{article}
\usepackage{multirow,array}
\setlength\extrarowheight{1pt}
% set page parameters:
\usepackage[letterpaper,margin=1in]{geometry}
\usepackage[skip=0.333\baselineskip]{caption}
\usepackage[para,flushleft]{threeparttable}
\begin{document}
\begin{table}
\centering
\begin{threeparttable}
\fontsize{9}{10}\selectfont
\caption{3D printing materials}\label{tabla:Materials}
\begin{tabular}{|>{\centering}p{2.25cm}| c| *{2}{l|}
>{\centering\arraybackslash}p{2.25cm}| }
\hline
\textbf{Printing Technology} &
\textbf{Material} &
\multicolumn{2}{c|}{\textbf{Material properties}} &
\textbf{3D printing problems} \\
\hline
\multirow{21}{*}{FDM\tnote{1}}
& \multirow{7}{*}{PC-ABS\tnote{2}}
& Tensile Modulus & 1810MPa &
\multirow{21}{*}{blablabla} \\ \cline{3-4}
& & Tensile Strength & 34MPa & \\ \cline{3-4}
& & Elongation to Break & 5\% & \\ \cline{3-4}
& & Flexural Modulus & 1740MPa & \\ \cline{3-4}
& & Flexural Strength & 59MPa & \\ \cline{3-4}
& & Melting Point & N/A\tnote{3} & \\ \cline{3-4}
& & Dielectric Constant\tnote{4} & 2.78--2.83 & \\
\cline{2-4}
&\multirow{7}{*}{ABS\tnote{5}}
& Tensile Modulus & 2230MPa & \\ \cline{3-4}
& & Tensile Strength & 32MPa & \\ \cline{3-4}
& & Elongation to Break & 7\% & \\ \cline{3-4}
& & Flexural Modulus & 2060MPa & \\ \cline{3-4}
& & Flexural Strength & 60MPa & \\ \cline{3-4}
& & Melting Point & N/A & \\ \cline{3-4}
& & Dielectric Constant & 2.6--2.86 & \\
\cline{2-4}
& \multirow{7}{*}{Nylon 12\tnote{6}}
& Tensile Modulus & 1282MPa & \\ \cline{3-4}
& & Tensile Strength & 46MPa & \\ \cline{3-4}
& & Elongation to Break & 30\% & \\ \cline{3-4}
& & Flexural Modulus & 1276 & \\ \cline{3-4}
& & Flexural Strength & 67MPa & \\ \cline{3-4}
& & Melting Point & 178$^{\circ}$C & \\ \cline{3-4}
& & Dielectric Constant & N/A & \\
%%%\cline{2-4}
\hline
\multirow{14}{*}{SLA\tnote{7}}
& \multirow{7}{*}{VisiJet\textsuperscript{\textregistered} Black}
& Tensile Modulus & 2150MPa &
\multirow{14}{*}{blablabla} \\ \cline{3-4}
& & Tensile Strength & 45MPa & \\ \cline{3-4}
& & Elongation to Break & 5\% & \\ \cline{3-4}
& & Flexural Modulus & 2350 & \\ \cline{3-4}
& & Flexural Strength & 76Pa & \\ \cline{3-4}
& & Melting Point & N/A & \\ \cline{3-4}
& & Dielectric Constant & N/A & \\
\cline{2-4}
& \multirow{7}{*}{VisiJet\textsuperscript{\textregistered} Tough}
& Tensile Modulus & 1890MPa & \\ \cline{3-4}
& & Tensile Strength & 41MPa & \\ \cline{3-4}
& & Elongation to Break & 18\% & \\ \cline{3-4}
& & Flexural Modulus & 1850 & \\ \cline{3-4}
& & Flexural Strength & 62MPa & \\ \cline{3-4}
& & Melting Point & NA & \\ \cline{3-4}
& & Dielectric Constant & N/A & \\
%%%\cline{2-4}
\hline
\multirow{14}{*}{SLS}
& \multirow{7}{*}{Alumide\textsuperscript{\textregistered} \tnote{8}}
& Tensile Modulus & 3800MPa &
\multirow{14}{*}{blablabla} \\ \cline{3-4}
& & Tensile Strength & 48MPa & \\ \cline{3-4}
& & Elongation to Break & 4\% & \\ \cline{3-4}
& & Flexural Modulus & 3600 & \\ \cline{3-4}
& & Flexural Strength & 72MPa & \\ \cline{3-4}
& & Melting Point & 172--180$^{\circ}$C & \\ \cline{3-4}
& & Dielectric Constant & $13 \pm 1.5$ & \\
\cline{2-4}
& \multirow{7}{*}{Nylon (PA2200) \tnote{9}}
& Tensile Modulus & 1700MPa & \\ \cline{3-4}
& & Tensile Strength & 48MPa & \\ \cline{3-4}
& & Elongation to Break & 24\% & \\ \cline{3-4}
& & Flexural Modulus & 1500 & \\ \cline{3-4}
& & Flexural Strength & 58MPa & \\ \cline{3-4}
& & Melting Point & 172--180$^{\circ}$C & \\ \cline{3-4}
& & Dielectric Constant & NA & \\
%%%\cline{2-4}
\hline
\end{tabular}
\begin{tablenotes}
\raggedright\footnotesize
\item[1] All data is against XZ axis.
\item[2] All data obtained from \cite{materials:pcabs_stratasys}
\item[3] Due to amorphous nature, material does not display a melting point.
\item[4] Also known as Relative Permittivity.
\item[5] All data obtained from \cite{materials:abs_stratasys}
\item[6] All data obtained from \cite{materials:nylon_stratasys}
\item[7] All data obtained from \cite{materials:3dsystems_materials}
\item[8] All data obtained from \cite{materials:shapeways_alumide}
\item[9] All data obtained from \cite{materials:shapeways_pa2200}
\end{tablenotes}
\end{threeparttable}
\end{table}
\end{document}