summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/huawei/huawei.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/huawei/huawei.tex')
-rw-r--r--macros/latex/contrib/huawei/huawei.tex25
1 files changed, 23 insertions, 2 deletions
diff --git a/macros/latex/contrib/huawei/huawei.tex b/macros/latex/contrib/huawei/huawei.tex
index dc9904a0d4..3422c6ce40 100644
--- a/macros/latex/contrib/huawei/huawei.tex
+++ b/macros/latex/contrib/huawei/huawei.tex
@@ -27,9 +27,9 @@
\begin{document}
\maketitle
-\ff{Version: 0.3.0}
+\ff{Version: 0.5.1}
\newline
-\ff{Date: 2021/05/24}
+\ff{Date: 2021/05/26}
\section{Overview}
@@ -248,4 +248,25 @@ 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