.png)
\documentclass{article}
\usepackage{tabularx}
\usepackage{multirow}
\begin{document}
\begin{table}[h!]
\setlength\extrarowheight{2pt} % for a ever so slightly more open "look"
\begin{tabularx}{\textwidth}{c X|c |c |c |c|c |}
\cline{3-7}
& & \multicolumn{2}{c|}{fference} & \multirow{2}{*}{t} & \multirow{2}{*}{df} & \multirow{2}{*}{Sig.(2-tailed)} \\
\cline{3-4}
& & Lower & Upper & & & \\
\hline
\multicolumn{1}{|c}{Pair 1} & Apple E(AM) & & 33.93\%, 54.47\% & 9.734 & 9 & .000 \\
\hline
\end{tabularx}
\caption{too large words}
\end{table}
\end{document}
다음과 같이 변경하면:
\documentclass{article}
\usepackage{tabularx}
\usepackage{multirow}
\begin{document}
\begin{table}[h!]
\setlength\extrarowheight{2pt} % for a ever so slightly more open "look"
\begin{tabularx}{\textwidth}{c X|c |c |c |c|c |}
\cline{3-7}
& & \multicolumn{2}{c|}{Testing One Testing One Testing One Testing One} & \multirow{2}{*}{t} & \multirow{2}{*}{df} & \multirow{2}{*}{Sig.(2-tailed)} \\
\cline{3-4}
& & Lower & Upper & & & \\
\hline
\multicolumn{1}{|c}{Pair 1} & Apple Banana Bal Bal Bal Bal(AM) & & 33.93\%, 54.47\% & 9.734 & 9 & .000 \\
\hline
\end{tabularx}
\caption{too large words}
\end{table}
\end{문서}
결과:
답변1
음, 다음과 같습니다:
\documentclass{article}
\usepackage{}
\usepackage{makecell, multirow, tabularx}
\begin{document}
\begin{table}[h!]
\setlength\extrarowheight{2pt} % for a ever so slightly more open "look"
\begin{tabularx}{\textwidth}{c X|c |c |c |c |c |}
\cline{3-7}
& & \multicolumn{2}{>{\centering\arraybackslash}p{8em}|}{Testing One Testing One Testing One Testing One} & \multirow{5}{*}{t} & \multirow{5}{*}{df} & \multirow{5}{*}{\makecell{Sig.\\(2-tailed)}} \\
\cline{3-4}
& & Lower & Upper & & & \\
\hline
\multicolumn{1}{|c}{Pair 1} & Apple Banana Bal Bal Bal Bal(AM) & 33.93\%, & 54.47\% & 9.734 & 9 & .000 \\
\hline
\end{tabularx}
\caption{too large words}
\end{table}
\end{document}