KTUGFaq
KTUG FAQ
Standing on head makes smile of frown, but rest of face also upside down.
FrontPage › FileContentsEnv
filecontents ȯ°æÀº ÁÖ¾îÁø ÅؽºÆ®¸¦ ÆÄÀÏ·Î ¾²µµ·Ï ÇÑ´Ù. ÀÌ È¯°æÀº \documentclass ¸í·É ÀÌÀü¿¡ ¾´´Ù.
[ÆíÁý]
example 1 ¶
(°í±âÇü, Çѱ۰ú TeX, pp.64ff.)
Ãʱ⠸í·É¾î´Â \documentclass°¡ ¾²¿©Áö±â Àü¿¡ »ç¿ëÇÏ´Â ¸í·É¾îÀÌ´Ù. »ç½ÇÀº º°·Î »ç¿ëÇÏÁö ¾ÊÁö¸¸ ±× ºÎºÐ¿¡ ¾µ ¼ö ÀÖ´Â ¸í·ÉÀÎ filecontents ȯ°æÀ» º¸±â·Î ÇÏÀÚ. ÀÌ È¯°æÀº LaTeX 2.09¿¡´Â ¾ø´Â ¸í·ÉÀÌ´Ù.
\begin{filecontents}{ÆÄÀϸí} ...ÆÄÀϳ»¿ë... \end{filecontents}ÀÌ È¯°æÀº ÆÄÀϳ»¿ëÀ» °¡Áö´Â ÆÄÀϸíÀ¸·Î µÈ ÆÄÀÏÀ» ¸¸µé¾îÁÖ´Â ¸í·ÉÀÌ´Ù. ÆÄÀϳ»¿ë¿¡ µé¾î°¥ ¼ö ÀÖ´Â ±ÛÀÚ´Â 7ºñÆ® ¾Æ½ºÅ° ¹®ÀÚÀÌ¸é ¾î¶² °ÍÀÌµç °¡´ÉÇÏ´Ù. filecontents*¿Í °°ÀÌ *¸¦ ºÙ¿©¼ »ç¿ëÇÏ¸é »õ·Î »ý±ä ÆÄÀÏ¿¡ %·Î ½ÃÀÛÇÏ´Â ÁÖ¼®ÀÌ ºÙÁö ¾Ê°í, ±×·¸Áö ¾ÊÀ¸¸é ÁÖ¼®ÀÌ ºÙ°Ô µÈ´Ù. |
eps ÆÄÀÏ µîÀ» ÷ºÎÇÏ·Á¸é filecontents* ȯ°æÀ» »ç¿ëÇÑ´Ù. ¿ÀÁ÷ ´Ü Çϳª¸¸ÀÇ ÆÄÀÏÀ» ÀÛ¼ºÇؾ߸¸ ÇÏ´Â ºÎµæÀÌÇÑ »óȲ¿¡¼ °¡²û ¾µ ¼ö ÀÖÀ»´ÂÁö ¾Ë ¼ö ¾ø´Â, »ç½Ç»ó °ÅÀÇ ¹«ÀǹÌÇÑ È¯°æÀÌ´Ù.
[ÆíÁý]
example 2 (by Yhchoe) ¶
http://ftp.ktug.or.kr/mirrors/CTAN/macros/latex/contrib/harvard/ ¿¡¼ harvard.tex°ú harvard.bibÀ» ´Ù¿î·ÎµåÇÏ¿© harvard.texÀ» ÄÄÆÄÀÏÇÏ¿´´Âµ¥ Æú´õ¿¡ ¿ø·¡ ¾ø´ø bibtexlogo.sty°¡ »ý°å½À´Ï´Ù. ÀǾÆÇؼ harvard.texÀÇ ÇÁ¸®¾ÚºíÀ» µé¿©´Ù º¸¾Ò´õ´Ï
\begin{filecontents}{bibtexlogo.sty} \def\lowBibTeX{{\reset@font\rmfamily B\kern-.05em% \raise.0ex\hbox{\scshape i\kern-.025em b}\kern-.08em% T\kern-.1667em\lower.7ex\hbox{E}\kern-.125emX}} \def\BibTeX{\protect\lowBibTeX} \end{filecontents} \documentclass[a4paper]{article} \usepackage{harvard} \usepackage{bibtexlogo}¿Í °°ÀÌ µÇ¾î ÀÖ¾ú½À´Ï´Ù. ±×·¡¼ makelogo.texÀ»
\begin{filecontents}{amslogo.sty} \def\AmS{{\protect\usefont{OMS}{cmsy}{m}{n}% A\kern-.1667em\lower.5ex\hbox{M}\kern-.125emS}} \end{filecontents} \documentclass{article}% \usepackage{amslogo} \begin{document} \AmS \end{document}¿Í °°ÀÌ ¸¸µé°í ÄÄÆÄÀÏÇÏ¿´´õ´Ï amslogo.styÀÌ ¸¸µé¾îÁ³½À´Ï´Ù.