aboutsummaryrefslogtreecommitdiffstats
path: root/tex
diff options
context:
space:
mode:
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,