KTUGFaq

KTUG FAQ

(rev. 1.32)

α:
йȣ:
Domestic happiness and faithful friends.
遣&value=각주Karnes/Oblivoir/Fonts&value=PDF׸ϱDVIPDFMx&value=MiKTeXѱȯ/ObsoleteChoF&value=MacOSXġϱpLaTeX&value=DVI̹

1 ȳϼ, ݰϴ.

Computer programs are fun to write, and well-written computer programs are fun to read. One of life's greatest pleasures can be the composition of a computer programm that you know will be a pleasure for other people to read, and yourself to read.
- Donald E. Knuth, Literate Programming

[]

1

  • KTUG ٸ, TeX ϴ ſ ̴ϴ. Խǰ faq Ű ؼ ް ֽϴ. ؼ ϰ ϰ , TeX ſ ֵ ڽϴ.





[]

3 λ

ȳϼ. Ź帳ϴ. ^^ --Karnes
ȳϼ. ... Ź帳ϴ. --

۵ а ֽϴ. ãٺ CWEB å ִ. α׷ӵ ƴ ° ̷ å... ;) TeX ̴ Ǹ ȯּż մϴ. --Progress

մϴ. Խǿ CWEB Ұ ÷, ۷ ɰ (?) ־ֽ մϴ. :) Progress å̾߱(Progress/å̾߱) ؼ ϰ ִ ֽϴ. ̿ α׷ θ TeX ٶ󺸴 ð ּ̽ϴ.

TeX å ô Ϳ Ƽ Ѱ Ұ帳ϴ. Knuth å ߿ The Stanford GraphBase (http://www-cs-faculty.stanford.edu/~knuth/sgb.html) ſ ִ å ֽϴ. α׷ֿ õ å̶ 뿡 ū ð, å CWEB CWEB̳ WEB α׷ mini-index ִ CTWILL ̶ α׷鸸 åԴϴ. , TeX ⺻Դϴ. :) --

ȳϼ. LiterateProgramming о߸ ּż մϴ. C α׷ ַ ϴµ ñ ־. ÷ - ϵ غ :D - ƴ ξ Ǵ α׷ ۼҶ CWEB ̿ϸ ҽ - module̶ ϴ- make . 丮 (*.c. *.h), Makefile ϳ tex.webϷ Ѱ. ô غ ͱ. Ѵٴ ϴ. -hermian

ȳϼ. ݰϴ. cweb α׷ֿ Ͻ մϴ. ϳ .w Ͽ .c .h ְ, .c .h Ͽ شϴ .w ֽϴ. foo.w "ctangle foo" ϸ foo.c foo.h bar.c, bar.h ֽϴ. ϳ foo.w Ͽ . ׷ ϳ .w 幰, 밳 foo.w foo.c foo.h ֵ α׷ մϴ. Ƶ 쿡 makefile ؼ ѹ濡 . ü cweb ҽ(cweb.tar.gz) 캸ðų(cweb ý ü cweb α׷ Ǿֽϴ.) õ 帮 ִ å, The Stanford GraphBase(sgb.tar.gz) ٿ ż ġ ø ɴϴ. űϸ鼭 ŷ Ҷ C ʿ䰡 ٴ Դϴ. (gdb) ش ҽ .w ֱ Դϴ.  cweb α׷ . Դϴٸ ٸ ϴ  cweb α׷ ϴ ϴ. 赵Բ cweb ѱȭ ū ɸ ذ ּ̽ϴ.  𸣰ڽϴ. --


亯 帳ϴ. ٸ 帱 ־. ڵ ȯ - 𸨴ϴ.- Ȥ ϴٸ ̸ ˷ ֽø ȵɱ. ʸ鿡 ʹ Ƿʴ ƴ... Ͻôٸ ̸Ϸ ֽø ϰڽϴ. hermian Դϴ. --hermian
[]

4 The TeXbook б

[]

4.1 2006-03-04

  • 9~11: plain TeX 900 control sequence(cs) ִٰ մϴ. 300 primitivḛ, 600 macro մϴ. primitive ̻ ּ cs̰, macro primitive Ȥ ٸ ũ cs׿. ׷ٸ, ־ cs primitive macro  ? Knuth ΰ Ͷݴϴ. ù° å ε cs '*' cs ִµ, ٷ װ͵ primitive ϳ׿.(̰͵ ̳! |-I ) ι° ׷ѵ, \show primitive Ǻϴ Դϴ. TeX Ű \show\thinspace Էϸ \thinspace macro ǥÿ װ ǰ ַ ɴϴ. (ֽϴ.)

  • 207: 20(Definitions) ϴٰ cs ϳ ߽߰ϴ. \futurelet. ü ̰ ؾ ߴٰ ҹ 𸣰ڽϴ. "̷\let"(?) ü ̷ primitive ? 207 ߰ cs ִµ, "dangerous bend" ȣ پֽϴ. \font\manual=manfnt
\manual\char127\manual\char127
. "\futurelet\cs<token1><token2>" "\let\cs=<token2><token1>"̶ ٰ ϴµ, ׷ٸ ذ µ, ǹ̰ ʹ ʳ׿.
[]

4.2 2006-03-05

  • 208: "For best result, always put a blank space after numeric constant;"

    \count Ϳ ڿ ݵ ϳ ζ ε,
    \def\statement{\ifnum\balance=0 \fullypaid
      \else\ifnum\balance>0 \overpaid
              \else\underpaid
              \fi
      \fi}
    
    ù° 0 \fullypaid ſ ߿ϴٰ մϴ.
    ...=0\fullypaid...
    
    ó Ѵٸ ʾƵ \fullypaid DZ ̶׿. ū ġ , ϹǷ ð ȿ̶ մϴ. (Ȥ, ߻ϱ⵵ մϴ.) ڿ TeX Ͽ Ȯ ھƵ ֽϴ.

    Knuth ֽϴ. ڽ ڿ ݵ ڿ ϸ鼭, ʴ´ϴ.

    "because extra spaces do look funny in the file; aesthetics are more important than efficiency"


    Knuth, Ҿƹ ִ ӿ Ʋϴ. :))
[]

4.3 2006-03-10

  • 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}}
    
[]

4.4 2006-03-11

  • 225: TeX ΰ 踦 ִ ؽ(TeXture) ֽϴ.

    $$\hbox to 4.5in{\cleaders \vbox to .5in{\cleaders\hbox{\TeX}\vfil}\hfil}$$

    ϴ Ʒ ϴ.
     $$\hbox to 4.5in{\cleaders \vbox to .5in{\cleaders\hbox{\TeX}\vfil}\hfil}$$
    
    մϴ! 踦 ֽϴ. ̰ TeX ̰, 츮 TeX ϴ ƴѰ մϴ.



^
Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2010-04-21 15:17:10
Processing time 0.1785 sec