Languages

We defined one option named lang, this option has two alternative values, lang=en (default) or lang=cn. lang=cn will make the caption of figure/table, abstract name, refname etc. Chinese, while lang=en will keep all these stuff English, as the default article class sets. You can use this option as

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

Remark: You can input Chinese Character in either lang=en or lang=cn. If you are using (lstlisting) environment, and it contains Chinese characters, please use XeLaTeX.