Skip to content

Commit

Permalink
Rewrite mathin
Browse files Browse the repository at this point in the history
  • Loading branch information
astonzhang authored Aug 16, 2023
1 parent fcdead8 commit d8addf7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions d2lbook/sphinx_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,9 @@ class MyReferenceStyle(AuthorYearReferenceStyle):
% Rewrite mathsf
\DeclareMathAlphabet {\newmathsf}{OT1}{cmss}{m}{n}
\renewcommand{\mathsf}[1]{\newmathsf{#1}}
% Rewrite mathit
\DeclareMathAlphabet {\newmathit}{OT1}{cmr}{m}{it}
\renewcommand{\mathit}[1]{\newmathit{#1}}
% Resize all figures
\let\ORIincludegraphics\includegraphics
Expand Down

0 comments on commit d8addf7

Please sign in to comment.