KTUGFaq

KTUG FAQ

PlainTeX/diffLaTeX (rev. 1.2)

·Î±×ÀÎ:
ºñ¹Ð¹øÈ£:
°¡ÀÔ
Nobody expects the Spanish Inquisition!
FrontPage › PlainTeX/diffLaTeX
Wynter Snow, \emph{TeX for the Beginner}¿¡ ¼Ò°³µÇ¾î ÀÖ´Â PlainTeX °ú LaTeXÀÇ Â÷ÀÌ¿¡ ´ëÇÑ ÄÚ¸àÆ®µéÀ» ¿ì¼± ¸ð¾Ò½À´Ï´Ù.

  1. \bye does not exist in LaTeX. Instead, use \end{document}.

  2. In LaTeX, both \{ and \} can be used directly in text and do not have to be in math mode. LaTeX does the right thing if you do put them in math mode --- so if you plan to use both TeX and LaTeX, it helps to do things the same way in both systems.

  3. For LaTeX, type latex daisies instead of tex daisies.

  4. In LaTeX, the Waiting Patiently Bug appears when you forget to say \end{document} at the end of you text file. This bug can also appear if you forgot to close some earlier environment --- so that LaTeX uses \end{document} instead of \end{environment}. To fix this bug, type \end{document} instead of \bye when you see the single-asterisk prompt.

  5. LaTeX has an additional set of error messages for LaTeX-specific glitches, and their appearance is slightly different from TeX¡®s error messages. However, LaTeX also uses TeX¡¯s question mark prompt (?) and single-asterisk prompt (*), so the responses you make are the same in LaTeX and in TeX.

  6. LaTeX¡®s \overfullrule is 0in. The \hfuzz is still a small dimension, but the black overfull boxes are invisible. If you want to see the overfull box, you can use the draft option in the \documentclass or change the \overfullrule.

  7. LaTeX uses \\ as a line-breaking macro. Therefore, if you want to make an abbreviation for \backslash, use something like \bfsl instead of \\.

  8. LaTeX solved this problem with a macro called \newcommand. \newcommand also makes a newcontrol sequence, but first it checks to see if a control sequence already exists with the name you want to use.

  9. If you need to change the definition of an existing macro in LaTeX, use LaTeX¡®s \renewcommand.

  10. Lamport changed \input so that you can put braces around its input. This makes \input consistent with other LaTeX commands.

  11. You can use LaTeX¡®s \include macro instead of \input. If the existension is not .tex, specify that as well.

    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).

  12. LateX has two methods of getting larger or smaller fonts. If you want text fonts of a different size, give \documentclass an option. To change to a larger or smaller font within your document, use the size-changing macros.

  13. LaTeX does not have \magnification.

  14. Use \setlength, LaTeX¡®s dimension-changing macro, to change the \parindent. Type \setlength{\parindent}{2em}. You can change \parindent anywhere in your document.

  15. To change the width of the text in LaTeX (the \hsize of your paragraphs), use \setlength to change the \textwidth.

  16. To change the \hoffset in LaTeX, use \setlength to change \oddsidemargin and \evensidemargin. The \textwidth, \oddsidemargin, \evensidemargin should be changed only in preamble.

  17. Use LaTeX¡®s \addtolength macro to add something to a dimension reporter.

  18. You can use LaTeX¡¯s sloppy environment for one or more paragraphs instead of changing TeX¡®s \tolerance.

  19. To change the height of the text in LaTeX, use \setlength to change LaTeX¡®s \textheight.

  20. Use \setlength to change the \parskip.

  21. You can use \setlength to change the \baselineskip, and you can do this anywhere in your document. However, the best way of changing the baselines in LaTeX is to redefine \baselinestretch with \renewcommand.

  22. LaTeX has two macros for putting white space on the page: \hspace and \vspace.

  23. LaTeX already has a \newpage macro.

  24. Instead of \eol, use LaTeX¡®s \newline, \\, or \linebreak macros. \newline behaves exactly like \eol. LaTeX defines \\ differently among the various environments, so that it performs the correct actions for breaking the line at that point.

  25. LaTeX¡®s \linebreak macro behaves like TeX¡¯s \break, except that \linebreak can take an optional argument. \linebreak[0] to \linebreak[4].

  26. LaTeX uses a system of environments to make special paragraph shapes. Thus, for quotations, use a quote or quotation environment. To make a new environment, use LaTeX¡®s \newenvironment macro.

  27. \long is built into LaTeX¡®s \newcommand, so inputs to your new macros can have more than one paragraph.

  28. \item is completely different in LaTeX. Lamport redefined \item so that it is available only in the itemize, enumerate, description, list and trivlist environments. Outside those, \item does not exist.

  29. \headline, \footline and \folio do not exist in LateX. To change the header or footer in a document, use the \pagestyle declarations.

  30. The minus \pageno technique does not exist in LaTeX. For roman-numeral page numbers in LaTeX, type \pagenumbering{roman}.

  31. LaTeX¡®s \footnote macros is different from TeX¡¯s \footnote macro.

  32. \vfootnote does not exist in LaTeX. However, LaTeX uses \footnotemark and \footnotetext to accomplish the same purpose.

--- DeleteMe. Æ´³ª´Â ´ë·Î °è¼ÓÇÏ°Ú½À´Ï´Ù. °ü½ÉÀÖÀ¸½Å ºÐÀÌ ÁÖ¼®À» ºÙÀÌ°í À¯Çüº°·Î ¸ð¾ÆÁÖ½Ã¸é °¨»çÇÏ°Ú½À´Ï´Ù.
ÁÁÀº Á¤º¸ °¨»çÇÕ´Ï´Ù. --ÀÛÀº³ª¹«

^
Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2006-05-24 15:40:47
Processing time 0.0535 sec