KTUGFaq
KTUG FAQ
You are farsighted, a good planner, an ardent lover, and a faithful friend.
FrontPage › PDFTricks
±âº»ÀûÀÎ ¾ÆÀ̵ð¾î´Â PSTricks Äڵ忡 ÇØ´çÇÏ´Â ºÎºÐÀ» µ¶¸³ÀûÀÎ TeX ÆÄÀÏ·Î ¾²°í, ÀÌ°ÍÀ» pst2pdf ½ºÅ©¸³Æ®¸¦ ÀÌ¿ëÇÏ¿© EPS·Î º¯È¯½ÃŲ ´ÙÀ½ ±×°ÍÀ» PDF·Î ¹Ù²Ù¾î¼ ºÒ·¯¿À´Â ¹æ½ÄÀε¥, ÀÌ ¹ø°Å·Î¿î °úÁ¤À» Á»´õ °£´ÜÇÏ°Ô ÇØÁÖ´Â ÀåÁ¡ÀÌ ÀÖ´Ù.
[ÆíÁý]
1 »ç¿ë¹æ¹ý ¶
0. ¿ä±¸»çÇ×. PDFTricks¸¦ »ç¿ëÇÏ·Á¸é ´ÙÀ½°ú °°Àº Á¶°ÇÀÌ °®Ãß¾îÁ®¾ß ÇÑ´Ù.
- Unix Shell Script¸¦ ½ÇÇàÇÒ ¼ö ÀÖÀ» °Í.
- epstopdf¸¦ ½ÇÇàÇÒ ¼ö ÀÖÀ» °Í.
- graphicx¿Í keyval ÆÐÅ°Áö¸¦ ·ÎµåÇÒ ¼ö ÀÖÀ» °Í.
- Web2C TeXImplementationÀÏ °Í.
\usepackage{pdftricks} \begin{psinputs} \usepackage{txfonts} \usepackage{pstricks} \usepackage{color} \usepackage{pstcol} \usepackage{pst-plot} \usepackage{pst-tree} \usepackage{pst-eps} \usepackage{multido} \usepackage{pst-node} \usepackage{pst-eps} \end{psinputs}
2. PSTricks ºÎºÐÀ» ÀûÀýÇÑ È¯°æÀ¸·Î °¨½Ñ´Ù.
PDFTricks°¡ Á¦°øÇϴ ȯ°æÀº pdfpic°¡ ÀÖ´Ù. ȯ°æÀ» ½ÃÀÛÇϱâ Àü¿¡ \configure ¸í·ÉÀ¸·Î Æ÷Ç﵃ ±×¸²¿¡ ¸î °¡Áö ¿É¼ÇÀ» ÁÙ ¼ö ÀÖ´Ù.
\configure[pdfgraphic][color=red,rulesep=12pt, linecolor=gray30, linewidth=2pt] \begin{pdfpic} \definecolor{lightblue}{rgb}{0,0,.5} \definecolor{Navy}{rgb}{0,0,0.5} \definecolor{LemonChiffon}{rgb}{1,0.98,0.8} \definecolor{ForestGreen}{rgb}{0.13,0.55,0.13} \def\transl#1#2{#1\space 72 2.54 div mul #2\space 72 2.54 div mul translate 0 0 moveto } \newif\ifnotbothz \pspicture(-6,-6)(6,6) \psaxes{<->}(0,0)(-6,-6)(6,6) \multido{\n=-5+1}{11}{% \multido{\N=-5+1}{11}{% \notbothztrue% \ifnum\N=0 % \ifnum\n=0 \notbothzfalse\fi% \fi% \ifnotbothz% \psdot(0,0)% \pstverb{\transl{\n}{\N}\space \n\space neg \N\space atan rotate -9 0 moveto 18 0 rlineto stroke } \fi}} \endpspicture \end{pdfpic}
3. PDFLaTeXÀ» ½ÇÇàÇÑ´Ù.
ÀÌ ¶§, shell escape ¸ðµå·Î ½ÇÇàÇÏ¿©¾ß ¼¿ ½ºÅ©¸³Æ®¸¦ ºÒ·¯¿Â´Ù.
#> pdflatex -shell-escape foo¸¸¾à shell escape¸¦ ½ÇÇàÇÏÁö ¾Ê´Â´Ù¸é, ½ºÅ©¸³Æ®ÀÇ ½ÇÇàÀ» Á÷Á¢ ÇØÁÖ¾î¾ß ÇÑ´Ù.
#> pdflatex foo #> pst2pdf #> pdflatex foo
4. PDFTricks´Â PDFLaTeX°ú LaTeXÀ» ¸ðµÎ ¾µ ¼ö ÀÖ´Ù°í ÇÑ´Ù. ±×·¯³ª ÀϹÝÀûÀ¸·Î PDFLaTeX°ú ÇÔ²² ÁÖ·Î ¾²ÀδÙ.
5. ´õ ÀÚ¼¼ÇÑ »ç¿ë¹ý°ú ¿¹Á¦´Â ¸Å´º¾ó ¹®¼¸¦ Âü°íÇ϶ó.