diff options
Diffstat (limited to 'macros/latex/contrib/huawei/huawei.tex')
-rw-r--r-- | macros/latex/contrib/huawei/huawei.tex | 36 |
1 files changed, 19 insertions, 17 deletions
diff --git a/macros/latex/contrib/huawei/huawei.tex b/macros/latex/contrib/huawei/huawei.tex index 3422c6ce40..46aad22902 100644 --- a/macros/latex/contrib/huawei/huawei.tex +++ b/macros/latex/contrib/huawei/huawei.tex @@ -21,15 +21,17 @@ % SOFTWARE. \documentclass[nobrand,nosecurity]{./huawei} +\usepackage{ffcode} +\usepackage{href-ul} \renewcommand*\thetitle{\LaTeX{} Class \ff{huawei}} \renewcommand*\thesubtitle{User's Guide} \renewcommand*\theauthor{\nospell{Yegor Bugayenko}} \begin{document} \maketitle -\ff{Version: 0.5.1} +\ff{Version: 0.6.0} \newline -\ff{Date: 2021/05/26} +\ff{Date: 2021/06/14} \section{Overview} @@ -87,7 +89,7 @@ In order to compile the document, just say \ff{make} on the command line. \section{Layout Options} There are a few class options, provided in square brackets after the -\ff{\textbackslash{}documentclass}, which can help you fine-tune +\ff{\char`\\documentclass}, which can help you fine-tune the layout of your document: \ff{landscape} @@ -98,7 +100,7 @@ the layout of your document: \ff{nocover} avoid printing the cover images on the first page by the - \ff{\textbackslash{}PrintTitlePage} command. + \ff{\char`\\PrintTitlePage} command. \ff{anonymous} removes the name of the author everywhere, including the bottom @@ -137,25 +139,25 @@ Hello, world! \end{document} \end{minted} -It's recommended to use \ff{\textbackslash{}renewcommand*} instead of -\ff{\textbackslash{}renewcommand} in order to let \LaTeX{} catch you +It's recommended to use \ff{\char`\\renewcommand*} instead of +\ff{\char`\\renewcommand} in order to let \LaTeX{} catch you if by mistake a new line gets into the content. The following meta commands are defined: -\ff{\textbackslash{}thetitle} is the main title of the document +\ff{\char`\\thetitle} is the main title of the document to be used in the text and in the properties of the PDF document. -\ff{\textbackslash{}thesubtitle} is the subtitle to be +\ff{\char`\\thesubtitle} is the subtitle to be printed under the title. -\ff{\textbackslash{}theauthor} is the author of the document +\ff{\char`\\theauthor} is the author of the document in ``first-name last-name'' format. -\ff{\textbackslash{}theid} is the internal ID of the author, if +\ff{\char`\\theid} is the internal ID of the author, if it's applicable. -\ff{\textbackslash{}thesecurity} is the level of security of +\ff{\char`\\thesecurity} is the level of security of the document, which is usually printed at the top right corner of it; usual values are ``Internal,'' ''Confidential,'' or ``Secret.'' @@ -168,28 +170,28 @@ renew them in your document, nothing will be printed. There is a number of supplementary commands for better text formatting, which we introduced: -\ff{\textbackslash{}ff\{text\}} +\ff{\char`\\ff\{text\}} makes the text fixed-font with a nice border around. -\ff{\textbackslash{}tbd\{text\}} +\ff{\char`\\tbd\{text\}} highlights the text, which is expected to be improved later (tbd stands for ``To Be Determined''), like \tbd{this one}. Inside the document body you can use these commands: -\ff{\textbackslash{}PrintFirstPage\{front-image\}} +\ff{\char`\\PrintFirstPage\{front-image\}} prints the first page of a project charter or a similar landscape documents, placing the image \ff{front-image.pdf} on the front (the file should be present in the current dir. If you don't have the front image file, just leave the first argument empty. -\ff{\textbackslash{}PrintLastPage\{\}} +\ff{\char`\\PrintLastPage\{\}} prints the last page of a project charter or a similar landscape document. -\ff{\textbackslash{}PrintThankYouPage\{\}} +\ff{\char`\\PrintThankYouPage\{\}} prints the last page with a "Thank You" message in the center. -\ff{\textbackslash{}PrintDisclaimer\{\}} +\ff{\char`\\PrintDisclaimer\{\}} prints a paragraph at the bottom of the page with a standard disclaimer. \section{Best Practices} |