KTUGFaq

KTUG FAQ

ÀÛÀº³ª¹«/2008-03 (rev. 1.15)

·Î±×ÀÎ:
ºñ¹Ð¹øÈ£:
°¡ÀÔ
A well-known friend is a treasure.
HLaTeX2DHUcs&value=TeXÀǸŷÂNFSS¿¾ÇѱÛÀÔ·ÂPassiveTeX&value=DVIµå¶óÀ̹öHangul-ucs&value=EqMagic › ÀÛÀº³ª¹«/2008-03
Mar 30, 2008
Love at First Byte
Submitted by ÀÛÀº³ª¹« @ 03-30 [10:01 pm]
http://www.stanfordalumni.org/news/magazine/2006/mayjun/features/knuth.html ¸¦ Ç÷¹ÀÎÅØÀ¸·Î ¿Å°Üº¸¾Ò½À´Ï´Ù.

pdf: @LoveAtFirstByte.pdf (690.17 KB) src: @LoveAtFirstByte.tar.gz (227.17 KB)

Mar 27, 2008
µÎ °³ÀÇ ¸·´ë±â
Submitted by ÀÛÀº³ª¹« @ 03-27 [09:47 pm]
ȸ»ç µ¿·á°¡ ³½ ¼ö¼ö²²³¢.
µÎ °³ÀÇ ¸·´ë±â°¡ ÀÖ´Ù. °¢ ¸·´ë±âÀÇ ÇÑÂÊ ³¡¿¡ ºÒÀ» ºÙ¿©¼­
¸·´ë±â°¡ ¸ðµÎ ºÒ¿¡ Ÿ´Âµ¥ °É¸®´Â ½Ã°£Àº °¢°¢ 1½Ã°£À¸·Î °°´Ù.

±×·±µ¥ °¢°¢ÀÇ ¸·´ë±â´Â ÀçÁúÀÌ ±ÕÀÏÇÏÁö ¾Ê¾Æ¼­ Ÿµé¾î°¡´Â ¼Óµµ°¡
´Ã °°Áö ¾Ê´Ù. ¾î¶² ºÎºÐÀº »¡¸® Ÿµé¾î°¡°í ¾î¶² ºÎºÐÀº ¾ÆÁÖ ´À¸®°Ô Ÿ°í,
¾î·µç Çϳª°¡ ¿ÏÀüÈ÷ Ÿ´Âµ¥´Â 1½Ã°£ÀÌ °É¸°´Ù.

ÀÌ·¯ÇÑ ¼ºÁúÀ» °¡Áø µÎ °³ÀÇ ¸·´ë±â·Î 45ºÐÀ» Àê ¼ö ÀÖÀ»±î?

¸¸»ç°¡ ±×·¸Áö¸¸, ¾Ë°í º¸¸é ¸Å¿ì ½±´Ù. ±×·±µ¥ À̳빫 TeXÀº ºÁµµ ºÁµµ ¸ð¸£°ÚÀ¸´Ï...

´ëÃæ Á¤´äÀ» ÁüÀÛÇØ º¸¸é¡¦

ÇÑ ¸·´ë±â¿¡´Â ÇÑÂÊ ³¡¿¡¸¸ ºÒÀ» ºÙÀÌ°í, ´Ù¸¥ ¸·´ë±â¿¡´Â ¾çÂÊ ³¡¿¡ ºÒÀ» ºÙÀδÙ.
¾çÂÊ¿¡ ºÒºÙÀÎ ¸·´ë±â°¡ ´Ù Ÿ¸é ÇÑÂÊ ¸·´ë±âÀÇ ³ª¸ÓÁö ³¡¿¡µµ ºÒÀ» ºÙÀδÙ.
µÎ ¸·´ë±â°¡ ´Ù Ÿ¸é 45ºÐ °æ°ú.
ÀÌ°Ô Á¤´ä ¸Â³ª¿ä? -- Kunggom 2008-03-30 16:29:35

