diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/huawei')
-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{ |