mirror of
https://github.com/vincentdoerig/latex-css.git
synced 2024-09-11 04:46:36 +03:00
Chinese words using default font seems a little bit weird, so I rewrite the 'font-family' rule and add 3 fonts for OS compatibility. By the way, I also update languages.html for your convenience.
5 lines
462 B
CSS
5 lines
462 B
CSS
:lang(zh-hant) .theorem::before { content: '定理 ' counter(theorem) '. ' !important; }
|
|
:lang(zh-hant) .lemma::before { content: '引理 ' counter(theorem) '. ' !important; }
|
|
:lang(zh-hant) .proof::before { content: '證明:' attr(title) !important; font-style: normal; }
|
|
:lang(zh-hant) .definition::before { content: '定義 ' counter(definition) '. ' !important; }
|
|
:lang(zh-hant) ::before { font-family: 'Microsoft Yahei', 'STHeiti', 'Source Han Sans CN'; } |