KTUGFaq

KTUG FAQ

"ÁÖÀÇ È¯±â"¿¡ ´ñ±Û ´õÇϱâ

·Î±×ÀÎ:
ºñ¹Ð¹øÈ£:
°¡ÀÔ
You are dishonest, but never to the point of hurting a friend.
FrontPage › LittleTree/ReadingTeXbook/2006-03
Mar 26, 2006
ÁÖÀÇ È¯±â
Submitted by ÀÛÀº³ª¹« @ 03-26 [03:29 pm]
201ÂÊ: ¸ÅÅ©·Î ÀÛ¼º½Ã °¡²û ½Ç¼öÇϴµ¥, ´Ù½Ã´Â ±×·± ÀÏ ¾ø±â¸¦ ¹Ù¶ó¸ç Àû¾îº¾´Ï´Ù. :)

When you define a macro with simple parameters, as in these examples, you must be careful not to put blank spaces before the '{' that begins the replacement text. For example, \def\row #1 #2 {...} will not give the same result as \def\row#1#2{...}, because the spaces after #1 and #2 tell TeX to look for arguments that are followed by spaces. (Arguments can be "delimited" in a fairly general way, as explained below.) But the space after \row is optional, as usual, because TeX always disregards spaces after control words. After you have said \def\row#1#2{...}, you are allowed to put spaces between the arguments (e.g., \row x n), because TeX doesn't use single spaces as undelimited arguments.
À̸§:

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