| 1 |
# LaTeX Document Class |
| 2 |
|
| 3 |
[](https://github.com/yegor256/huawei.cls/actions/workflows/l3build.yml) |
| 4 |
[](https://ctan.org/pkg/huawei) |
| 5 |
[](https://github.com/yegor256/huawei.cls/blob/master/LICENSE.txt) |
| 6 |
|
| 7 |
Disclaimer: This is **NOT** a product of Huawei Technologies Co., Ltd. |
| 8 |
This package is created in order to help some people working |
| 9 |
with Huawei or inside Huawei to render some documents in LaTeX format. |
| 10 |
You are welcome to use it at your own risk. |
| 11 |
|
| 12 |
First, |
| 13 |
[install it](https://en.wikibooks.org/wiki/LaTeX/Installing_Extra_Packages) |
| 14 |
from [CTAN](https://ctan.org/pkg/huawei) |
| 15 |
and then use in the preamble: |
| 16 |
|
| 17 |
```tex |
| 18 |
\documentclass[landscape]{huawei} |
| 19 |
\renewcommand*\theauthor{Yegor Bugayenko} |
| 20 |
\renewcommand*\thetitle{An Interesting Document About Something} |
| 21 |
\begin{document} |
| 22 |
\maketitle |
| 23 |
Hello, world! |
| 24 |
\end{document} |
| 25 |
``` |
| 26 |
|
| 27 |
Otherwise, you can download |
| 28 |
[`huawei.cls`](https://yegor256.github.io/huawei.cls/huawei.cls) |
| 29 |
and add to your project. |
| 30 |
|
| 31 |
Read the detailed documentation |
| 32 |
[in PDF](http://mirrors.ctan.org/macros/latex/contrib/huawei/huawei.pdf). |
| 33 |
|
| 34 |
If you need more formatting options, |
| 35 |
[submit an issue](https://github.com/yegor256/huawei.cls/issues), |
| 36 |
I'll implement them. |
| 37 |
|
| 38 |
If you want to contribute yourself, make a fork, then create a branch, |
| 39 |
then run `make` in the root directory. |
| 40 |
It should compile everything without errors. If not, submit an issue and wait. |
| 41 |
Otherwise, make your changes and then run `make` again. If the build is |
| 42 |
still clean, submit a pull request. |