correct mathbb font

This commit is contained in:
Yu Cong 2025-05-06 09:43:06 +08:00
parent b3ae4ccec4
commit 52c76c4f97
2 changed files with 13 additions and 10 deletions

View File

@ -1,15 +1,21 @@
% !TEX program = xelatex
% !TEX TS-program = xelatex
% fonts
\RequirePackage{fontspec}
% \usefonttheme{professionalfonts}
% \RequirePackage[sfdefault]{FiraSans}
\RequirePackage{FiraMono}
\renewcommand{\rmfamily}{\sffamily}
% \RequirePackage[fakebold]{firamath-otf}
\RequirePackage{unicode-math}
\RequirePackage{amsmath}
\RequirePackage{amsthm}
\RequirePackage{amssymb}
\RequirePackage{inputenc}
\unimathsetup{math-style=ISO, bold-style=ISO, mathrm=sym}
\setsansfont{FiraGO}[BoldFont=* SemiBold, Numbers=Monospaced]
\setmathfont{Fira Math}[BoldFont=*-SemiBold]
% \setmathfont[range=bb]{XITS Math Bold}
\RequirePackage{xeCJK}
\setCJKmainfont{Source Han Sans SC}
\setCJKsansfont{Source Han Sans SC}
@ -31,9 +37,6 @@
% \RequirePackage[ruled,linesnumbered]{algorithm2e}
% \RequirePackage{adjustbox}
\RequirePackage{subcaption}
\RequirePackage{amsmath}
\RequirePackage{amsthm}
% \RequirePackage[utf8]{inputenc}
% \RequirePackage{CJKutf8}
% \def\zh#1{\begin{CJK}{UTF8}{gbsn}#1\end{CJK}}
\RequirePackage{aliascnt}
@ -187,13 +190,13 @@
% I give up. These are in the wrong font, but my kludged versions
% LOOK like kludges, especially \Z, \Q, and \C.
%
\def\Real{\mathbb{R}}
\def\Proj{\mathbb{P}}
\def\Hyper{\mathbb{H}}
\def\Integer{\mathbb{Z}}
\def\Natural{\mathbb{N}}
\def\Complex{\mathbb{C}}
\def\Rational{\mathbb{Q}}
\def\Real{}
\def\Proj{}
\def\Hyper{}
\def\Integer{}
\def\Natural{}
\def\Complex{}
\def\Rational{}
\let\N\Natural
\let\Q\Rational

BIN
main.pdf

Binary file not shown.