mirror of
https://github.com/congyu711/ctexsty.git
synced 2025-07-12 16:41:33 +08:00
Compare commits
No commits in common. "b9f4a1ed9c0e2043ab4053782fb3db57ea24ae15" and "19a8069aacd0110b2b008865701e212903e466a6" have entirely different histories.
b9f4a1ed9c
...
19a8069aac
2
main.tex
2
main.tex
@ -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}
|
||||||
|
18
myctex.sty
18
myctex.sty
@ -12,14 +12,14 @@
|
|||||||
|
|
||||||
% Now use the conditional
|
% Now use the conditional
|
||||||
\ifmyctex@sans
|
\ifmyctex@sans
|
||||||
\setCJKmainfont{Source Han Sans SC}[BoldFont=*, ItalicFont=*]
|
\setCJKmainfont{Source Han Sans SC}
|
||||||
\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}[BoldFont=*, ItalicFont=*]
|
\setCJKmainfont{Source Han Serif SC}
|
||||||
\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{\mathbb{R}}
|
\def\Real{ℝ}
|
||||||
\def\Proj{\mathbb{P}}
|
\def\Proj{ℙ}
|
||||||
\def\Hyper{\mathbb{H}}
|
\def\Hyper{ℍ}
|
||||||
\def\Integer{\mathbb{Z}}
|
\def\Integer{ℤ}
|
||||||
\def\Natural{\mathbb{N}}
|
\def\Natural{ℕ}
|
||||||
\def\Complex{\mathbb{C}}
|
\def\Complex{ℂ}
|
||||||
\def\Rational{\mathbb{Q}}
|
\def\Rational{ℚ}
|
||||||
|
|
||||||
\let\N\Natural
|
\let\N\Natural
|
||||||
\let\Q\Rational
|
\let\Q\Rational
|
||||||
|
Loading…
x
Reference in New Issue
Block a user