diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex')
-rw-r--r-- | Master/texmf-dist/doc/latex/huawei/DEPENDS.txt | 18 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/huawei/LICENSE.txt | 21 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/huawei/README.md | 5 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/huawei/huawei.pdf | bin | 333139 -> 413691 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/huawei/huawei.tex | 243 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/huawei/samples/huawei-cfp.tex | 58 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/huawei/samples/huawei-charter.tex | 67 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/huawei/samples/huawei-main.bib | 36 |
8 files changed, 33 insertions, 415 deletions
diff --git a/Master/texmf-dist/doc/latex/huawei/DEPENDS.txt b/Master/texmf-dist/doc/latex/huawei/DEPENDS.txt index c2a24eeddba..22b1f7e9306 100644 --- a/Master/texmf-dist/doc/latex/huawei/DEPENDS.txt +++ b/Master/texmf-dist/doc/latex/huawei/DEPENDS.txt @@ -1,19 +1,12 @@ hard geometry -hard fontenc -hard inputenc -hard CJKutf8 -hard tabularx hard anyfontsize -hard multicol hard ragged2e -hard multicol hard datetime hard libertine hard paralist hard makecell hard footmisc hard graphicx -hard array hard hyperref hard currfile hard enumitem @@ -23,7 +16,7 @@ hard lastpage hard setspace hard biblatex hard xcolor -hard tikz +hard pgf hard tabularx hard titling hard svg @@ -31,3 +24,12 @@ hard textpos hard fancyhdr hard changepage hard pagecolor +hard fmtcount +hard filehook +hard scrbase +hard trimspaces +hard catchfile +hard transparent +hard fontsize +hard ffcode +hard environ
\ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/huawei/LICENSE.txt b/Master/texmf-dist/doc/latex/huawei/LICENSE.txt new file mode 100644 index 00000000000..bd949ffdabc --- /dev/null +++ b/Master/texmf-dist/doc/latex/huawei/LICENSE.txt @@ -0,0 +1,21 @@ +(The MIT License) + +Copyright (c) 2021-2022 Yegor Bugayenko + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the 'Software'), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/Master/texmf-dist/doc/latex/huawei/README.md b/Master/texmf-dist/doc/latex/huawei/README.md index 8e3278065e1..b7a0640cf2a 100644 --- a/Master/texmf-dist/doc/latex/huawei/README.md +++ b/Master/texmf-dist/doc/latex/huawei/README.md @@ -1,4 +1,5 @@ -[![make](https://github.com/yegor256/huawei.cls/actions/workflows/latexmk.yml/badge.svg)](https://github.com/yegor256/huawei.cls/actions/workflows/latexmk.yml) +[![make](https://github.com/yegor256/huawei.cls/actions/workflows/l3build.yml/badge.svg)](https://github.com/yegor256/huawei.cls/actions/workflows/l3build.yml) +[![CTAN](https://img.shields.io/ctan/v/huawei)](https://ctan.org/pkg/huawei) [![License](https://img.shields.io/badge/license-MIT-green.svg)](https://github.com/yegor256/huawei.cls/blob/master/LICENSE.txt) Disclaimer: This is **NOT** a product of Huawei Technologies Co., Ltd. @@ -22,8 +23,6 @@ Hello, world! Read the detailed documentation [in PDF](http://mirrors.ctan.org/macros/latex/contrib/huawei/huawei.pdf). -Find more examples in the [`samples/`](/samples) directory. - If you need more formatting options, [submit an issue](https://github.com/yegor256/huawei.cls/issues), I'll implement them. diff --git a/Master/texmf-dist/doc/latex/huawei/huawei.pdf b/Master/texmf-dist/doc/latex/huawei/huawei.pdf Binary files differindex e8655d5565e..0bf288e449f 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 deleted file mode 100644 index 7de97f558b6..00000000000 --- a/Master/texmf-dist/doc/latex/huawei/huawei.tex +++ /dev/null @@ -1,243 +0,0 @@ -% (The MIT License) -% -% Copyright (c) 2021 Yegor Bugayenko -% -% Permission is hereby granted, free of charge, to any person obtaining a copy -% of this software and associated documentation files (the 'Software'), to deal -% in the Software without restriction, including without limitation the rights -% to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -% copies of the Software, and to permit persons to whom the Software is -% furnished to do so, subject to the following conditions: -% -% The above copyright notice and this permission notice shall be included in all -% copies or substantial portions of the Software. -% -% THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -% IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -% FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -% AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -% LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -% OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -% 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.13.2} -\newline -\ff{Date: 2021/11/11} - -\section{Overview} - -The provided class \ff{huawei} helps you design your work -documents and presentations keeping the code short and the -style elegant enough both for management and technical -papers. To use the class you simply mention its name -in the preamble: - -\begin{minted}{text} -\documentclass{huawei} -\begin{document} -Hello, world! -\end{document} -\end{minted} - -The document rendered from this \LaTeX{} code will look similar -to the document you are reading now. We recommend you to use -\ff{latexmk} to compile your \ff{.tex} files to \ff{.pdf}. -The simplest setup will require a few files staying next to your -\ff{.tex} file, in the same directory (``story'' is the name -of your project here): - -\begin{minted}{text} -story\ - .latexmkrc - .gitignore - story.tex -\end{minted} - -The content of your \ff{.latexmkrc} file would be this: - -\begin{minted}{text} -$pdflatex = 'pdflatex %O --shell-escape %S'; -\end{minted} - -Make sure the \ff{.gitignore} file lists all the files generated -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. - -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{\char`\\documentclass}, which can help you fine-tune -the layout of your document: - -\ff{landscape} - makes the document in landscape format, also changing the size - of the paper to 16x9 inches (the default page size is - \href{https://en.wikipedia.org/wiki/Paper_size}{A4}), - making it perfect for presentations. - -\ff{dark} - turns on a dark layout, where the page color is black and the text - is white. - -\ff{slides} - makes all headers a bit larger, assuming that the document - is in the landscape mode and being presented as a slide deck. - -\ff{nocover} - avoid printing the cover images on the first page by the - \ff{\char`\\PrintTitlePage} command. - -\ff{anonymous} - removes the name of the author everywhere, including the bottom - of the page, where the author's name stays next to the name of the - company. - -\ff{nobrand} - avoid mentioning the brand of Huawei anywhere - in the document and removes the logo too. - -\ff{nosecurity} - avoids mentioning the level of security at the right top - corner of the document and also avoids showing the ID of the author - where it usually is visible. - -\ff{nodate} - don't show the date and time at the bottom of each page, - where they usually are rendered in ISO~8601 format. - -\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, -such as its title or author's name, here is how: - -\begin{minted}{text} -\documentclass{huawei} -\renewcommand*\thetitle{Making Compression 15\% Faster} -\renewcommand*\thesubtitle{Technical Report} -\renewcommand*\theauthor{Yegor Bugayenko} -\begin{document} -\maketitle -Hello, world! -\end{document} -\end{minted} - -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{\char`\\thetitle} is the main title of the document - to be used in the text and in the properties of the PDF document. - -\ff{\char`\\thesubtitle} is the subtitle to be - printed under the title. - -\ff{\char`\\theauthor} is the author of the document - in ``first-name last-name'' format. - -\ff{\char`\\theid} is the internal ID of the author, if - it's applicable. - -\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.'' - -Default values of all these commands are empty. If you don't -renew them in your document, nothing will be printed. - -\section{Custom Commands} - -Inside the document body you can use these commands: - -\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{\char`\\PrintLastPage\{\}} - prints the last page of a project charter or a similar landscape document. - -\ff{\char`\\PrintThankYouPage\{\}} - prints the last page with a "Thank You" message in the center. - -\ff{\char`\\PrintDisclaimer\{\}} - prints a paragraph at the bottom of the page with a standard disclaimer. - -\section{Best Practices} - -You are free to design your documents any way you want. However, -it would be convenient for yourself and for your readers, if you follow -the convention we have for business and technical documents. -The \ff{samples} directory contains a number of sample documents, which -we suggest you to use as templates when you start making new documents. - -The rule of thumb is simple: try \emph{not} to format your documents. -Instead, let the class designed by us do this work for you. Just type -the content without changing the layout, adding colors, changing fonts, -etc. The less you modify the look-and-feel, the better your documents -will be perceived by your readers. - -\subsection{Two Columns} - -In the landscape format it's recommended to use two columns, for better -readability of the text. Here is how: - -\begin{minted}{text} -\documentclass{huawei} -\begin{document} -\newpage -\begin{multicols}{2} -\section*{First} -Here goes the first column content. -\columnbreak -\section*{Second} -Here goes the second column content. -\end{multicols} -\end{document} -\end{minted} - -A more complete example is in the \ff{samples/huawei-charter.tex}. - -\subsection{Crumbs} - -When you need to put many small information pieces into one page, -we recommend you to use ``crumbs'': - -\begin{minted}{text} -\documentclass{huawei} -\begin{document} -\newpage -\section*{Project Details} -\begin{multicols}{2} -\raggedright -\PrintCrumb{Budget}{\$100K} - -\PrintCrumb{Duration}{5 months} -\end{multicols} -\end{document} -\end{minted} - -A more complete example is in the \ff{samples/huawei-charter.tex}. - -\end{document}
\ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/huawei/samples/huawei-cfp.tex b/Master/texmf-dist/doc/latex/huawei/samples/huawei-cfp.tex deleted file mode 100644 index cbc9a6deadd..00000000000 --- a/Master/texmf-dist/doc/latex/huawei/samples/huawei-cfp.tex +++ /dev/null @@ -1,58 +0,0 @@ -% (The MIT License) -% -% Copyright (c) 2021 Yegor Bugayenko -% -% Permission is hereby granted, free of charge, to any person obtaining a copy -% of this software and associated documentation files (the 'Software'), to deal -% in the Software without restriction, including without limitation the rights -% to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -% copies of the Software, and to permit persons to whom the Software is -% furnished to do so, subject to the following conditions: -% -% The above copyright notice and this permission notice shall be included in all -% copies or substantial portions of the Software. -% -% THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -% IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -% FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -% AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -% LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -% OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -% SOFTWARE. - -\documentclass[nobrand,nosecurity,nopaging,authordraft]{../huawei} -\usepackage{ffcode} -\renewcommand*\thetitle{Test Call for Proposal} -\renewcommand*\theauthor{Yegor Bugayenko} -\addbibresource{huawei-main.bib} -\begin{document} - -\begin{abstract}This is just a demo document, to show how -this package works and formats simple business documents. This -block of text is the abstract.\end{abstract} - -\maketitle - -In this document you don't see the logo, because we use \ff{nobrand} -option of the class: - -\begin{minted}{text} -\documentclass[nobrand]{huawei} -\begin{document} -The rest of the document... -\end{document} -\end{minted} - -By the way, we use \TeX{} created by~\citet{knuth1984texbook} -and \LaTeX{} created by~\citet{lamport1994latex}. The citations -provided at the bottom of the document are printed via -\ff{\char`\\PrintBibliography}. - -The text in small font at the bottom of the page is printed by -the \ff{\char`\\PrintDisclaimer} command. - -\PrintDisclaimer - -\PrintBibliography - -\end{document}
\ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/huawei/samples/huawei-charter.tex b/Master/texmf-dist/doc/latex/huawei/samples/huawei-charter.tex deleted file mode 100644 index e352802f36e..00000000000 --- a/Master/texmf-dist/doc/latex/huawei/samples/huawei-charter.tex +++ /dev/null @@ -1,67 +0,0 @@ -% (The MIT License) -% -% Copyright (c) 2021 Yegor Bugayenko -% -% Permission is hereby granted, free of charge, to any person obtaining a copy -% of this software and associated documentation files (the 'Software'), to deal -% in the Software without restriction, including without limitation the rights -% to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -% copies of the Software, and to permit persons to whom the Software is -% furnished to do so, subject to the following conditions: -% -% The above copyright notice and this permission notice shall be included in all -% copies or substantial portions of the Software. -% -% THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -% IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -% FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -% AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -% LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -% OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -% SOFTWARE. - -\documentclass[landscape,nocover,XL,dark,slides]{../huawei} -% \renewcommand*\thetitle{Test Charter} -% \renewcommand*\thesubtitle{Technology Project Charter} -% \renewcommand*\theauthor{Yegor Bugayenko} -\begin{document} - -\PrintFirstPage{} - -\newpage -\section*{Project Details} -\begin{multicols}{2} -\raggedright -\PrintCrumb{Author and Project Manager}{\theauthor / \theid} - -\PrintCrumb{Project Name}{Making Compression 15\% Faster} - -\PrintCrumb{Technical Adviser}{Jeff Lebowski, 00112233} - -\PrintCrumb{Cooperation Manager}{Walter Sobchak, 00889977} - -\PrintCrumb{Budget}{\$99,999} - -\PrintCrumb{Duration}{8 months} - -\PrintCrumb{Export Control}{No} - -\PrintCrumb{AI Technology Involved}{No} - -\PrintCrumb{Hardware Supply}{No} - -\end{multicols} - -\newpage -\begin{multicols}{2} -\section*{Objectives} -The main objective of the project is to win the war -against poverty in the world. -\columnbreak -\section*{Novelty} -The idea of this project is very new and breakthrough. -\end{multicols} - -\PrintLastPage - -\end{document}
\ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/huawei/samples/huawei-main.bib b/Master/texmf-dist/doc/latex/huawei/samples/huawei-main.bib deleted file mode 100644 index d4e68d8ac8d..00000000000 --- a/Master/texmf-dist/doc/latex/huawei/samples/huawei-main.bib +++ /dev/null @@ -1,36 +0,0 @@ -% (The MIT License) -% -% Copyright (c) 2021 Yegor Bugayenko -% -% Permission is hereby granted, free of charge, to any person obtaining a copy -% of this software and associated documentation files (the 'Software'), to deal -% in the Software without restriction, including without limitation the rights -% to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -% copies of the Software, and to permit persons to whom the Software is -% furnished to do so, subject to the following conditions: -% -% The above copyright notice and this permission notice shall be included in all -% copies or substantial portions of the Software. -% -% THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -% IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -% FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -% AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -% LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -% OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -% SOFTWARE. - -@book{lamport1994latex, - title={\LaTeX{}: a Document Preparation System: User's Guide and Reference Manual}, - author={Lamport, Leslie}, - year={1994}, - publisher={Addison-Wesley} -} - -@book{knuth1984texbook, - title={The \TeX{}book}, - author={Knuth, Donald Ervin and Bibby, Duane}, - volume={15}, - year={1984}, - publisher={Addison-Wesley} -}
\ No newline at end of file |