summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/huawei/huawei.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-05-26 20:03:44 +0000
committerKarl Berry <karl@freefriends.org>2021-05-26 20:03:44 +0000
commit8d1fa48748e36b37a06fc39b09607159e1586f90 (patch)
treeb7a1d66e9903af87a5c8ba30f0b0062b55473e9e /Master/texmf-dist/doc/latex/huawei/huawei.tex
parente640388bf9987e44c8dec30ce5654e8870070773 (diff)
huawei (26may21)
git-svn-id: svn://tug.org/texlive/trunk@59357 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/huawei/huawei.tex')
-rw-r--r--Master/texmf-dist/doc/latex/huawei/huawei.tex25
1 files changed, 23 insertions, 2 deletions
diff --git a/Master/texmf-dist/doc/latex/huawei/huawei.tex b/Master/texmf-dist/doc/latex/huawei/huawei.tex
index dc9904a0d4a..3422c6ce403 100644
--- a/Master/texmf-dist/doc/latex/huawei/huawei.tex
+++ b/Master/texmf-dist/doc/latex/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