KTUGFaq

KTUG FAQ

·Î±×ÀÎ:
ºñ¹Ð¹øÈ£:
°¡ÀÔ
If it pours before seven, it has rained by eleven.
FrontPageNetPbm › BookTabsPackage
(cf. KTUGOperate:277, KTUGOperate:150759)

LaTeX¿¡¼­ booktabs ÆÐÅ°Áö¸¦ ¾²Áö ¾Ê°í ±×³É tabular ȯ°æÀ» ¾²¸é Ç¥¿¡¼­ °¡·Î ÁÙ°ú ±ÛÀÚÀÇ »çÀÌ°¡ Á» Á¼¾Æ º¸ÀδÙ. ¶Ç ¸ÇÀ§¿Í ¸Ç¾Æ·¡´Â ¾à°£ ±½Àº ¼±, ù Çà ´ÙÀ½Àº º¸Åë ±½±â, ³ª¸ÓÁö ÇàÀº °¡´Â ¼±À» ³Ö°Å³ª °æ¿ì¿¡ µû¶ó¼­´Â ¾î¶² ƯÁ¤ Çà »çÀ̸¦ ´Ù¸¥ Çà »çÀ̺¸´Ù Á¶±Ý ´õ ¶ç¿ö¼­ ±¸ºÐÇÏ°í ½ÍÀ» ¶§°¡ ÀÖ´Ù. booktabs ÆÐÅ°Áö´Â ÀÌ·± ¿ä±¸¸¦ ÇѲ¨¹ø¿¡ ÇØ°áÇÏ´Â ÆÐÅ°ÁöÀÌ´Ù. Áï, °¡·Î ÁÙ°ú ±ÛÀÚ »çÀÌÀÇ °£°ÝÀ» 0.65ex(default)·Î ¶ç¿ìµµ·Ï µÇ¾î ÀÖ°í ¿©·¯ À§Ä¡¿¡ ¿©·¯ ±½±âÀÇ °¡·Î ÁÙÀ» ½±°Ô ¾µ ¼ö ÀÖµµ·Ï µÇ¾î ÀÖ´Ù.
booktabs ÆÐÅ°Áö¸¦ ¾²Áö ¾Ê¾ÒÀ» ¶§ tabular ȯ°æ¿¡¼­´Â °¡·Î ÁÙÀº º¸Åë \hline ¹Û¿¡ ¾øÁö¸¸ booktabs ÆÐÅ°Áö¿¡¼­´Â ¾Æ·¡ÀÇ ¿¹¿¡¼­ º¸µíÀÌ \toprule (default 0.08em ±½±â), \midrule (default 0.05em ±½±â), \bottomrule (default 0.08em ±½±â) µîÀ¸·Î ´Ù¸¥ ±½±â·Î µÇ¾î ÀÖÀ» »Ó¸¸ ¾Æ´Ï¶ó \midrule[0.5pt] ¿Í °°ÀÌ Á¶Á¤ÇÒ ¼ö ÀÖ´Ù. ±×¸®°í ƯÁ¤ÇÑ Çà »çÀ̸¦ Á¶±Ý ´õ ¶ç¿ì°í ½ÍÀ¸¸é \addlinespace¸¦ ³Ö¾î¸é µÈ´Ù. ¶Ç \cmidrule(lr){2-3} °ú °°ÀÌ 2¿­¿¡¼­ 3¿­±îÁö \midruleÀ» ³ÖµÇ ¿ÞÂÊ°ú ¿À¸¥ÂÊ¿¡ ¾à°£ÀÇ ¿©À¯¸¦ µÑ ¼öµµ ÀÖ´Ù. °¡·É 1¿­¿¡¼­ 4¿­±îÁö ±×Àº °¡·Î ÁÙÀÌ 2¿­°ú 3¿­ »çÀÌ¿¡ ¾à°£ ²÷¾îÁö°Ô ÇÏ·Á¸é \cmidrule(r){1-2}\cmidrule(l){3-4} ·Î ÇÏ¸é µÈ´Ù. ÀÌ°ÍÀº ±×³É tabular ȯ°æ¿¡¼­ \cline°ú ºñ½ÁÇϳª \clineÀº ¾çÂÊ ¸ðµÎ¿¡ Á¶±Ý¾¿ ¿©À¯¸¦ µÎ´Âµ¥ \cmidruleÀº ¿©À¯¸¦ µÎÁö ¾ÊÀ» µÑ ¼öµµ ÀÖ°í ÇÑ ÂÊ¿¡¸¸ µÑ ¼öµµ ÀÖ´Ù. ´Ù¸¸ ¼¼·Î ÁÙÀ» ¾²¸é ¼¼·Î ÁÙ°ú °¡·Î ÁÙÀÌ ¹Ù½Ï ºÙÁö ¾Ê°í ¾à°£ÀÇ °£°ÝÀÌ »ý°Ü ¾û¼ºÇÏ°Ô º¸ÀδÙ.

CTAN:/macros/latex/contrib/booktabs/booktabs.pdf¿¡ ¼³¸íÀÌ ÀÖ´Ù. »É(Template)ÀÌ ÇÊ¿äÇϸé Mittelbach°¡ ¾´ The LaTeX Companion, 2nd ed.ÀÇ 269--272ÂÊÀ» ÂüÁ¶ÇÏ¿© CTAN:/info/examples/tlc2/¿¡ ÀÖ´Â 5-6-7.ltx, 5-6-8.ltx µîÀ» º¹»çÇÏ¿©¼­ ¾²¸é µÈ´Ù.

\usepackage{booktabs}          %preamble
\usepackage{multirow}          %preamble    

\renewcommand{\multirowsetup}{\centering}
\begin{tabular}{cccc}
 \toprule
  Case & Box A & Box B & Remarks \\
 \midrule
  \multirow{2}{10mm}{A}
   & $+X$ & $-1.0$ & \multirow{2}{10mm}{B} \\
    \cmidrule(lr){2-3}
   & $-X$ & $-7.9$ & \\
 \bottomrule
\end{tabular}
\makeatletter
\input{booktabs.sty}%
\input{multirow.sty}%
\makeatother

\renewcommand{\multirowsetup}{\centering}
\begin{tabular}{cccc}
 \toprule
  Case & Box A & Box B & Remarks \\ 
 \midrule
  \multirow{2}{10mm}{A}
   & $+X$ & $-1.0$ & \multirow{2}{10mm}{B} \\ 
    \cmidrule(lr){2-3}
   & $-X$ & $-7.9$ & \\
 \bottomrule
\end{tabular}

^
Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2007-06-07 05:45:46
Processing time 0.0344 sec