diff options
author | Nao Pross <np@0hm.ch> | 2021-07-24 13:21:06 +0200 |
---|---|---|
committer | Nao Pross <np@0hm.ch> | 2021-07-24 13:21:06 +0200 |
commit | 6058ae67ffc2281b1cc6e49b30b49288bbaec9c7 (patch) | |
tree | f89c5e3a51b40f685e5d08c8084c52cb5353f70a /tex | |
parent | Update HSR-Stud package (diff) | |
download | FuVar-6058ae67ffc2281b1cc6e49b30b49288bbaec9c7.tar.gz FuVar-6058ae67ffc2281b1cc6e49b30b49288bbaec9c7.zip |
Fix some weird font issues
Diffstat (limited to 'tex')
-rw-r--r-- | tex/hsrstud.sty | 12 | ||||
-rw-r--r-- | tex/hsrzf.cls | 3 |
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, |