summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/fduthesis/fdulogo-example.tex
blob: 78a1900736edd9bac64ba45f3c025b8317154f84 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
%%
%% This is file `fdulogo-example.tex',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% fduthesis.dtx  (with options: `ex-logo')
%% fduthesis-logo.dtx  (with options: `ex-logo')
%% 
%%     Copyright (C) 2017, 2018 by Xiangdong Zeng <xdzeng96@gmail.com>
%% 
%%     This work may be distributed and/or modified under the
%%     conditions of the LaTeX Project Public License, either
%%     version 1.3c of this license or (at your option) any later
%%     version. The latest version of this license is in:
%% 
%%       http://www.latex-project.org/lppl.txt
%% 
%%     and version 1.3 or later is part of all distributions of
%%     LaTeX version 2005/12/01 or later.
%% 
%%     This work has the LPPL maintenance status `maintained'.
%% 
%%     The Current Maintainer of this work is Xiangdong Zeng.
%% 
%%     This work consists of the files fduthesis.dtx,
%%                                     fduthesis-doc.dtx,
%%                                     fduthesis-logo.dtx,
%%                                     fduthesis-template.tex,
%%               and the derived files fduthesis.ins,
%%                                     fduthesis.cls,
%%                                     fduthesis-en.cls,
%%                                     fduthesis.def,
%%                                     fdudoc.cls,
%%                                     fdulogo.sty,
%%                                     fdulogo-example.tex,
%%                                     fduthesis-cover.tex,
%%                                     fduthesis-en.tex,
%%                                     fudan-emblem.pdf,
%%                                     fudan-emblem-new.pdf,
%%                                     fudan-name.pdf,
%%                                     fduthesis.pdf,
%%                                     fduthesis-en.pdf,
%%                                     fduthesis-code.pdf,
%%                                     latexmkrc,
%%                                     latexmkrc-en,
%%                                 and README.md.
%% 
\documentclass{article}
\usepackage{fdulogo}
\usetikzlibrary{backgrounds,external}
\tikzexternalize[prefix=fudan-]
\let\FIG=\tikzsetnextfilename
\def\BG#1{color=white, show background rectangle,
  background rectangle/.style={#1}}
\begin{document}
\FIG{name-black}                  \fduname
\FIG{name-blue}                   \fduname[color=FudanBlue]
\FIG{name-red}                    \fduname[color=FudanRed]
\FIG{emblem-a-black}              \fduemblem
\FIG{emblem-a-blue}               \fduemblem[color=FudanBlue]
\FIG{emblem-a-red}                \fduemblem[color=FudanRed]
\FIG{emblem-b-black}              \fduemblem*
\FIG{emblem-b-blue}               \fduemblem*[color=FudanBlue]
\FIG{emblem-b-red}                \fduemblem*[color=FudanRed]
\FIG{emblem-new-a-black}          \fduemblem+
\FIG{emblem-new-a-blue}           \fduemblem+[color=FudanBlue]
\FIG{emblem-new-a-red}            \fduemblem+[color=FudanRed]
\FIG{emblem-new-b-black}          \fduemblem+*
\FIG{emblem-new-b-blue}           \fduemblem+*[color=FudanBlue]
\FIG{emblem-new-b-red}            \fduemblem+*[color=FudanRed]
\FIG{emblem-new-a-reversed-black} \fduemblem+[\BG{fill}]
\FIG{emblem-new-a-reversed-blue}  \fduemblem+[\BG{fill=FudanBlue}]
\FIG{emblem-new-a-reversed-red}   \fduemblem+[\BG{fill=FudanRed}]
\FIG{emblem-new-b-reversed-black} \fduemblem+*[\BG{fill}]
\FIG{emblem-new-b-reversed-blue}  \fduemblem+*[\BG{fill=FudanBlue}]
\FIG{emblem-new-b-reversed-red}   \fduemblem+*[\BG{fill=FudanRed}]
\FIG{motto}                       \fdumotto
\FIG{motto-reversed}              \fdumotto[\BG{fill}]
\end{document}
\endinput
%%
%% End of file `fdulogo-example.tex'.