summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/huawei
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2021-06-27 03:01:41 +0000
committerNorbert Preining <norbert@preining.info>2021-06-27 03:01:41 +0000
commita090105758cdab68b58246a8aea7cb79dc168501 (patch)
tree367d8c9718710cbba51d660b61273b20fb056080 /macros/latex/contrib/huawei
parent3d1055e1e00548f29b9d4ba0a79c717b9b6b2ae3 (diff)
CTAN sync 202106270301
Diffstat (limited to 'macros/latex/contrib/huawei')
-rw-r--r--macros/latex/contrib/huawei/huawei-cover-picture.pdf (renamed from macros/latex/contrib/huawei/cover-picture.pdf)bin253724 -> 253724 bytes
-rw-r--r--macros/latex/contrib/huawei/huawei.cls38
-rw-r--r--macros/latex/contrib/huawei/huawei.pdfbin336307 -> 336211 bytes
-rw-r--r--macros/latex/contrib/huawei/huawei.tex7
-rw-r--r--macros/latex/contrib/huawei/samples/huawei-cfp.tex2
5 files changed, 34 insertions, 13 deletions
diff --git a/macros/latex/contrib/huawei/cover-picture.pdf b/macros/latex/contrib/huawei/huawei-cover-picture.pdf
index 6717a9ff35..6717a9ff35 100644
--- a/macros/latex/contrib/huawei/cover-picture.pdf
+++ b/macros/latex/contrib/huawei/huawei-cover-picture.pdf
Binary files differ
diff --git a/macros/latex/contrib/huawei/huawei.cls b/macros/latex/contrib/huawei/huawei.cls
index 61a99c65be..fd0203571e 100644
--- a/macros/latex/contrib/huawei/huawei.cls
+++ b/macros/latex/contrib/huawei/huawei.cls
@@ -21,10 +21,12 @@
% SOFTWARE.
\NeedsTeXFormat{LaTeX2e}
-\ProvidesClass{huawei}[2021/06/15 0.6.1 Template for Huawei Documents]
+\ProvidesClass{huawei}[2021/06/26 0.7.0 Template for Huawei Documents]
\newif\ifnosecurity
\DeclareOption{nosecurity}{\nosecuritytrue}
+\newif\ifauthordraft
+\DeclareOption{authordraft}{\authordrafttrue}
\newif\ifnobrand
\DeclareOption{nobrand}{\nobrandtrue}
\newif\ifnodate
@@ -149,7 +151,13 @@
\renewcommand{\headrulewidth}{0pt}
\fancyhf{}
\fancyfoot[L]{
- \LeftHuaweiBar{}
+ \ifauthordraft%
+ \begin{textblock}{14}[0.5,0.5](8,8)%
+ \tikz \node[minimum width=14\TPHorizModule] {%
+ \fontsize{64}{64}\selectfont\sffamily\scshape\color{gray!20}\rotatebox{30}{it is a draft}
+ };%
+ \end{textblock}%
+ \else\fi%
\ifnum\value{page}=1\else%
\ifnobrand\else%
\begin{textblock}{8}[0,0](1.2,0.2)%
@@ -207,17 +215,27 @@
{\color{gray!50!black}\large\thesubtitle}
\fi
\\[18pt]
- \ifanonymous\else%
- \ifx\thecompany\empty\else%
- \thecompany\newline
+ \ifnobrand\else%
+ \ifanonymous\else%
+ \ifx\thecompany\empty\else%
+ \thecompany\newline
+ \fi
\fi
\fi
\ifx\theauthor\empty\else%
- {\scshape\theauthor}%
+ {\scshape\ifanonymous
+ Anonymous Authors
+ \else%
+ \theauthor
+ \fi}%
\fi%
- \ifx\theauthor\empty\else
- \ifx\theid\empty\else
- \;/ {\theid}
+ \ifanonymous\else%
+ \ifx\theauthor\empty\else
+ \ifnobrand\else%
+ \ifx\theid\empty\else
+ \;/ {\theid}
+ \fi
+ \fi
\fi
\fi\newline
\vspace{2em}
@@ -264,7 +282,7 @@
\maketitle
\iflandscape\ifnocover\else
\begin{textblock}{14}[1,1](14,14)
- \raggedleft\includegraphics[height=3.6in]{cover-picture.pdf}
+ \raggedleft\includegraphics[height=3.6in]{huawei-cover-picture.pdf}
\end{textblock}
\fi\fi
}
diff --git a/macros/latex/contrib/huawei/huawei.pdf b/macros/latex/contrib/huawei/huawei.pdf
index fde534fd9f..3c77d7e895 100644
--- a/macros/latex/contrib/huawei/huawei.pdf
+++ b/macros/latex/contrib/huawei/huawei.pdf
Binary files differ
diff --git a/macros/latex/contrib/huawei/huawei.tex b/macros/latex/contrib/huawei/huawei.tex
index 07d7d66d87..4a78656c98 100644
--- a/macros/latex/contrib/huawei/huawei.tex
+++ b/macros/latex/contrib/huawei/huawei.tex
@@ -29,9 +29,9 @@
\begin{document}
\maketitle
-\ff{Version: 0.6.1}
+\ff{Version: 0.7.0}
\newline
-\ff{Date: 2021/06/15}
+\ff{Date: 2021/06/26}
\section{Overview}
@@ -123,6 +123,9 @@ the layout of your document:
\ff{nopaging}
avoids page numbers at the bottom of each page.
+\ff{authordraft}
+ prints a big ``It's a draft'' message across each page.
+
\section{Preamble}
In the preamble you can specify meta information about the document,
diff --git a/macros/latex/contrib/huawei/samples/huawei-cfp.tex b/macros/latex/contrib/huawei/samples/huawei-cfp.tex
index 432a3ae27f..5811852155 100644
--- a/macros/latex/contrib/huawei/samples/huawei-cfp.tex
+++ b/macros/latex/contrib/huawei/samples/huawei-cfp.tex
@@ -20,7 +20,7 @@
% OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
% SOFTWARE.
-\documentclass[nobrand,nosecurity,anonymous,nopaging]{../huawei}
+\documentclass[nobrand,nosecurity,anonymous,nopaging,authordraft]{../huawei}
\usepackage{ffcode}
\renewcommand*\thetitle{Test Call for Proposal}
\renewcommand*\theauthor{Yegor Bugayenko}