Skip to content

Languages

EthanDeng edited this page Nov 16, 2019 · 5 revisions

We defined one option named lang, this option has two alternative values, lang=en (default) or lang=cn. Different values will alter the captions of figure/table, abstract name, refname, etc. You can use this option as

\documentclass[lang=cn]{elegantbook}
\documentclass[lang=en]{elegantbook}

Remark: Chinese Characters are acceptable whenever lang=en or lang=cn. If you would like to include Chinese characters under (lstlisting) environment, please use XeLaTeX to compile.

Clone this wiki locally