[dev-context] \rm in pmod, bmod, etc

Hans Hagen pragma at wxs.nl
Sat Feb 3 22:18:09 CET 2007


Aditya Mahajan wrote:
> Hi Hans and Taco,
>
>   Do you think it makes sense to replace {\rm mod} in the definition of 
> bmod and pmod (in math-pln.tex) by \mfunction{mod}?
>   

\ifx\mfunction\undefined \def\mfunction{\mathbin{\rm#1}} \fi

\def\bmod
  {\nonscript
   \mskip-\medmuskip
   \mkern5mu
   \mfunction{mod}%
   \penalty900
   \mkern5mu
   \nonscript
   \mskip-\medmuskip}

\def\pmod#1%
  {\allowbreak
   \mkern18mu
   (\mfunction{mod}\,\,#1)}

i changed it (wondering what it does in pln)

Hans

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------



More information about the dev-context mailing list