diff options
Diffstat (limited to 'macros/latex/contrib/huawei/huawei.cls')
-rw-r--r-- | macros/latex/contrib/huawei/huawei.cls | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/macros/latex/contrib/huawei/huawei.cls b/macros/latex/contrib/huawei/huawei.cls index ef8f26da25..ab4e253151 100644 --- a/macros/latex/contrib/huawei/huawei.cls +++ b/macros/latex/contrib/huawei/huawei.cls @@ -21,7 +21,7 @@ % SOFTWARE. \NeedsTeXFormat{LaTeX2e} -\ProvidesClass{huawei}[2021/05/24 0.3.0 Template for Huawei documents] +\ProvidesClass{huawei}[2021/05/26 0.5.1 Template for Huawei documents] \newif\ifnosecurity \DeclareOption{nosecurity}{\nosecuritytrue} @@ -52,14 +52,15 @@ \RequirePackage{CJKutf8} \RequirePackage{tabularx} \RequirePackage{multicol} -\RequirePackage[mmddyyyy,iso,hhmmss]{datetime} +\RequirePackage[mmddyyyy,iso]{datetime} + \newtimeformat{daytime}{\twodigit{\THEHOUR}:\twodigit{\THEMINUTE}} \RequirePackage[tt=false,type1=true]{libertine} \RequirePackage{paralist} \RequirePackage{makecell} \RequirePackage[para]{footmisc} \setlength{\footnotemargin}{2pt} \setlength{\footnotesep}{2pt} -\RequirePackage{minted} +\RequirePackage[draft=true]{minted} \setminted{breaklines} \usemintedstyle{bw} \renewcommand{\theFancyVerbLine}{\textcolor{gray}{\tiny\oldstylenums{\ttfamily\arabic{FancyVerbLine}}}} @@ -98,7 +99,8 @@ \endgroup }% \endgroup\makeatother -\RequirePackage[absolute]{textpos}\TPGrid{16}{16} +\RequirePackage[absolute]{textpos} + \TPGrid{16}{16} % Our custom commands to redefine: \renewcommand\title[1]{\renewcommand\thetitle{#1}} @@ -208,7 +210,7 @@ \fi% \fi% \ifnodate\else% - \today{} \currenttime + \today{} \settimeformat{daytime}\currenttime{}% \fi% }% \end{textblock}% @@ -271,6 +273,7 @@ \def\param{#1}% \ifx\param\empty\else \includegraphics[height=2in]{#1} + \newline \fi \vspace*{0.5in} \maketitle |