Debian Codegraph @

texmf-dist/doc/latex/njuvisual/njuvisual-example.tex

raw
1 %%
2 %% This is file `njuvisual-example.tex',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% njuvisual.dtx (with options: `example')
8 %% njuvisual-emblem.dtx (with options: `example')
9 %% njuvisual-name.dtx (with options: `example')
10 %% njuvisual-motto.dtx (with options: `example')
11 %% njuvisual-spirit.dtx (with options: `example')
12 %% njuvisual-ai.dtx (with options: `example')
13 %% njuvisual-chem.dtx (with options: `example')
14 %% njuvisual-cs.dtx (with options: `example')
15 %% njuvisual-dii.dtx (with options: `example')
16 %% njuvisual-eng.dtx (with options: `example')
17 %% njuvisual-physics.dtx (with options: `example')
18 %% njuvisual-software.dtx (with options: `example')
19 %% njuvisual-end.dtx (with options: `example')
20 %%
21 %% Copyright (C) 2021 - 2022
22 %% by Nanjing University Linux User Group
23 %%
24 %% This file may be distributed and/or modified under the conditions of
25 %% the LaTeX Project Public License, either version 1.3c of this license
26 %% or (at your option) any later version. The latest version of this
27 %% license is in:
28 %%
29 %% http://www.latex-project.org/lppl.txt
30 %%
31 %% and version 1.3 or later is part of all distributions of LaTeX version
32 %% 2005/12/01 or later.
33 %%
34 %% To produce the documentation run the original source files ending with `.dtx'
35 %% through XeTeX.
36 %%
37 \documentclass{article}
38 \usepackage{njuvisual}
39 \usetikzlibrary{backgrounds,external}
40 \tikzexternalize[prefix=nju-]
41 \let\FIG=\tikzsetnextfilename
42 \begin{document}
43 \FIG{emblem} \njuemblem{!}{!}
44 \FIG{name} \njuname{!}{!}
45 \FIG{name-en} \njuname*{!}{!}
46 \FIG{motto} \njumotto{!}{!}
47 \FIG{spirit} \njuspirit{!}{!}
48 \FIG{emblem-ai} \njuemblem[department=ai]{!}{!}
49 \FIG{emblem-chem} \njuemblem[department=chem]{!}{!}
50 \FIG{emblem-cs} \njuemblem[department=cs]{!}{!}
51 \FIG{emblem-dii} \njuemblem[department=dii]{!}{!}
52 \FIG{emblem-eng} \njuemblem[department=eng]{!}{!}
53 \FIG{emblem-physics} \njuemblem[department=physics]{!}{!}
54 \FIG{emblem-software} \njuemblem[department=software]{!}{!}
55 \end{document}
56 \endinput
57 %%
58 %% End of file `njuvisual-example.tex'.