diff options
author | Karl Berry <karl@freefriends.org> | 2021-05-26 20:03:44 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-05-26 20:03:44 +0000 |
commit | 8d1fa48748e36b37a06fc39b09607159e1586f90 (patch) | |
tree | b7a1d66e9903af87a5c8ba30f0b0062b55473e9e /Master/texmf-dist/tex/latex/huawei | |
parent | e640388bf9987e44c8dec30ce5654e8870070773 (diff) |
huawei (26may21)
git-svn-id: svn://tug.org/texlive/trunk@59357 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/huawei')
-rw-r--r-- | Master/texmf-dist/tex/latex/huawei/huawei.cls | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/huawei/huawei.cls b/Master/texmf-dist/tex/latex/huawei/huawei.cls index ef8f26da251..ab4e2531511 100644 --- a/Master/texmf-dist/tex/latex/huawei/huawei.cls +++ b/Master/texmf-dist/tex/latex/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 |