Compare commits

...

2 Commits

2 changed files with 10 additions and 10 deletions

View File

@ -21,7 +21,7 @@ $MATH$
\section{is this bold $MATH \Z$?} \section{is this bold $MATH \Z$?}
\section{这是bold $\text{你好abc}\R$?} \section{这是bold $\text{你好abc}\R$?}
\begin{theorem}[sbada] \begin{theorem}[sbada]
aaa aaa 中文
\end{theorem} \end{theorem}
\begin{equation} \begin{equation}

View File

@ -12,14 +12,14 @@
% Now use the conditional % Now use the conditional
\ifmyctex@sans \ifmyctex@sans
\setCJKmainfont{Source Han Sans SC} \setCJKmainfont{Source Han Sans SC}[BoldFont=*, ItalicFont=*]
\setCJKsansfont{Source Han Sans SC} \setCJKsansfont{Source Han Sans SC}
\setCJKmonofont{Source Han Sans SC} \setCJKmonofont{Source Han Sans SC}
\usepackage[fira]{fontsetup} \usepackage[fira]{fontsetup}
\usepackage{FiraMono} \usepackage{FiraMono}
\else \else
\setCJKmainfont{Source Han Serif SC} \setCJKmainfont{Source Han Serif SC}[BoldFont=*, ItalicFont=*]
\setCJKsansfont{Source Han Serif SC} \setCJKsansfont{Source Han Serif SC}
\setCJKmonofont{Source Han Serif SC} \setCJKmonofont{Source Han Serif SC}
\RequirePackage[charter]{mathdesign} % math font only for serif mode \RequirePackage[charter]{mathdesign} % math font only for serif mode
@ -121,13 +121,13 @@
% I give up. These are in the wrong font, but my kludged versions % I give up. These are in the wrong font, but my kludged versions
% LOOK like kludges, especially \Z, \Q, and \C. % LOOK like kludges, especially \Z, \Q, and \C.
% %
\def\Real{} \def\Real{\mathbb{R}}
\def\Proj{} \def\Proj{\mathbb{P}}
\def\Hyper{} \def\Hyper{\mathbb{H}}
\def\Integer{} \def\Integer{\mathbb{Z}}
\def\Natural{} \def\Natural{\mathbb{N}}
\def\Complex{} \def\Complex{\mathbb{C}}
\def\Rational{} \def\Rational{\mathbb{Q}}
\let\N\Natural \let\N\Natural
\let\Q\Rational \let\Q\Rational