aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNao Pross <np@0hm.ch>2021-07-24 13:21:06 +0200
committerNao Pross <np@0hm.ch>2021-07-24 13:21:06 +0200
commit6058ae67ffc2281b1cc6e49b30b49288bbaec9c7 (patch)
treef89c5e3a51b40f685e5d08c8084c52cb5353f70a
parentUpdate HSR-Stud package (diff)
downloadFuVar-6058ae67ffc2281b1cc6e49b30b49288bbaec9c7.tar.gz
FuVar-6058ae67ffc2281b1cc6e49b30b49288bbaec9c7.zip
Fix some weird font issues
Diffstat (limited to '')
-rw-r--r--tex/hsrstud.sty12
-rw-r--r--tex/hsrzf.cls3
2 files changed, 9 insertions, 6 deletions
diff --git a/tex/hsrstud.sty b/tex/hsrstud.sty
index a599c16..97c148f 100644
--- a/tex/hsrstud.sty
+++ b/tex/hsrstud.sty
@@ -143,7 +143,7 @@
%%))
%% Vector ((
-\newcommand{\hsrvecbold}[1]{\mathbf{\boldsymbol{#1}}}
+\newcommand{\hsrvecbold}[1]{\mathbf{\bm{#1}}}
\newcommand{\hsrvecarrow}[1]{\vv{\mathrm{#1}}} % from esvect
\newcommand{\@hsrvecf}[1]{\hsrvecbold{#1}}
@@ -176,11 +176,11 @@
%% Products ((
\newcommand{\dotp}{\boldsymbol\cdot}
-\newcommand{\crossp}{\boldsymbol\times}
+\newcommand{\crossp}{\boldsymbol\crossp}
\newcommand{\cross}{\crossp}
%%))
-\newcommand{\mx}[1]{\mathbf{\boldsymbol{#1}}}
+\newcommand{\mx}[1]{\bm{\mathrm{#1}}}
\newcommand{\heq}{\stackrel{\hat{\texttt{H}}}{=}}
@@ -194,7 +194,7 @@
\ifhsr@textvecdiff
\DeclareMathOperator{\grad}{grad}
\else
- \DeclareMathOperator{\grad}{\nabla}
+ \newcommand{\grad}{\vec{\nabla}}
\fi
%% ))
@@ -202,7 +202,7 @@
\ifhsr@textvecdiff
\newcommand{\@hsrdivf}{div}
\else
- \newcommand{\@hsrdivf}{\nabla\cdot}
+ \newcommand{\@hsrdivf}{\vec{\nabla}\dotp}
\fi
\DeclareMathOperator{\divg}{\@hsrdivf}
@@ -216,7 +216,7 @@
\ifhsr@textvecdiff
\DeclareMathOperator{\curl}{curl}
\else
- \DeclareMathOperator{\curl}{\nabla\times}
+ \DeclareMathOperator{\curl}{\vec{\nabla}\crossp}
\fi
%% ))
diff --git a/tex/hsrzf.cls b/tex/hsrzf.cls
index e929e8d..79559c9 100644
--- a/tex/hsrzf.cls
+++ b/tex/hsrzf.cls
@@ -57,6 +57,9 @@
\RequirePackage{kvoptions}
\RequirePackage{etoolbox}
+%% Default Font
+\RequirePackage{lmodern}
+
%% Class options
\SetupKeyvalOptions{
family=hsr,