Code: Select all
\newcommand{\wrt}[1]{\mathrm{d}{#1}}
Is there a symbol for this that I'm missing? If not, does anyone have a better solution than mine? I'm kind of tired of this solution (it's a lot of typing for one character).
Thanks.
Code: Select all
\newcommand{\wrt}[1]{\mathrm{d}{#1}}
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Code: Select all
\documentclass{scrartcl}
\usepackage{cool}
\Style{DSymb={\mathrm d},DShorten=true,IntegrateDifferentialDSymb=\mathrm{d}}
\begin{document}
\[\D{f}{x}\]
\[\D{f}{x,y,z}\]
\[\Int{f(x)}{x,a,b}\]
\end{document}
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis