PDF
1LaTeX(3)使TikZContents ............................................................................................... 1 ............................................................................................... 2线线线线使\usepackage{tikz}\begin{tikzpicture}% ...\end{tikzpicture}\usepackage{graphicx}\usepackage{tikz}\begin{document} \begin{figure}[h] \begin{tikzpicture} \draw (0, 0) -- (1, 1); \end{tikzpicture} \caption{线} \end{figure}\end{document}使 2\begin{tikzpicture}[scale=0.5]\begin{tikzpicture}[xscale=0.5, yscale=0.3]\begin{tikzpicture}[x=2cm,y=1.5cm]% \begin{tikzpicture}[x={(2cm,0cm)},y={(0cm,1.5cm)}]线线\draw (0, 0) -- (1, 1);线\draw (0, 0) -- (1, 1) -- (2, 2) -- (1, 0) -- (0, 3);\draw[help lines] (0,0) grid (3,3);便\draw [->] (0,0) -- (2,0); %\draw [<-] (0, -0.5) -- (2,-0.5); %\draw [|->] (0,-1) -- (2,-1); %\draw [<->] (0, 0) -- (1, 1); %线线\draw [ultra thin] (0, 1) -- (2, 1)线\draw [line width=12] (0,0) -- (2,0);\draw [line width=0.2cm] (4,.75) -- (5,.25);[help lines]线\draw [help lines] (0, 5) -- (0, 0) -- (5, 0);\draw [line width=2pt] (0, 0) -- (5, 5);\draw [very thin] (0, 3) -- (4, 0);\draw [thin] (0, 2) -- (5, 2); 3线\draw [dashed]线\draw [dotted]\begin{tikzpicture} \draw [help lines] (0, 5) -- (0, 0) -- (5, 0) node [right=3]{Nice sample!}; \draw [dashed, red, line width=2pt] (0, 0) -- (5, 5); \draw [blue, very thin] (0, 3) -- (4, 0); \draw [dotted, thin] (0, 2) -- (5, 2);\end{tikzpicture}\draw [blue] (0,0) rectangle (1.5, 1);\draw [blue] (0,0) grid (1.5, 1);\draw [red, ultra thick] (3, 0.5) circle [radius=0.5];线\draw [gray, ultra thick] (6,0) arc [radius=1, start angle=45, end angle= 120];线\draw[very thick] (0,0) to [out=90,in=195] (2,1.5);线rounded corners线\draw [<->, rounded corners, thick, purple] (0,2) -- (0,0) -- (3,0);

HTML view coming soon.

Download PDF for the full formatted version.