summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r--Master/texmf-dist/tex/latex/huawei/huawei.cls88
1 files changed, 56 insertions, 32 deletions
diff --git a/Master/texmf-dist/tex/latex/huawei/huawei.cls b/Master/texmf-dist/tex/latex/huawei/huawei.cls
index c05ba701754..9dabf913a46 100644
--- a/Master/texmf-dist/tex/latex/huawei/huawei.cls
+++ b/Master/texmf-dist/tex/latex/huawei/huawei.cls
@@ -21,8 +21,12 @@
% SOFTWARE.
\NeedsTeXFormat{LaTeX2e}
-\ProvidesClass{huawei}[2021/07/15 0.8.0 Template for Huawei Documents]
+\ProvidesClass{huawei}[2021/08/06 0.9.0 Template for Huawei Documents]
+\newif\ifXL
+\DeclareOption{XL}{\XLtrue}
+\newif\ifXXL
+\DeclareOption{XXL}{\XXLtrue}
\newif\ifnosecurity
\DeclareOption{nosecurity}{\nosecuritytrue}
\newif\ifauthordraft
@@ -101,6 +105,22 @@
\newcommand\headers[1]{\setstretch{0.8}{\small\sffamily\color{gray}#1\par}}
\newcommand\crumb[2]{\begin{minipage}{\columnwidth}\raggedright\textsc{#1}:\\#2\end{minipage}\vspace{4pt}}
+\usepackage{titlesec}
+ \ifXL
+ \titleformat*{\section}{\LARGE\bfseries}
+ \titleformat*{\subsection}{\Large\bfseries}
+ \titleformat*{\subsubsection}{\large\bfseries}
+ \titleformat*{\paragraph}{\large\bfseries}
+ \titleformat*{\subparagraph}{\large\bfseries}
+ \fi
+ \ifXXL
+ \titleformat*{\section}{\huge\bfseries}
+ \titleformat*{\subsection}{\LARGE\bfseries}
+ \titleformat*{\subsubsection}{\Large\bfseries}
+ \titleformat*{\paragraph}{\large\bfseries}
+ \titleformat*{\subparagraph}{\large\bfseries}
+ \fi
+
\AtBeginDocument{%
\raggedbottom%
\setlength\topskip{0mm}%
@@ -108,6 +128,8 @@
\setlength\parskip{6pt}%
\setlength\columnsep{32pt}%
\def\arraystretch{1.5}%
+ \ifXL\large\fi
+ \ifXXL\Large\fi
}
\newcommand\LeftHuaweiBar{%
@@ -240,7 +262,8 @@
\newpage
\vspace*{\fill}
\begin{center}
- {\Huge\color{huawei-red}\textbf{Thank you!}}
+ \normalsize
+ {\Huge\color{huawei-red}\textbf{Thank you!}}
\end{center}
\vspace*{\fill}
}
@@ -298,41 +321,42 @@
\newpage
\vspace*{1in}
\begin{center}
- \begin{minipage}{0.6\columnwidth}\raggedright
- \setlength{\parskip}{6pt}
- {\Huge\color{huawei-red}\textbf{Thank you!}}
+ \begin{minipage}{0.6\columnwidth}\raggedright
+ \normalsize
+ \setlength{\parskip}{6pt}
+ {\Huge\color{huawei-red}\textbf{Thank you!}}
- \vspace{0.5in}
+ \vspace{0.5in}
- \begin{CJK}{UTF8}{gbsn}
- 把数字世界带入每个人、每个家庭、
每个组织、构建万物互联的智能世界。
- \end{CJK}
+ \begin{CJK}{UTF8}{gbsn}
+ 把数字世界带入每个人、每个家庭、
每个组织、构建万物互联的智能世界。
+ \end{CJK}
- Bring digital to every person, home and organization
- \newline
- for a fully connected, intelligent world.
+ Bring digital to every person, home and organization
+ \newline
+ for a fully connected, intelligent world.
- \textbf{%
- Copyright \copyright{} \the\year{} \thecompany{}
- \newline
- All Rights Reserved.%
- }
+ \textbf{%
+ Copyright \copyright{} \the\year{} \thecompany{}
+ \newline
+ All Rights Reserved.%
+ }
- The information in this document may contain predictive
- statements including, without limitation, statements regarding
- the future financial and operating results, future product
- portfolio, new technology, etc. There are a number of factors that
- 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.
- \ifnobrand%
- The author%
- \else%
- \thecompany{}%
- \fi
- may change the information at any time without notice.
- \end{minipage}
+ The information in this document may contain predictive
+ statements including, without limitation, statements regarding
+ the future financial and operating results, future product
+ portfolio, new technology, etc. There are a number of factors that
+ 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.
+ \ifnobrand%
+ The author%
+ \else%
+ \thecompany{}%
+ \fi
+ may change the information at any time without notice.
+ \end{minipage}
\end{center}%
}