multilow
-
[LaTeX] table 셀 합치기Study/LaTeX 2012. 3. 24. 10:29
논문쓰다가 테이블의 셀을 합치고 싶어서 찾아보았다. 방법은 매우 간단했다. 칸을 합치고 싶으면 \multicolumn{n}{align}{contents}를 쓰면 되고, 줄을 합치고 싶으면 \multilow{n}{align}{contents}를 쓰면 된다. 예제는 아래와 같다. \begin{tabular}{|c|c|c|} \hline \multicolumn{2}{|c|}{\multirow{2}{*}{combined cells}} & top right\\ \cline{3-3} \multicolumn{2}{|c|}{} &middle right\\ \hline bottom left &bottom center &bottom right\\ \hline \end{tabular} 출처: http://ysw1209.bl..