Skip to content

Commands in \jdv denominator fails to compile. #18

@sjelatex

Description

@sjelatex

The following code causes an issue when \vec{z} is used in the denominator only on \jdv in an \begin{align}\end{align}. It doesn't seems to appear when other derivatives defined by the package is used. Also the issue also go away in an \begin{equation}\end{equation} environment. I have not checked with other environments. Both, pdflatex, lualatex and xelatex fails to build this code.

\documentclass{article}

\usepackage{amsmath}
\usepackage{derivative}

\listfiles

\begin{document}

\begin{align}
    \jdv{f}{\vec{z}}
\end{align}

\end{document}

The issue in the log is:

! Undefined control sequence.
\mathaccentV #1#2#3#4#5->\ifmmode \gdef \macc@tmp 
                                                  {\macc@depth \@ne }\setbox...
l.12 \end{align}
                
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

This command is not directly or indirectly used by the derivative package.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions