[texhax] FW: Arrow head too large on \overarrowright
Herbert Voss
Herbert.Voss at FU-Berlin.DE
Tue Dec 31 13:21:06 CET 2013
Am 31.12.2013 12:45, schrieb Bob Tennent:
>
> > > you've omitted a definition of \m at th.
>
> > That is a standard macro.
>
> Donald:
>
> \documentclass{amsbook}
> \makeatletter
> \def\overarrow@#1#2#3{\vbox{%
> \ialign{##\crcr#1{\smaller at than#2}\crcr
> \noalign{\nointerlineskip\kern.12ex}$\m at th\hfil#2#3\hfil$\crcr}}}
> \def\smaller at than#1{\ifx\scriptstyle#1\scriptscriptstyle\else
> \ifx\scriptscriptstyle#1\scriptscriptstyle\else
> \scriptstyle\fi\fi}
> \makeatother
> \begin{document}
> $\overrightarrow{AB}+\overrightarrow{BC}=\overrightarrow{AC}$
> \end{document}
>
> :
>
> ! Undefined control sequence.
> <recently read> \m
>
> l.11 $\overrightarrow{AB}
> +\overrightarrow{BC}=\overrightarrow{AC}$
copy and paste ...
\documentclass{amsbook}
\makeatletter
\def\overarrow@#1#2#3{\vbox{%
\ialign{##\crcr#1{\smaller at than#2}\crcr
\noalign{\nointerlineskip\kern.12ex}$\m at th\hfil#2#3\hfil$\crcr}}}
\def\smaller at than#1{\ifx\scriptstyle#1\scriptscriptstyle\else
\ifx\scriptscriptstyle#1\scriptscriptstyle\else
\scriptstyle\fi\fi}
\makeatother
\begin{document}
$\overrightarrow{AB}+\overrightarrow{BC}=\overrightarrow{AC}$
\end{document}
Herbert
More information about the texhax
mailing list