![](/wiki/imgs/ktug-logo.gif)
KTUG FAQ
When the wind is great, bow before it; when the wind is heavy, yield to it.
FrontPage › CatCode
- Conditionals . . . . 1 match
TeXÀÇ if Á¶°Ç¹®Àº ÁÖ·Î ¹®ÀÚ¿Í ControlSequences¸¦ °Ë»çÇϱâ À§ÇÏ¿© »ç¿ëµÈ´Ù.
test ControlSequences are considered to have CategoryCode 16 (ordinarily, category codes
ÀÌ ÇϳªÀÇ ¸í·ÉÀ¸·Î TeXÀº ¼¼ °³ÀÇ ControlSequences¸¦ Á¤ÀÇÇÑ´Ù. Áï, `\footrue, \foofalse, \iffoo`¸¦ Á¤ÀÇÇÏ´Â °ÍÀÌ´Ù.
control sequences - HelpOnFormatting . . . . 1 match
/!\ In the above example, we "escaped" the markers for source code sequences by inserting spaces between the curly braces. - LaTeX¹®¹ý¿ä¼Ò . . . . 1 match
¸í·É, ¼±¾ð µî°ú °°Àº Á¦¾î¹®ÀÚ¿(ControlSequences)À» ½ÃÀÛÇÑ´Ù.
1. '''¸í·É°ú ¼±¾ð(ControlSequences)'''
\thisisanarbitrarycommand \newcontrolsequences
`myenvironment`¶ó´Â À̸§ÀÇ È¯°æÀÌ µÈ´Ù. TeX ³»ºÎÀûÀ¸·Î´Â LaTeXÀÇ È¯°æÀÌ ½ÃÀÛµÉ ¶§, `\csname <name> \endcsname`À» ºÎ¸£°í, ȯ°æÀÌ ³¡³¯ ¶§ `\csname end<name> \endcsname`À» ºÎ¸¥´Ù. ±×·¯¹Ç·Î, `\myenvironment`¶ó´Â ¸í·É°ú `\endmyenvironment`¶ó´Â µÎ °³ÀÇ TeX¸í·ÉÀÌ Á¤ÀǵǴ °ÍÀÌ´Ù. ÀÌ °¢°¢ÀÇ ¸í·ÉÀº ´Ù¸¥ ControlSequences¸¦ Æ÷ÇÔÇÏ°í ÀÖ¾î¼ ÅؽºÆ®¿¡ ÀÏÁ¤ÇÑ ÀÛ¿ëÀ» °¡Çϰųª ¸ð¾çÀ» º¯°æÇϰųª ÇÒ ¼ö ÀÖ´Ù. - LittleTree/ReadingTeXbook/2006-08 . . . . 4 matches
Anyone who has ever browsed through either the plain format or the LaTeX format will have noticed that a lot of control sequences contain an 'at' sign: @. These are control sequences that are meant to be inaccessible to the ordinary user.
occurs, making the at sign into a letter, meaning that it can be used in control sequences. Somewhere near the end of the format definition the at sign is made 'other' again:
Now why is it that users cannot call a control sequence with an at sign directly, although they can call macros that contain lots of those 'at-definitions'? The reason is that the control sequences containing an @ are internalized by TeX at definition time, after which they are a token, not a string of characters. Macro expansion then just inserts such tokens, and at that time the category codes of the constituent characters do not matter any more. - PlainTeX/diffLaTeX . . . . 1 match
1 The small caps and sans serif fonts already exist in LaTeX. The control sequences for them are \sc for Small Caps, and \sf for sans serif (our \ssf font). - StructuredText . . . . 1 match
* A paragraph that begins with a sequence of sequences, where each sequence is a sequence of digits or a sequence of letters followed by a period, is treated as an ordered list element. - µ¶ÈÄ°¨ . . . . 2 matches
''About 300 of TeX's control sequences are called primitive; these are the low-level atomic operations that are not decomposale into simpler functions. (Áß°£ »ý·«) People hardly ever use TeX's primitive control sequence in their manuscripts, because the primitives are ... well ... so primitive.''
À½.... ¿ô±ä °Ç°¡¿ä? :D ¾ÏÆ°Áö ''primitive control sequences''´Â PlainTeX, LaTeX, ConTeXt µî TeX-·ù°¡ °øÀ¯ÇÏ´Â ±âº» ¸í·ÉÀ̶ó³×¿ä. ''TeX for the Impatient''¸¦ °£°£ÀÌ º¸°í ÀÖ½À´Ï´Ù. TeXbyTopicº¸´Ù °£°áÇÏ°í ´ú ¾î·Æ°í... :) ¾Æ¹«·¡µµ impatientÇÑ µí... --[Karnes]