¸Â´Â°Å °°³×¿ä. -- ÀÛÀº³ª¹« 2008-03-30 22:24:46

ÀÀ¿ë¹®Á¦:

\isqrt
Submitted by ÀÛÀº³ª¹« @ 03-27 [09:40 pm]
\newcount\x \newcount\nx \def\mysqrt#1{\x=#1 \nx=\x \isqrt{#1} \big\lfloor\sqrt{#1}\big\rfloor=\number\x} \def\isqrt#1{\nx=#1 \divide\nx by\x \advance\nx by\x \divide\nx by2 \ifnum\x=\nx \else\x=\nx \isqrt{#1}\fi} $\mysqrt{361}$

Mar 26, 2008
\llap, \hfil, \hfilneg
Submitted by ÀÛÀº³ª¹« @ 03-26 [10:57 pm]
$$\displaylines{x\equiv x;\hfil\llap{(1)}\hfilneg\cr \hbox{if}\quad x\equiv y\quad\hbox{then}\quad y\equiv x;\hfil\llap{(2)}\hfilneg\cr \hbox{if}\quad x\equiv y\quad\hbox{and}\quad y\equiv z\quad\hbox{then}\quad x\equiv z.\hfil\llap{(3)}\hfilneg\cr}$$

Mar 23, 2008
Character constants
Submitted by ÀÛÀº³ª¹« @ 03-23 [11:56 pm]
¸ÅÅ©·Î¸¦ ÀÛ¼ºÇÏ´Ùº¸¸é, ¼ýÀÚ »ó¼ö(numeric constant)°¡ ÇÊ¿äÇÒ °æ¿ì°¡ Á¾Á¾ ÀÖ´Ù.

65¸¦ °ªÀ¸·Î °®´Â \const¶ó´Â À̸§ÀÇ ¼ýÀÚ »ó¼ö¸¦ ¸¸µé°íÀÚ ÇÑ´Ù. ¾î¶»°Ô ÇÏ¸é µÉ±î?

¸ÕÀú ¶°¿À¸£´Â ¹æ¹ýÀº,
\newcount\const \const=65
°¡Àå ¹«³­ÇÏÁö¸¸, Ä«¿îÆ® ·¹Áö½ºÅ͸¦ ÀÌ¿ëÇϹǷΠ¸Þ¸ð¸® »ç¿ë¿¡ ³¶ºñ¸¦ ÃÊ·¡ÇÏ´Â ´ÜÁ¡ÀÌ ÀÖ´Ù.

Ä«¿îÆ® ·¹Áö½ºÅ͸¦ »ç¿ëÇÏÁö ¾Ê´Â ¹æ¹ýÀ¸·Î ´ÙÀ½À» »ý°¢ÇÒ ¼ö ÀÖ´Ù.
\def\const{65}
ù¹ø° ¹æ¹ýº¸´Ù´Â ³´Áö¸¸, \const´Â ¸ÅÅ©·ÎÀ̹ǷΠ±× °ªÀ» ¾ò±â À§Çؼ­´Â Àü°³(expand) ÇØ¾ß ÇÏ°í, ÅØÀº ±× Ư¼º»ó ¼ýÀÚ°¡ ¾Æ´Ñ ÅäÅ«ÀÌ ³ª¿Ã ¶§±îÁö ÅäÅ«À» °è¼Ó Àü°³ÇϹǷÎ, \const ¹Ù·Î µÚ¿¡ ¸ÅÅ©·Î°¡ ³ª¿Â´Ù¸é, ±× ¸ÅÅ©·Îµµ Àü°³µÈ´Ù.

