diff options
author | Norbert Preining <norbert@preining.info> | 2021-08-26 03:02:29 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2021-08-26 03:02:29 +0000 |
commit | 059cab71c68a3fbee36f60e8208d4a47d11c6b60 (patch) | |
tree | c982bcbf00c931a1474d68bf51dfeba5918cf76c /macros/latex/contrib/huawei | |
parent | 960421b0bcd1af561be3f2eb9468224969a7bd34 (diff) |
CTAN sync 202108260302
Diffstat (limited to 'macros/latex/contrib/huawei')
-rw-r--r-- | macros/latex/contrib/huawei/huawei.cls | 6 | ||||
-rw-r--r-- | macros/latex/contrib/huawei/huawei.pdf | bin | 336961 -> 333239 bytes | |||
-rw-r--r-- | macros/latex/contrib/huawei/huawei.tex | 38 |
3 files changed, 6 insertions, 38 deletions
diff --git a/macros/latex/contrib/huawei/huawei.cls b/macros/latex/contrib/huawei/huawei.cls index 9dabf913a4..5a8442e6f0 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/08/06 0.9.0 Template for Huawei Documents] +\ProvidesClass{huawei}[2021/08/25 0.9.1 Template for Huawei Documents] \newif\ifXL \DeclareOption{XL}{\XLtrue} @@ -194,8 +194,8 @@ \headers{% \ifanonymous\else% \theauthor% - \ifnosecurity\else, - \theid + \ifnosecurity\else% + \ifx\theid\empty\else,\theid\fi \fi% \ifnobrand\else% \newline diff --git a/macros/latex/contrib/huawei/huawei.pdf b/macros/latex/contrib/huawei/huawei.pdf Binary files differindex ce0d26f55b..8fa0f47c80 100644 --- a/macros/latex/contrib/huawei/huawei.pdf +++ b/macros/latex/contrib/huawei/huawei.pdf diff --git a/macros/latex/contrib/huawei/huawei.tex b/macros/latex/contrib/huawei/huawei.tex index 226f2980e0..15a3b9bddc 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.9.0} +\ff{Version: 0.9.1} \newline -\ff{Date: 2021/08/06} +\ff{Date: 2021/08/25} \section{Overview} @@ -59,7 +59,6 @@ of your project here): story\ .latexmkrc .gitignore - Makefile story.tex \end{minted} @@ -74,16 +73,6 @@ by \ff{pdflatex} during the compilation. You don't need to commit them to your repository, since they are temporary and will be generated again when you compile your document. -The recommended content of the \ff{Makefile} would be this: - -\begin{minted}{text} -TEXS=$(wildcard *.tex) -PDFS=$(TEXS:.tex=.pdf) -all: $(PDFS) -%.pdf: %.tex - latexmk -pdf $< -\end{minted} - In order to compile the document, just say \ff{make} on the command line. \section{Layout Options} @@ -139,7 +128,7 @@ such as its title or author's name, here is how: \begin{minted}{text} \documentclass{huawei} -\renewcommand*\thetitle{Making Compression 15% Faster} +\renewcommand*\thetitle{Making Compression 15\% Faster} \renewcommand*\thesubtitle{Technical Report} \renewcommand*\theauthor{Yegor Bugayenko} \begin{document} @@ -249,25 +238,4 @@ we recommend you to use ``crumbs'': A more complete example is in the \ff{samples/huawei-charter.tex}. -\subsection{Code Blocks} - -When you need to show some source code, we recommend to use -\ff{minted} environment, for example: - -\begin{minted}{text} -\begin{minted}{text} -void foo() { - return "Hello, world!"; -} -\ end{minted} -\end{minted} - -This is what you will see: - -\begin{minted}{text} -void foo() { - return "Hello, world!"; -} -\end{minted} - \end{document}
\ No newline at end of file |