brackets problem

This commit is contained in:
EthanDeng
2022-09-18 20:01:29 +08:00
parent 3f2c2b8bea
commit d8e407917e
2 changed files with 2 additions and 2 deletions

View File

@@ -45,7 +45,7 @@ This template is based on the standard \LaTeX{} article class, hence the argumen
Language mode option \lstinline{lang} allows two alternative inputs, \lstinline{lang=en} (default) for English or \lstinline{lang=cn} for Chinese. \lstinline{lang=cn} will make the caption of figure/table, abstract name, refname etc. Chinese. You can use this option as
\begin{lstlisting}
\documentclass[lang=cn]{elegantpaper} % or
\documentclass{cn}{elegantpaper}
\documentclass[cn]{elegantpaper}
\end{lstlisting}
\textbf{Note:} Under the English mode \lstinline{lang=en}, Chinese characters are not allowed. To type in Chinese, please load \lstinline{ctex} or \lstinline{xeCJK} package at the preamble as:
\begin{lstlisting}