[OS X TeX] Latex symbol for "define equal"

Martin Bergren martin.berggren at cs.umu.se
Sun Aug 19 22:59:31 CEST 2018


= with def on top can be accomplished with

\newcommand{\defn}{\stackrel{\textrm{\scriptsize def}}{=}}

Or, if you don’t like the extra space that the presence of the text yields you can do

\newcommand{\defn}{\stackrel{\textrm{\clap{\scriptsize def}}}{=}}


Usage: 

These defines a to be b: $a\defn b$,  $a\defnn b$.


Cheers,

Martin Berggren
-------------------------------------------------------------------
Department of Computing Science, Umeå Universitet
Campustorget 5, S-901 87 Umeå, Sweden. Ph: +46-70-732 8111
http://www.cs.umu.se/~martinb <http://www.cs.umu.se/~martinb>, Martin.Berggren at cs.umu.se <mailto:Martin.Berggren at cs.umu.se>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/macostex-archives/attachments/20180819/93e64551/attachment.html>
-------------- next part --------------
----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: https://sites.esm.psu.edu/~gray/tex/
List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
                https://email.esm.psu.edu/pipermail/macosx-tex/
TeX on Mac OS X Website: http://mactex-wiki.tug.org/
List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex


More information about the macostex-archives mailing list