¸¶Áö¸· ¹æ¹ýÀº,
\chardef\const=65
ÀÌ ¹æ¹ýÀÌ ÇØ´äÀ̶ó°í ÇÒ ¼ö ÀÖ´Ù. À§¿Í °°ÀÌ Á¤ÀÇµÈ \const´Â ±×°¡ óÇÑ »óȲ¿¡ µû¶ó¼­ ¹®ÀÚ ¶Ç´Â ¼ýÀÚ·Î »ç¿ëµÉ ¼ö ÀÖ´Ù.
\const BCD
¿Í °°Àº »óȲ¿¡¼­ \const´Â \char65ÀÎ 'A'·Î »ç¿ëµÇ¾î ABCD°¡ µÈ´Ù. ÇÏÁö¸¸,
\advance\total by\const 
¶ó°í Çϸé, ¹®ÀÚ 'A'°¡ ¾Æ´Ñ ¼ýÀÚ 65·Î »ç¿ëµÇ¾î, \totalÀ̶ó´Â Ä«¿îÆ® ·¹Áö½ºÅÍ °ª¿¡ 65¸¦ ´õÇÏ°Ô µÈ´Ù.

ÀÌó·³ chardef·Î »ó¼ö¸¦ Á¤ÇÏ´Â ¹æ¹ýÀº ù ¹ø° °æ¿ìó·³ Ä«¿ìÆ® ·¹Áö½ºÅ͸¦ »ç¿ëÇÑ´Ù´Â ´ÜÁ¡µµ ¾ø°í, µÎ¹ø° ¹æ¹ýó·³ ¸ÅÅ©·Î¸¦ Àü°³ÇÒ ÇÊ¿äµµ ¾ø´Ù.

ÇÏÁö¸¸ chardef·Î´Â 0ºÎÅÍ 255±îÁöÀÇ ¼ýÀÚ ¹Û¿¡ »ç¿ëÇÒ ¼ö ¾ø´Ù.

255º¸´Ù Å« ¼ýÀÚ »ó¼ö´Â \mathchardef¸¦ »ç¿ëÇÏ¸é µÈ´Ù. ÀÌ´Â 32767("7FFF) ±îÁö °¡´ÉÇÏ´Ù

\everypar
Submitted by ÀÛÀº³ª¹« @ 03-23 [10:39 pm]
\font\init=cmbx10 scaled 2488 \def\Hang#1{\leavevmode \hbox to 0pt {\hss \raise 1.4ex \vbox to 0pt{\hbox to 1cm{\init #1\hss}\vss}}% } \hsize=8.5cm \parskip=10pt \parindent=0pt \everypar={\hangindent=1cm \hangafter=-2 \Hang} This is an old-fashioned mediaeval paragraph that has lots of text and a very long first sentence. The second sentence is also long, and only serves the purpose to make this more than 2 or so lines long. For good measure we throw in a third line which should make this four lines long, if not five with a little luck. Also, the second paragraph is an old-fashioned mediaeval paragraph that has lots of text and a very long first sentence. The second sentence is also long, and only serves the purpose to make this more than 2 or so lines long. For good measure we throw in a third line which should make this four lines long, if not five with a little luck. \bye

Mar 22, 2008
ÄĹé
Submitted by ÀÛÀº³ª¹« @ 03-22 [08:39 pm]
¾Æ¸£ÇîƼ³ª ¶¥¿¡ ¹ßÀ» µðµ±´ø ±× ¼ø°£

ÀÌ ±ÛÀ» ¾´ »ç¶÷Àº »ç¶óÁö°í ¾ø´Â ¼ÀÀÌ´Ù.

ÀÌ ±ÛÀ» ´Ù½Ã ±¸¼ºÇÏ¸ç ´Ùµë´Â ³ª´Â ´õ ÀÌ»ó ¿¹ÀüÀÇ ³»°¡ ¾Æ´Ï´Ù.

"¿ì¸®ÀÇ À§´ëÇÑ ¾Æ¸Þ¸®Ä« ´ë·ú"À» ¹æ¶ûÇÏ´Â µ¿¾È

³ª´Â »ý°¢º¸´Ù ´õ ¸¹ÀÌ º¯Çß´Ù. -- Che Guevara