KTUGFaq

KTUG FAQ

"\rlap, \llap"¿¡ ´ñ±Û ´õÇϱâ

·Î±×ÀÎ:
ºñ¹Ð¹øÈ£:
°¡ÀÔ
Your mode of life will be changed for the better because of new developments.
FrontPage › LittleTree/ReadingTeXbook/2006-03
Mar 10, 2006
\rlap, \llap
Submitted by ÀÛÀº³ª¹« @ 03-10 [12:07 am]
82ÂÊ: If you understand boxes and glues, you're ready to learn the \rlap and \llap macros of plain TeX; these names are abbreviations for "right overlap" and "left overlap"

Æò¼Ò¿¡ \rlap°ú \llap ¸ÅÅ©·Î¸¦ »ç¿ëÇϸ鼭 Âü Àç¹ÌÀÖ´Â ¸ÅÅ©·Î±¸³ª ÇÏ°í »ý°¢Çߴµ¥, ¸¶Ä§ ±×°Íµé¿¡ ´ëÇÑ ³»¿ëÀÌ Àֳ׿ä.

\rlapÀ» ±¸ÇöÇϱâ À§Çؼ­ À§¿¡ ¼³¸íÇÑ Àǹ̿¡ Ãæ½ÇÈ÷ ÇÏ¿© Á¶±Ý¸¸ »ý°¢Çϸé,
\def\rlap#1{{\setbox0=\hbox{#1}\copy0\kern-\wd0}}
À§¿Í °°Àº Á¤ÀǸ¦ ¾òÀ» ¼ö Àִµ¥, »ç½ÇÀº ÀÌ·± º¹ÀâÇÑ °è»êÀº ÇÊ¿ä ¾ø´Ù°í ÇÕ´Ï´Ù.
\def\rlap#1{\hbox to 0pt{#1\hss}}
¾Æ¸§´äÁö ¾Ê½À´Ï±î? À§ Á¤ÀǸ¦ º¸°í, Àá½Ã À½¹ÌÇÒ ½Ã°£À» °®´Â °Íµµ ±¦ÂúÀ» µí ÇÕ´Ï´Ù.

±×·¸´Ù¸é, \llapÀº ¾î¶»°Ô Á¤ÀÇ ÇÏ¸é µÉ±î¿ä?
\def\llap#1{\hbox to 0pt{\hss#1}}
À̸§:

¼­¸íÇÏÁö ¾Ê±â