KTUGFaq
KTUG FAQ
r1.8
@@ -3,6 +3,8 @@
picture ȯ ִ. ϳ 뵿 picture ȯ ̰, ϳ LaTeX picture ȯ exportִ (LaTeXCad, JPicEdt, LaTeXPix, TpX ) picture ȯ ̴. ( ) ̵(WysiWyg) ̰ LaTeX ִ (ɾ ȯ) ٲپ ش.ù° ؼ ִ.
* [http://ftp.ktug.or.kr/mirrors/CTAN/macros/latex/contrib/oberdiek/picture.pdf picture.pdf] v1.1 (2007/04/11)
* Leslie Lamport, ''LaTeX : A Document Preparation System,'' 2nd Edition, 1994, pp. 119-129, "7.1.1 The picture Environment" * Helmut Kopka & Patrick W. Daly, ''A GUIDE TO LaTeX,'' Third Edition, Addison Wesley, 1999, pp.151-166, "6.1 Drawing pictures with LaTeX"
* lshort picture ȯ ̿ Ⱑ ҰǾ ִ. [lshort-kr]
@@ -10,7 +12,7 @@
== picture ȯ濡 ===== unitlength ===
`\unitlength` picture ȯ ⺻ ȴ. `\setlength` ٲ ִ.
⺻ 1pt(
$$
0.351 `mm` = 1/72.27
$$in)̴.
=== put ===
picture ȯ ȿ ̴. `\put(x,y){object}`. ⼭ x, y ȯ ǥ̴.
@@ -70,7 +72,7 @@
=== ===picture ȯ ڸ ִ.
{{{
#!vim tex
\begin{picture}(40,30)\put(5,6){\vector(2,1){22}}
\put(0,0){\tiny }
@@ -122,10 +124,9 @@
{{{\circle{d}
}}}
d ̴.
15mm Ѵ. ( ϴ Ʈ
)
{{{
#!vim tex
\setlength{\unitlength}{1pt}\begin{picture}(30,30)
\put(15,15){\circle{2}}
@@ -143,8 +144,13 @@
\end{picture}}}}
[[FootNote]]
{{{
#!vim tex
\usepackage{pspicture} % preamble
\setlength{\unitlength}{1cm}\begin{picture}(6,4)
\linethickness{0.1mm}
@@ -162,9 +168,13 @@
}}} "ǥ (2,4) ߽ ϰ (Ⱦݰ) 6 (ݰ) 8 oval(Ÿ ) (b) (l) " ̴. \oval(6,6) ġ (ɼ `[]` ) ȴ.
`[t], [b], [l], [r]` ϳ ݿ ȴ.
{{{#!latex
\makeatletter
\input{pspicture.sty} % preamble
\makeatother
\setlength{\unitlength}{1cm}\begin{picture}(6,4)
\linethickness{0.1mm}
@@ -226,12 +236,9 @@
}}}Bezier ߰ ǥ java script http://www.ursoswald.ch/ ִ.
=== α(multiput) ===
`\multiput(x,y)(p,q){n}{stuff}`
''stuff'' $$(x+kp,\;y+kq);\;\;k=0,1,\ldots,n-1\;\;$$ ǥ ġ .
{{{
\setlength\unitlength{1truecm}
\begin{picture}(10,0.7)
@@ -241,7 +248,6 @@
\multiput(0,0)(0.1,0){100}{\line(0,1){0.3}}\end{picture}
}}}
{{{#!latex
\setlength\unitlength{1truecm}
\begin{picture}(10,0.7)
@@ -268,11 +274,11 @@
\end{picture} }}}}}
== epic, eepic Ű ==
epic, eepic Ű picture ȯ ȮϿ LaTeX ⺻ ǵ ͺ ְ ش.
=== PDFLaTeX eepic ===
[[Include(PDFLaTeXPictureȯ)]]
----
XYPic űϴ. XYPic Picture ȯ ƹ ˴ϴ.
1 picture ȯ ¶
picture ȯ ִ. ϳ 뵿 picture ȯ ̰, ϳ LaTeX picture ȯ exportִ (LaTeXCad, JPicEdt, LaTeXPix, TpX ) picture ȯ ̴. ( ) ̵(WysiWyg) ̰ LaTeX ִ (ɾ ȯ) ٲپ ش.
ù° ؼ ִ.
- picture.pdf v1.1 (2007/04/11)
- Leslie Lamport, LaTeX : A Document Preparation System, 2nd Edition, 1994, pp. 119-129, "7.1.1 The picture Environment"
- Helmut Kopka & Patrick W. Daly, A GUIDE TO LaTeX, Third Edition, Addison Wesley, 1999, pp.151-166, "6.1 Drawing pictures with LaTeX"
- lshort picture ȯ ̿ Ⱑ ҰǾ ִ. lshort-kr
2.3 linethickness ¶
\linethickness{̰} ⸦ ٲ ִ. 밢 ̳ oval ڽ corner ⸦ ٲ ʱ ǵ̸ ϰ ⺻ ־ \thicklines, \thinlines ⸸ ϴ .
2.4 picture ȯ ¶
\begin{picture}(30,10)
̰ 30Ʈ, 10Ʈ ڽ ϴ ̴. ϱͰ ǥ ȴ.
\begin{picture}(20,30)(5,10)ǥ (0,0), Ͽ ̰ ٲ ִ.
\end{picture} ȯ ̴. picture ȯ ü ϳ ڽ ̷. ڽ baseline ڽ Ʒ̰ height ڽ ȴ. depth 0̴.
Ƿ 10Ʈ picture ȯ ڽ horizontal mode baseline ġϿ ĵȴ. ٸ ڿ ϰ Ϸ ڽ depthŭ ڽ \lower ־ ̴.
2.5 ¶
\begin{picture}(30,10) \put(5,0){\line(2,1){22}} \end{picture}
\put(x,y) (x,y) شϴ ǥ ڸ ´.
\line(m,n){d} ɿ (m,n) μ $$\frac{n}{m}$$ ⸦ . d ڴ ̴.
.
ȭǥ ǥϷ \line \vector ִ.
\begin{picture}(30,10) \put(5,0){\vector(2,1){22}} \end{picture}
β Ÿ \thicklines, \thinlines ִ.
2.6 ¶
picture ȯ ڸ ִ.
\begin{picture}(40,30) \put(5,6){\vector(2,1){22}} \put(0,0){\tiny } \put(16,16){\mbox{\tiny\sffamily KTUG !}} \end{picture}
2.7 簢 ¶
\framebox(x,y){stuff} \makebox(x,y){stuff} \dashbox{d}(x,y){stuff} or \dashbox(x,y){stuff}
\framebox(x,y)[t]{stuff} ɼڴ t,b,r,l( top, bottom, right, left) ִ. stuff 簢 ġ ϴ ̴.
\dashbox ù° d dash ̸ Ų. 1\unitlength̴.
\setlength{\unitlength}{1cm} \begin{picture}(2.5,1) \thicklines \put(0,0){\framebox(1,1){}} \thinlines \put(1.5,0){\framebox(1,1){¼}} \end{picture}
2.9 oval Ǵ Ϻκ ¶
\usepackage{pspicture} % preamble \setlength{\unitlength}{1cm} \begin{picture}(6,4) \linethickness{0.1mm} \thicklines \put(2,4){\oval(6,8)[bl]}%bl=bottom left \put(2,3){\oval(3,1.8)} \thinlines \put(3,2){\oval(3,1.8)} \thicklines \put(2,1){\oval(3,1.8)[tl]} \put(4,1){\oval(3,1.8)[b]} \put(4,3){\oval(3,1.8)[r]} \put(3,1.5){\oval(1.8,0.4)} \end{picture}
"ǥ (2,4) ߽ ϰ (Ⱦݰ) 6 (ݰ) 8 oval(Ÿ ) (b) (l) " ̴. \oval(6,6) ġ (ɼ [] ) ȴ.
[t], [b], [l], [r] ϳ ݿ ȴ.
[bl], [br], [tl], [tr] 4п ȴ.
2.10 bezier ¶
quadratic bezier .
\qbezier(sx,sy)(mx,my)(tx,ty)(sx,sy), (mx,my), (tx,ty) , ߰, ǥ̴.
http://www.ursoswald.ch/ ִ LaTeX Graphics ִ lshort ԵǾ ִ.
\setlength{\unitlength}{1cm} \begin{picture}(6,4)(-2.5,-1.5) \put(-2.5,0){\vector(1,0){5}} \put(2.7,-0.1){$\chi$} \put(0,-1.5){\vector(0,1){3}} \multiput(-2.5,1)(0.4,0){13} {\line(1,0){0.2}} \multiput(-2.5,-1)(0.4,0){13} {\line(1,0){0.2}} \put(0.2,1.4) {$\beta=v/c=\tanh\chi$} \qbezier(0,0)(0.8853,0.8853)(2,0.9640) \qbezier(0,0)(-0.8853,-0.8853)(-2,-0.9640) \put(-2.5,-1.5){\circle*{0.2}} \end{picture}
Bezier ߰ ǥ java script http://www.ursoswald.ch/ ִ.
2.11 α(multiput) ¶
\multiput(x,y)(p,q){n}{stuff}
stuff ǥ ġ .
\setlength\unitlength{1truecm} \begin{picture}(10,0.7) \put(0,0){\line(1,0){10}} \multiput(0,0)(1,0){11}{\line(0,1){0.7}} \multiput(0,0)(0.5,0){20}{\line(0,1){0.5}} \multiput(0,0)(0.1,0){100}{\line(0,1){0.3}} \end{picture}
2.12 ¶
, LaTeX2eڸڦ p.310 ִ ̴.
\newcommand{\BOOK}{{\normalsize \begin{picture}(19.3,13) \put(1.1,-2){\line(0,1){10}} \put(.5,6.5){$\frown$} \put(.5,-2.5){$\frown$} \put(.5,-3.4){\small$\frown$} \put(9.65,-2){\line(0,1){10}} \put(8.65,-2){\line(1,0){2}} \put(9,6.5){$\frown$} \put(9,-2.5){$\frown$} \put(9.8,-3.4){\small$\frown$} \put(18.2,-2){\line(0,1){10}} \end{picture} }}