- MetaPost 0.970 ÀÌÈÄ ¹öÀü ¿¹Á¦
verbatimtex
\input ucsplain.tex
\hfont{outbtm}{}
etex
filenametemplate "%j-%c.eps";
prologues:=3;
beginfig(1);
draw fullcircle scaled 2cm;
dotlabel("", origin);
dotlabel.rt(btex ¾È³çÇϼ¼¿ä etex, (cosd(45),sind(45))*1cm);
endfig;
end
- ÆÄÀÏÀ̸§ÀÌ file-1.eps Çü½ÄÀ¸·Î ¸¸µé¾îÁø´Ù.
- eps ÆÄÀÏ¿¡ type1 ÆùÆ®°¡ ÀÓº£µùµÈ´Ù.
- epstopdf ¸í·ÉÀ» ÀÌ¿ëÇÏ¿© °£´ÜÈ÷ pdf¸¦ ¸¸µé ¼ö ÀÖ´Ù.
- pdf ÆÄÀÏ¿¡¼ ÇÑ±Û °Ë»ö¡¤ÃßÃâÀÌ °¡´ÉÇÏ´Ù.
- MetaPost·ÎºÎÅÍ pdf ¸¸µé±â
$ mpost foo
$ mptopdf foo
- ÀÌ·¸°Ô ¾ò¾îÁø pdf´Â ebb·Î ¹Ù¿îµù¹Ú½º¸¦ ¾ò±â ¾î·Á¿ï ¼ö ÀÖ´Ù. bbÆÄÀϾò±â¸¦ Âü°íÇ϶ó.
- ÇÑ±Û ¿¹Á¦
- ÇÑ±Û ±Û²ÃÀº type 1 ÆùÆ®(UHC-unicode ¶Ç´Â ¹®ÈºÎ type 1 µî)¸¦ ÀÌ¿ëÇÑ´Ù. ´ÙÀ½ ¿¹Á¦¿¡¼´Â uhc-unicode¸¦ »ç¿ëÇÏ¿´À½.
- ÇÑ±Û ÅؽºÆ®ÀÇ °Ë»ö ÃßÃâ±îÁö ¿øÇÑ´Ù¸é, ¾Æ·¡ °ü·Ã ¼ÒÀýÀ» º¼ °Í.
verbatimtex
%&latex
\documentclass{article}
\usepackage{dhucs}
\SetHangulFonts{wbt}{wgt}{wtt}
\usepackage{mflogo}
\begin{document}
etex;
beginfig(1);
% Å屯 ¸ð¾ç
R:=2cm; r:=R/2;
path p[];
z0=(0,0); z1-z0=(R,0); z2-z0=(0,R); z3-z0=(-R,0);
z4-z0=(-r,0); z5-z0=(0,-r); z6-z0=(r,0);
p0:= z1..z2..z3;
p1:= p0 rotatedaround(z0,180);
p2:= (z4..z5..z6) shifted (z4-z0);
p3:= p2 rotatedaround(z4,180) shifted (z6-z4);
p4:=(p0--p2--reverse p3--cycle) rotatedaround(z0,-angle(3,2));
p5:=(p1--p3--reverse p2--cycle) rotatedaround(z0,-angle(3,2));
fill p4 withcolor red;
fill p5 withcolor blue;
label(btex \Huge Å屯 ¸ð¾ç etex, (0,R+r)-z0);
label.rt(btex \LARGE\shortstack[l]{\sf \MP ¿¡¼ ÇѱÛÀ»
»ç¿ëÇϱâ À§Çؼ´Â \\
\sf PostScript ÆùÆ®¸¦ ¾²µµ·Ï ÇÏ´Â °ÍÀÌ ÁÁ´Ù.
\sf Àº±Û²ÃÀº Æ®·çŸÀÔÀ̹ǷΠ\\
\sf UHC-unicode³ª Àº±Û²Ã type-1 µîÀ» »ç¿ëÇϵµ·Ï \\
\sf ¼Ò½º¸¦ Àû´çÈ÷ ¼öÁ¤ÇÑ´Ù.} etex, (1.2R,0)-z0);
endfig;
end
- Graph ±×¸®±â