%%
%% 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--2023 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,
%%               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,
%%                                 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'.
