diff options
author | Karl Berry <karl@freefriends.org> | 2021-05-24 20:16:09 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-05-24 20:16:09 +0000 |
commit | 6817402334ba1ac1d3602301cd96216af854adf4 (patch) | |
tree | e7382b8f19cbacb9e591980640af9e079f607d24 /Master/texmf-dist/tex/latex | |
parent | 03deeefc2e47912c06c5df308b73274878480619 (diff) |
huawei (24may21)
git-svn-id: svn://tug.org/texlive/trunk@59328 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r-- | Master/texmf-dist/tex/latex/huawei/huawei.cls | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/latex/huawei/huawei.cls b/Master/texmf-dist/tex/latex/huawei/huawei.cls index 1a8c9c2ef3b..ef8f26da251 100644 --- a/Master/texmf-dist/tex/latex/huawei/huawei.cls +++ b/Master/texmf-dist/tex/latex/huawei/huawei.cls @@ -21,13 +21,16 @@ % SOFTWARE. \NeedsTeXFormat{LaTeX2e} -\ProvidesClass{huawei}[13/05/2021 0.2.0 Template for Huawei documents] +\ProvidesClass{huawei}[2021/05/24 0.3.0 Template for Huawei documents] + \newif\ifnosecurity \DeclareOption{nosecurity}{\nosecuritytrue} \newif\ifnobrand \DeclareOption{nobrand}{\nobrandtrue} \newif\ifnodate \DeclareOption{nodate}{\nodatetrue} +\newif\ifnocover +\DeclareOption{nocover}{\nocovertrue} \newif\ifnopaging \DeclareOption{nopaging}{\nopagingtrue} \newif\iflandscape @@ -35,7 +38,9 @@ \newif\ifanonymous \DeclareOption{anonymous}{\anonymoustrue} \ProcessOptions\relax + \LoadClass[12pt]{article} + \RequirePackage{geometry} \iflandscape \geometry{paperwidth=16in, paperheight=9in, left=4in, right=2in, top=1.5in, bottom=1.5in} @@ -269,6 +274,11 @@ \fi \vspace*{0.5in} \maketitle + \iflandscape\ifnocover\else + \begin{textblock}{14}[1,1](14,14) + \raggedleft\includegraphics[height=3.6in]{images/huawei-cover.pdf} + \end{textblock} + \fi\fi } \newcommand\PrintLastPage{ |