diff options
author | Karl Berry <karl@freefriends.org> | 2021-08-25 20:04:44 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-08-25 20:04:44 +0000 |
commit | 14c35f512cbb281b5fa5d872e327d78e9dd2fd19 (patch) | |
tree | 29002ba3dd71495d35bec7afdf8b08f6fb1ac35b | |
parent | b78496e345c38c0cc7e8df07a9ddf0be7b89796c (diff) |
huawei (25aug21)
git-svn-id: svn://tug.org/texlive/trunk@60321 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r-- | Master/texmf-dist/doc/latex/huawei/huawei.pdf | bin | 336961 -> 333239 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/huawei/huawei.tex | 38 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/huawei/huawei.cls | 6 |
3 files changed, 6 insertions, 38 deletions
diff --git a/Master/texmf-dist/doc/latex/huawei/huawei.pdf b/Master/texmf-dist/doc/latex/huawei/huawei.pdf Binary files differindex ce0d26f55b6..8fa0f47c804 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/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 |