From 14c35f512cbb281b5fa5d872e327d78e9dd2fd19 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 25 Aug 2021 20:04:44 +0000 Subject: huawei (25aug21) git-svn-id: svn://tug.org/texlive/trunk@60321 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/huawei/huawei.pdf | Bin 336961 -> 333239 bytes Master/texmf-dist/doc/latex/huawei/huawei.tex | 38 ++------------------------ Master/texmf-dist/tex/latex/huawei/huawei.cls | 6 ++-- 3 files changed, 6 insertions(+), 38 deletions(-) (limited to 'Master') diff --git a/Master/texmf-dist/doc/latex/huawei/huawei.pdf b/Master/texmf-dist/doc/latex/huawei/huawei.pdf index ce0d26f55b6..8fa0f47c804 100644 Binary files a/Master/texmf-dist/doc/latex/huawei/huawei.pdf and b/Master/texmf-dist/doc/latex/huawei/huawei.pdf differ diff --git a/Master/texmf-dist/doc/latex/huawei/huawei.tex b/Master/texmf-dist/doc/latex/huawei/huawei.tex index 226f2980e04..15a3b9bddc5 100644 --- a/Master/texmf-dist/doc/latex/huawei/huawei.tex +++ b/Master/texmf-dist/doc/latex/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 diff --git a/Master/texmf-dist/tex/latex/huawei/huawei.cls b/Master/texmf-dist/tex/latex/huawei/huawei.cls index 9dabf913a46..5a8442e6f08 100644 --- a/Master/texmf-dist/tex/latex/huawei/huawei.cls +++ b/Master/texmf-dist/tex/latex/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 -- cgit v1.2.3