Compare two revisions of: Tikz

... ... @@ -19,6 +19,35 @@ Here is a list of available packages [texlive-pictures](https://packages.debian.
19 19 After completion, create the image by clicking the "Save and Preview" button.
20 20 You can see a preview on the right-hand side.
21 21
22 +# Template
23 +
24 +```LaTeX
25 +\documentclass{standalone}
26 +\usepackage{tikz}
27 +
28 +\begin{document}
29 + \begin{tikzpicture}
30 + ...
31 + \end{tikzpicture}
32 +\end{document}
33 +```
34 +
35 +# Template, if Chinese characters used
36 +
37 +```LaTeX
38 +\documentclass{standalone}
39 +\usepackage{tikz}
40 +\usepackage{CJKutf8}
41 +
42 +\begin{document}
43 + \begin{CJK*}{UTF8}{gbsn}
44 + \begin{tikzpicture}
45 + ...
46 + \end{tikzpicture}
47 + \end{CJK*}
48 +\end{document}
49 +```
50 +
22 51 # Use a TikZ image in an article or problem
23 52
24 53 To embed an image, proceed in the same way as for other images. Drag and drop the TikZ file from the left file tree
25 54