diff options
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/huawei/huawei.cls | 44 |
1 files changed, 17 insertions, 27 deletions
diff --git a/Master/texmf-dist/tex/latex/huawei/huawei.cls b/Master/texmf-dist/tex/latex/huawei/huawei.cls index ab4e2531511..c2b5ce7b48d 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/26 0.5.1 Template for Huawei documents] +\ProvidesClass{huawei}[2021/06/14 0.6.0 Template for Huawei documents] \newif\ifnosecurity \DeclareOption{nosecurity}{\nosecuritytrue} @@ -52,6 +52,8 @@ \RequirePackage{CJKutf8} \RequirePackage{tabularx} \RequirePackage{multicol} +\RequirePackage{ragged2e} +\RequirePackage{multicol} \RequirePackage[mmddyyyy,iso]{datetime} \newtimeformat{daytime}{\twodigit{\THEHOUR}:\twodigit{\THEMINUTE}} \RequirePackage[tt=false,type1=true]{libertine} @@ -60,11 +62,6 @@ \RequirePackage[para]{footmisc} \setlength{\footnotemargin}{2pt} \setlength{\footnotesep}{2pt} -\RequirePackage[draft=true]{minted} - \setminted{breaklines} - \usemintedstyle{bw} - \renewcommand{\theFancyVerbLine}{\textcolor{gray}{\tiny\oldstylenums{\ttfamily\arabic{FancyVerbLine}}}} - \setminted{firstnumber=last,linenos,numbersep=2pt,framesep=6pt,framerule=1pt,rulecolor=gray,frame=leftline,escapeinside=||,mathescape,samepage} \RequirePackage{graphicx} \RequirePackage{array} \RequirePackage[abspath]{currfile} @@ -89,16 +86,6 @@ \RequirePackage{tabularx} \RequirePackage{titling} \RequirePackage{svg} -\RequirePackage[normalem]{ulem} -\RequirePackage[hidelinks]{hyperref} - \makeatletter\begingroup - \catcode`\$=6 % - \catcode`\#=12 % - \gdef\href@split$1#$2#$3\\$4{% - \hyper@@link{$1}{$2}{\uline{$4}}% - \endgroup - }% - \endgroup\makeatother \RequirePackage[absolute]{textpos} \TPGrid{16}{16} @@ -117,17 +104,13 @@ \newcommand\headers[1]{\setrelativestretch{0.8}{\small\sffamily\color{gray}#1}} \newcommand\tbd[1]{{\color{red}#1}} \newcommand\crumb[2]{\begin{minipage}{\columnwidth}\raggedright\textsc{#1}:\\#2\end{minipage}\vspace{4pt}} -\RequirePackage{tcolorbox} - \newtcbox{\codebox}{nobeforeafter,colframe=gray!80!white,colback=gray!5!white,boxrule=0.1pt,arc=1pt, - boxsep=1.2pt,left=0.5pt,right=0.5pt,top=0.2pt,bottom=0.2pt,tcbox raise base} -\newcommand{\ff}[1]{\codebox{\vrule height 6pt depth 1pt width 0pt\texttt{#1}}} \AtBeginDocument{% \raggedbottom% - \setlength{\topskip}{0mm}% - \setlength{\parindent}{0pt}% - \setlength{\parskip}{6pt}% - \setlength{\columnsep}{32pt}% + \setlength\topskip{0mm}% + \setlength\parindent{0pt}% + \setlength\parskip{6pt}% + \setlength\columnsep{32pt}% \def\arraystretch{1.5}% } @@ -225,7 +208,9 @@ \fi \\[18pt] \ifanonymous\else% - \thecompany\newline + \ifx\thecompany\empty\else% + \thecompany\newline + \fi \fi \ifx\theauthor\empty\else% {\scshape\theauthor}% @@ -248,7 +233,7 @@ } \newcommand\PrintDisclaimer{% - \vspace*{\fill}\setrelativestretch{0.55}{{\sffamily\scriptsize\color{gray!50!black}% + \justify\vspace*{\fill}\setrelativestretch{0.55}{{\sffamily\scriptsize\color{gray!50!black}% \textbf{Disclaimer}: The opinions expressed in this document are in good faith and while every care has been taken in preparing it, \ifnobrand% @@ -315,7 +300,12 @@ could cause actual results and developments to differ materially from those expressed or implied in the predictive statements. Therefore, such information is provided for reference purpose - only and constitutes neither an offer nor an acceptance. \thecompany{} + only and constitutes neither an offer nor an acceptance. + \ifnobrand% + The author% + \else% + \thecompany{}% + \fi may change the information at any time without notice. \end{minipage} \end{center}% |