In exploring options for typesetting derivatives I came across the cool
package. But a basic example from Page 22 of the Content Oriented LaTeX documentation (October 7, 2006) seems to result in the error:
Missing \endcsname inserted.
<to be read again>
\toks@
Uncommenting the line in the MWE below yields the above error. As is, the MWE produces:
References:
- Can I have a flexible partial derivative macro?
I would prefer to use one of the solutions mentioned here as they do not require another package, but the syntax proposed here is different that the
cool
package. This is problematic in that if I later need the flexibility provided by the thecool
package will not be as easy to switch.
Code
\documentclass{article}
\usepackage{amsmath}
\usepackage{cool}
\begin{document}
\begin{align*}
\D[1]{f}{x,y,z} &= \cdots\\
%\D[2,n,3]{f}{x,y,z} &= x
\end{align*}
\end{document}
cool
package in case I need to switch at some later date. The question I linked to provides some nice options, but with a different syntax. – Peter Grill May 4 '12 at 19:14cool
package. But, I assume that there is probably a way to patch that as well. – Peter Grill May 4 '12 at 19:15