From 6817402334ba1ac1d3602301cd96216af854adf4 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 24 May 2021 20:16:09 +0000 Subject: huawei (24may21) git-svn-id: svn://tug.org/texlive/trunk@59328 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/huawei/huawei.cls | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'Master/texmf-dist/tex/latex/huawei') 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{ -- cgit v1.2.3