# Tag Info

6

You can easily build it: \documentclass{article} \newcommand{\precprec}{\prec\mathrel{\mkern-5mu}\prec} \begin{document} $a\precprec b$ \end{document} Here's what you get with -6mu and -7mu respectively, take your pick.

4

Not sure if this is what you want. \newcommand\pprec{\prec\mkern-5mu\prec} Then $\pprec$ produces

5

Upright symbols in math can be produced by \mathrm. These will scale in subscripts and superscripts, unlike \mbox. Presumably your 1m is "one metre". The best way to set numbers with units is to use the siunitx package: \documentclass{article} \usepackage{siunitx} \begin{document} $$\mathrm{r} = \SI{1}{m}$$. \end{document} This will also work ...

5

While \dotdiv from mathabx could be used (see Importing a Single Symbol From a Different Font), it would waste a math family. Here's a way without any package other than amsmath. \documentclass{article} \usepackage{amsmath} \providecommand{\dotdiv}{% Don't redefine it if available \mathbin{% We want a binary operation \vphantom{+}% The same height ...

4

This is obsession! \documentclass{article} \usepackage{tikz,amsmath} \newcommand{\Monus}{% \mathop{% \text{% \begin{tikzpicture} \fill (0,1ex) circle (0.75ex); \draw[thick] (-3ex,-.5ex) -- (3ex,-.5ex); \end{tikzpicture}% } } } \begin{document} $A \Monus B_{\Monus B}$ \end{document}

3

Keeping this up for visibility since there doesn't seem to be any similar question on StackExchange. Use \dotdiv from package mathabx.

1

Just another alternative (in some sense the poorer solution around), could be to define \argmin in terms of \min and \arg commands. \newcommand{\argmin}{\arg\!\min} In this way, 1) \argmin will behave always the same way as \min, 2) doesn't need amsmath or care about \operator... commands 3) yes, the variable in not centered (it is centered in the min ...

1

If you need use this new operator only one time, maybe you could considere use \text{operator} in the math formula. For example: $$3 \cdot \text{FoO} (x)$$

0

"As result of the newsgroup thread", which was mentioned in Mateus Araújo' answer, Heiko Oberdiek wrote the mleftright package. "It also adds some error checks (group nesting levels)." (both cited from Heiko's comment to Mateus Araújo' answer) \mleft and \mright from that package can be used instead of \left and \right and do not insert additional ...

17

I'd propose $a\mathrel{-}=1$ For a general purpose macro, define \newcommand{\assign}[2]{% \mathrel{#1}\mathrel{#2}% } so that you can call $a \assign{-}{=} 1$ $a \assign{=}{+} 1$ $a \assign{++}{=} 1$

25


Top 50 recent answers are included