The \apex command isn't working in LaTeX

8 views
Skip to first unread message

Sean Fitzpatrick

unread,
Jul 23, 2021, 2:48:25 PM7/23/21
to APEX/Active Calculus MBX conversion
I can't seem to get Greg's macro for the fancy APEX to work.

Macro:
\newcommand{\apex}{A\kern -1pt \lower -2pt\mbox{P}\kern -4pt \lower .7ex\mbox{E}\kern -1pt X}

If I do \(\apex\) or \apex\ (and I've tried this in a test article as well) I get the error below.
This is the macro exactly as it appears in the APEX_format.sty file.
Oddly enough, I think it worked ok in MathJax.

! A <box> was supposed to be here.

<to be read again>

\unhbox

l.112 \apex

\

I was expecting to see \hbox or \vbox or \copy or \box or

something like that. So you might find something missing in

your output. But keep trying; you can fix this later.

Sean Fitzpatrick

unread,
Jul 23, 2021, 4:04:43 PM7/23/21
to APEX/Active Calculus MBX conversion
Replacing \mbox in the macro definition with \hbox seems to fix it.

gregory...@gmail.com

unread,
Jul 24, 2021, 12:14:08 PM7/24/21
to APEX/Active Calculus MBX conversion
Huh - that's weird. I looked at the V4 apex_format.sty file and it uses an hbox, not an mbox. Not sure how/why it got changed.
Reply all
Reply to author
Forward
0 new messages