KTUGFaq
KTUG FAQ
Mind your own business, Spock. I'm sick of your halfbreed interference.
'slashbox ÆÐÅ°Áö´Â TeXLive¿¡¼ Á¦¿ÜµÇ¾î ÀÖÀ¸¹Ç·Î ¼³Ä¡µÇÁö ¾Ê½À´Ï´Ù. DiagBoxPackage¸¦ Âü°íÇϽñ⠹ٶø´Ï´Ù.
\usepackage{slashbox} % preamble \begin{tabular}{c|c|c|c|c||c} \hline \backslashbox{$i$}{$j$} & 4 & 5 & 6 & 7 & \makebox[3em]{$v_i$} \\ \hline 1 & \slashbox{$*$}{6} & \slashbox{7}{7} & \slashbox{$*$}{3} & \slashbox{5}{7} & 0 \\ \hline 2 & \slashbox{$-1$}{8} & \slashbox{$*$}{3} & \slashbox{$*$}{6} & \slashbox{$*$}{5} & $-3$ \\ \hline 3 & \slashbox{$-5$}{5} & \slashbox{0}{4} & \slashbox{$-2$}{5} & \slashbox{$*$}{6} & $-4$ \\ \hline \hline &&&&& \\[-1ex] $v_j$ & 6 & 0 & 3 & 2 & \\[-1ex] &&&&& \\ \hline \end{tabular}
¶Ç multirow ÆÐÅ°Áö¿Í ÇÔ²² ¾²¸é ¿©·¯ Çà¿¡ °ÉÄ£ ¼¿¿¡µµ ¾Æ·¡¿Í °°ÀÌ ´ë°¢¼±À» ³ÖÀ» ¼ö ÀÖ´Ù. ->see 5740
\usepackage{multirow} % preamble \usepackage{slashbox} % preamble \begin{tabular}{|l|l|l|l|}\hline \multirow{2}{1.3cm}{\backslashbox{a}{a}} & b & c & d\\\cline{2-4} & e & f & g \\\hline h & i & j & k\\\hline l & m & n & o\\\hline \end{tabular}
slashbox¸¦ ¾²´Â °æ¿ìÀÇ ÆÁ.
- tabcolsepÀº ¾ø¾Ö´Â °ÍÀÌ Ä®·³ÀÇ Å©±â¸¦ Á¤Çϱ⿡ ÁÁ´Ù.
\renewcommand\tabcolsep{0pt}
- \backslashbox µîÀÇ ¸í·É¿¡ ¿É¼Ç ÀÎÀÚ·Î ±æÀ̸¦ ÁöÁ¤ÇÑ´Ù. ¾ÈŸ±õ°Ôµµ ÀÌ ¼³Á¤ÀÌ ¾ÆÁÖ È¿°úÀûÀ¸·Î ÀÛµ¿ÇÏ´Â °ÍÀº ¾Æ´ÏÁö¸¸,[1] ±âº» ¼³Á¤À¸·Î ¸¸µé¾îÁö´Â Ä®·³ÀÇ ÆøÀÌ ³Ê¹« ³Ð°Å³ª Á¼¾Æ¼ ºÒ¸¸ÀÎ °æ¿ì (½ÃÇàÂø¿À¸¦ °ÅÃļ¶óµµ) ¸ð¾çÀ» Á¶ÀýÇغ¼ ¼ö ÀÖ´Ù.
´ÙÀ½ ¼¼ °¡Áö ¿¹¸¦ ºñ±³Çغ¼ °Í.
\setlength{\fboxsep}{0pt}\setlength{\tabcolsep}{0pt}\fbox{\slashbox{a}{b}} \setlength\fboxsep{0pt}\setlength\tabcolsep{0pt}\fbox{\backslashbox[4em]{½ÇÁ¦}{¿¹Ãø}} \setlength\fboxsep{0pt}\setlength\tabcolsep{0pt}\fbox{\backslashbox[6em]{½ÇÁ¦}{¿¹Ãø}}
----
- [1] ±× ÀÌÀ¯´Â LaTeX¿¡¼ ±×¸± ¼ö ÀÖ´Â »ç¼±ÀÇ °¢µµ°¡ Á¤ÇØÁ® Àֱ⠶§¹®ÀÌ´Ù. ÀÌ¿¡ ´ëÇؼ´Â Pictureȯ°æ ÆäÀÌÁö¸¦ Âü°íÇÒ °Í.