Commit 4164ad76 authored by Turnhout, M.C. van's avatar Turnhout, M.C. van
Browse files

update and document misomath, deltaup does not exist?

parent ddffd58f
......@@ -100,5 +100,6 @@ slprj/
*.vrb
*.xdy
*.tdo
*.pdf
# repo specific ignores
\documentclass[12pt, openany]{article}
\usepackage{mathdesign} % for upright Greek
%\usepackage[greekuppercase = italicized]{mathdesign} % and default Greek should not be upright
\usepackage{isomath}
%\usepackage[OMLmathrm,OMLmathbf,OMLmathsfit]{isomath}
\usepackage[nac]{misomath}
\begin{document}
\noindent \verb+\ten{A}+ ~:~$\ten{A}$\\
\verb+\tent{A}+ ~:~$\tent{A}$\\
\verb+\tend{A}+ ~:~$\tend{A}$\\
\verb+\ten[4]{C}+ ~:~$\ten[4]{C}$\\\bigskip
\noindent \verb+\mat{A}+ ~:~$\mat{A}$\\
\verb+\matt{A}+ ~:~$\matt{A}$\\
\verb+\matd{A}+ ~:~$\matd{A}$\\
\noindent \verb+\vec{A}+ ~:~$\vec{a}$\\
\verb+\vect{A}+ ~:~$\vect{a}$\\
\verb+\col{A}+ ~:~$\col{a}$\\
\verb+\colt{A}+ ~:~$\colt{a}$\\
\noindent \verb+\deriv(x}{y}+ ~:~ $\deriv{x}{y}$\\
\verb+\deriv[2]{x}{y}+ ~:~ $\deriv[2]{x}{y}$\\
\verb+\Deriv{x}{y}+ ~:~ $\Deriv{x}{y}$\\
\verb+\Deriv[2]{x}{y}+ ~:~ $\Deriv[2]{x}{y}$\\
\verb+\pderiv(x}{y}+ ~:~ $\pderiv{x}{y}$\\
\verb+\pderiv[2]{x}{y}+ ~:~ $\pderiv[2]{x}{y}$\\
\verb+\dderiv(x}{y}+ ~:~ $\dderiv{x}{y}$\\
\verb+\dderiv[2]{x}{y}+ ~:~ $\dderiv[2]{x}{y}$\\ \smallskip
\noindent \verb+\grad{A}+ ~:~$\grad{A}$\\
\end{document}
%% misomath.sty, laadt empheq, definieert wat shortcuts om ISO normen te gebruiken....
\NeedsTeXFormat{LaTeX2e}[1994/06/01]
\ProvidesPackage{misomath}[2013/07/18 v1.0]
%\RequirePackage{textcomp} % for \textcelsius
......@@ -40,6 +39,7 @@
\providecommand*{\matd}[1]{\underline{#1}^\mathrm{d}}%
\providecommand*{\col}[1]{\utilde{#1} }%
\providecommand*{\colt}[1]{\utilde{#1}^\mathrm{T}}%
\providecommand*{\vect}[1]{\vec{#1}^\mathrm{T}}%
}
\ProcessOptions
......@@ -130,12 +130,18 @@
\def\DIfF^#1{%
\mathop{\mathrm{\mathstrut d}}%
\nolimits^{#1}\gobblespace}
% upright partial differential operator 'delta'
% upright partial differential operator 'partial'
\providecommand*{\pdiff}%
{\@ifnextchar^{\pDIfF}{\pDIfF^{}}}
\def\pDIfF^#1{%
\mathop{\partial}%
\nolimits^{#1}\gobblespace}
% upright partial differential operator 'delta'
\providecommand*{\ddiff}%
{\@ifnextchar^{\ddIfF}{\ddIfF^{}}}
\def\ddIfF^#1{%
\mathop{\delta}%
\nolimits^{#1}\gobblespace}
% upright full differential operator 'D'
\providecommand*{\Diff}%
{\@ifnextchar^{\dDIfF}{\dDIfF^{}}}
......@@ -160,12 +166,12 @@
\frac{\diff^{#1}#2}{\diff #3^{#1}}}
% \frac for partial derivatives: \pderiv{a}{x}
\providecommand*{\pderiv}[3][]{%
\frac{\partial^{#1}#2}%
\frac{\pdiff^{#1}#2}%
{\partial #3^{#1}}}
% \frac for partial derivatives with delta instead of partial
\providecommand*{\pderiv}[3][]{%
\frac{\deltaup^{#1}#2}%
{\deltaup #3^{#1}}}
\providecommand*{\dderiv}[3][]{%
\frac{\ddiff^{#1}#2}%
{\ddiff #3^{#1}}}
% \frac for full derivatives: \Dderiv{a}{x}
\providecommand*{\Dderiv}[3][]{%
\frac{\Diff^{#1}#2}{\Diff #3^{#1}}}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment