diff options
author | Karl Berry <karl@freefriends.org> | 2024-12-17 21:11:11 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2024-12-17 21:11:11 +0000 |
commit | a6485037d4b2012b0d968119d3f51e1682b33353 (patch) | |
tree | 89adf2349aa520bc6cfa8cd3f658300177f708a9 /Master | |
parent | b8127e36e0624abc2a1535f2539bd0cd258387a2 (diff) |
huawei (17dec24)
git-svn-id: svn://tug.org/texlive/trunk@73148 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r-- | Master/texmf-dist/doc/latex/huawei/huawei.pdf | bin | 735500 -> 735877 bytes | |||
-rw-r--r-- | Master/texmf-dist/source/latex/huawei/huawei.dtx | 16 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/huawei/huawei.cls | 13 |
3 files changed, 19 insertions, 10 deletions
diff --git a/Master/texmf-dist/doc/latex/huawei/huawei.pdf b/Master/texmf-dist/doc/latex/huawei/huawei.pdf Binary files differindex 2fa35a673ff..e1df1557e3b 100644 --- a/Master/texmf-dist/doc/latex/huawei/huawei.pdf +++ b/Master/texmf-dist/doc/latex/huawei/huawei.pdf diff --git a/Master/texmf-dist/source/latex/huawei/huawei.dtx b/Master/texmf-dist/source/latex/huawei/huawei.dtx index 266de333875..32605c3f76c 100644 --- a/Master/texmf-dist/source/latex/huawei/huawei.dtx +++ b/Master/texmf-dist/source/latex/huawei/huawei.dtx @@ -50,7 +50,7 @@ %<class>\NeedsTeXFormat{LaTeX2e} %<class>\ProvidesClass{huawei} %<*class> -[2024-10-25 0.19.0 Template for Huawei Documents] +[2024-12-17 0.19.1 Template for Huawei Documents] %</class> %<*driver> \documentclass{ltxdoc} @@ -441,13 +441,17 @@ $pdflatex = 'pdflatex %O --shell-escape %S'; \RequirePackage{array} \RequirePackage[abspath]{currfile} \RequirePackage{wrapfig} -\RequirePackage{lastpage} \RequirePackage{tikz} \RequirePackage{tabularx} \RequirePackage{titling} \RequirePackage{svg} % \end{macrocode} +% Then, we include |lastpage| package to enable total counting of pages: +% \begin{macrocode} +\RequirePackage{lastpage} +% \end{macrocode} + % Then, we configure |libertine| font: % \begin{macrocode} \PassOptionsToPackage{tt=false,type1=true}{libertine} @@ -589,17 +593,19 @@ $pdflatex = 'pdflatex %O --shell-escape %S'; \end{textblock}% \ifdefined\huawei@nobrand\else% \begin{textblock}{8}[0,0.5](1,15.25)% - \large\textcolor{gray}{\thecompany{}}% + \fontsize{16}{16}\selectfont% + \textcolor{gray}{\thecompany{}}% \end{textblock}% \fi% \ifdefined\huawei@nosecurity\else% \begin{textblock}{8}[0.5,0.5](7,15.25)% - \large\centering\textcolor{gray}{\thesecurity}% + \fontsize{16}{16}\selectfont% + \centering\textcolor{gray}{\thesecurity}% \end{textblock}% \fi% \ifdefined\huawei@nopaging\else% \begin{textblock}{8}[1,0.5](12,15.25)% - \raggedleft\large% + \raggedleft\fontsize{16}{16}\selectfont% \textcolor{gray}{Page \#\thepage{} of \pageref*{LastPage}}% \end{textblock}% \fi% diff --git a/Master/texmf-dist/tex/latex/huawei/huawei.cls b/Master/texmf-dist/tex/latex/huawei/huawei.cls index 5b95674e5c1..9686f84812d 100644 --- a/Master/texmf-dist/tex/latex/huawei/huawei.cls +++ b/Master/texmf-dist/tex/latex/huawei/huawei.cls @@ -32,7 +32,7 @@ \NeedsTeXFormat{LaTeX2e} \ProvidesClass{huawei} -[2024-10-25 0.19.0 Template for Huawei Documents] +[2024-12-17 0.19.1 Template for Huawei Documents] @@ -148,12 +148,13 @@ \RequirePackage{array} \RequirePackage[abspath]{currfile} \RequirePackage{wrapfig} -\RequirePackage{lastpage} \RequirePackage{tikz} \RequirePackage{tabularx} \RequirePackage{titling} \RequirePackage{svg} +\RequirePackage{lastpage} + \PassOptionsToPackage{tt=false,type1=true}{libertine} \RequirePackage{libertine} @@ -243,17 +244,19 @@ \end{textblock}% \ifdefined\huawei@nobrand\else% \begin{textblock}{8}[0,0.5](1,15.25)% - \large\textcolor{gray}{\thecompany{}}% + \fontsize{16}{16}\selectfont% + \textcolor{gray}{\thecompany{}}% \end{textblock}% \fi% \ifdefined\huawei@nosecurity\else% \begin{textblock}{8}[0.5,0.5](7,15.25)% - \large\centering\textcolor{gray}{\thesecurity}% + \fontsize{16}{16}\selectfont% + \centering\textcolor{gray}{\thesecurity}% \end{textblock}% \fi% \ifdefined\huawei@nopaging\else% \begin{textblock}{8}[1,0.5](12,15.25)% - \raggedleft\large% + \raggedleft\fontsize{16}{16}\selectfont% \textcolor{gray}{Page \#\thepage{} of \pageref*{LastPage}}% \end{textblock}% \fi% |