summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/huawei/huawei.cls
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/huawei/huawei.cls')
-rw-r--r--macros/latex/contrib/huawei/huawei.cls10
1 files changed, 8 insertions, 2 deletions
diff --git a/macros/latex/contrib/huawei/huawei.cls b/macros/latex/contrib/huawei/huawei.cls
index 0d63a46f55..ed4894a805 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/10/26 0.13.1 Template for Huawei Documents]
+\ProvidesClass{huawei}[2021/11/11 0.13.2 Template for Huawei Documents]
\LoadClass[12pt]{article}
@@ -55,10 +55,16 @@
\else
\geometry{a4paper, left=1.5in, right=1in, top=1.2in, bottom=1.2in}
\fi\makeatother
+
+\makeatletter\ifhuawei@slides
+ \usepackage[fontsize=24pt]{fontsize}
+\fi\makeatother
+
\RequirePackage[T1]{fontenc}
\RequirePackage[utf8]{inputenc}
\RequirePackage{CJKutf8}
\RequirePackage{tabularx}
+\RequirePackage{anyfontsize}
\RequirePackage{multicol}
\RequirePackage{ragged2e}
\RequirePackage{multicol}
@@ -176,7 +182,7 @@
\makeatletter\fancyfoot[R]{
\begin{textblock}{8}[0,1](1.2,15.8)%
\ifnum\value{page}=1\else%
- \huawei@header{%
+ \huawei@header{\raggedright%
\ifhuawei@anonymous\else%
\theauthor%
\ifhuawei@nosecurity\else%