# Tagged Questions

{math-operators} is about operators in math mode. These include sums, integrals and similar, text operators like sin, cos, etc.

71k views

### What's the proper way to typeset a differential operator?

I can't seem to find any consensus on the right way to typeset a differential operator, whether it is: in a standalone context: as part of a derivative: as part of an integral: In all of these ...
140k views

### Command for argmin or argmax?

How can you get the argmin or argmax in Latex? Two solutions I found are: \underset{x}{\operatorname{argmax}} \DeclareMathOperator*{\argmin}{arg\,min} Any other ideas? [1] http://www.breakthru....
43k views

### What's the difference between \mathrm and \operatorname?

I apparently can't see the difference in a compilation (pdflatex) between \mathrm and \operatorname. So, as in the title the question is: is there a difference? Which one is preferable in what ...
8k views

### Spacing around \left and \right

Why does the addition of a \left and \right introduces an extra space around the formula? Specifically, why do $\cos(\theta)$ and $\cos\left(\theta\right)$ render differently? Is there a way to use ...
29k views

### newcommand vs. DeclareMathOperator

As far as I understand, whatever can be done using DeclareMathOperator can also be achieved using newcommand, but not the other way around. If this is the case, what are the circumstances where ...
18k views

### What is the difference of \mathop, \operatorname and \DeclareMathOperator?

One sees all kind of versions in source files for defining something like a limit etc. So my question is which one serves what purpose. Is there any "best practice" in chosing one over the other?
19k views

### Define additional math operators to be typeset in roman

Mathematical operators, such as function names, should be set in roman type, not italics. Latex already has commands for some operators, including \max, \min, and \log. How can I define additional ...
93k views

### How to add text under symbol in equation ?

I was trying to make something like this (something similar to \substack in \sum) in equation. How to do this ?
2k views

### How can I specify a long list of math operators?

The preambles of my LaTeX documents often include many many lines of \DeclareMathOperator instructions, e.g. \DeclareMathOperator{\Rep}{Rep} \DeclareMathOperator{\Tet}{Tet} \DeclareMathOperator{\Maps}...
12k views

### How to present a vertical multiplication/addition

How do I present vertical (columnar) multiplication and addition in LaTeX. Like this: http://mathworld.wolfram.com/LongMultiplication.html 3 8 4 x 5 6 --------- 2 3 0 4 1 9 2 0 --------- 2 ...
3k views

### How are big operators defined?

I would like to create a new "big operator", by which I mean something like the Σ character used for summations. I know about the \DeclareMathOperator* command, which creates an operator whose ...
103k views

### How to do the 'curvy L' for Lagrangian or Laplace Transforms?

I am new to TeX, working on it for about 2 months. Have not yet figured out how to script the 'curvy L' for Lagrangian and/or for Laplace Transforms. As of now I am using the 'L' - which is not good! ...
41k views

### Expression under summation on multiple lines [duplicate]

Possible Duplicate: Separate long math text under sum symbol into different lines? I want to write expression \sum_{i=0}^n i with i\neq 4 under the summation symbol. How can I write this?
847 views

6k views

### Lower and upper Riemann integrals?

How can I make an integral symbol with a bar above it or a bar below it?
1k views

### is there a way to write −= as one symbol in formulas

In programming -=, += and other similar operators are quite popular. But I am unable to write such operator nicely in Latex equations. For example when I use x += \frac{\partial C}{\partial x} I get ...
14k views

### Getting the expectation symbol to behave like $\sum$ instead of $\Sigma$

How can I get an expectation symbol which behaves like $\sum$? Specifically, I want the underscore to be like that of a summation. At the moment I use $$\mathbb{E}_{x\in A}$$ However, I do not ...