From 6058ae67ffc2281b1cc6e49b30b49288bbaec9c7 Mon Sep 17 00:00:00 2001
From: Nao Pross <np@0hm.ch>
Date: Sat, 24 Jul 2021 13:21:06 +0200
Subject: Fix some weird font issues

---
 tex/hsrstud.sty | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

(limited to 'tex/hsrstud.sty')

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
 %% ))
 
-- 
cgit v1.2.1

