diff options
author | Karl Berry <karl@freefriends.org> | 2021-06-26 20:38:18 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-06-26 20:38:18 +0000 |
commit | 141d53114fcd8326cab3c8c2bcd11f1b8eebd763 (patch) | |
tree | c92fa31e8399e9eebcb3396c05ddcba24d444fe7 /Master/texmf-dist/tex/latex/huawei | |
parent | 8a6279a1aa0efc3216251361010dbb98af1540db (diff) |
huawei (26jun21)
git-svn-id: svn://tug.org/texlive/trunk@59720 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/huawei')
-rw-r--r-- | Master/texmf-dist/tex/latex/huawei/huawei-cover-picture.pdf | bin | 0 -> 253724 bytes | |||
-rw-r--r-- | Master/texmf-dist/tex/latex/huawei/huawei.cls | 38 |
2 files changed, 28 insertions, 10 deletions
diff --git a/Master/texmf-dist/tex/latex/huawei/huawei-cover-picture.pdf b/Master/texmf-dist/tex/latex/huawei/huawei-cover-picture.pdf Binary files differnew file mode 100644 index 00000000000..6717a9ff35e --- /dev/null +++ b/Master/texmf-dist/tex/latex/huawei/huawei-cover-picture.pdf diff --git a/Master/texmf-dist/tex/latex/huawei/huawei.cls b/Master/texmf-dist/tex/latex/huawei/huawei.cls index 61a99c65bea..fd0203571e4 100644 --- a/Master/texmf-dist/tex/latex/huawei/huawei.cls +++ b/Master/texmf-dist/tex/latex/huawei/huawei.cls @@ -21,10 +21,12 @@ % SOFTWARE. \NeedsTeXFormat{LaTeX2e} -\ProvidesClass{huawei}[2021/06/15 0.6.1 Template for Huawei Documents] +\ProvidesClass{huawei}[2021/06/26 0.7.0 Template for Huawei Documents] \newif\ifnosecurity \DeclareOption{nosecurity}{\nosecuritytrue} +\newif\ifauthordraft +\DeclareOption{authordraft}{\authordrafttrue} \newif\ifnobrand \DeclareOption{nobrand}{\nobrandtrue} \newif\ifnodate @@ -149,7 +151,13 @@ \renewcommand{\headrulewidth}{0pt} \fancyhf{} \fancyfoot[L]{ - \LeftHuaweiBar{} + \ifauthordraft% + \begin{textblock}{14}[0.5,0.5](8,8)% + \tikz \node[minimum width=14\TPHorizModule] {% + \fontsize{64}{64}\selectfont\sffamily\scshape\color{gray!20}\rotatebox{30}{it is a draft} + };% + \end{textblock}% + \else\fi% \ifnum\value{page}=1\else% \ifnobrand\else% \begin{textblock}{8}[0,0](1.2,0.2)% @@ -207,17 +215,27 @@ {\color{gray!50!black}\large\thesubtitle} \fi \\[18pt] - \ifanonymous\else% - \ifx\thecompany\empty\else% - \thecompany\newline + \ifnobrand\else% + \ifanonymous\else% + \ifx\thecompany\empty\else% + \thecompany\newline + \fi \fi \fi \ifx\theauthor\empty\else% - {\scshape\theauthor}% + {\scshape\ifanonymous + Anonymous Authors + \else% + \theauthor + \fi}% \fi% - \ifx\theauthor\empty\else - \ifx\theid\empty\else - \;/ {\theid} + \ifanonymous\else% + \ifx\theauthor\empty\else + \ifnobrand\else% + \ifx\theid\empty\else + \;/ {\theid} + \fi + \fi \fi \fi\newline \vspace{2em} @@ -264,7 +282,7 @@ \maketitle \iflandscape\ifnocover\else \begin{textblock}{14}[1,1](14,14) - \raggedleft\includegraphics[height=3.6in]{cover-picture.pdf} + \raggedleft\includegraphics[height=3.6in]{huawei-cover-picture.pdf} \end{textblock} \fi\fi } |