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

learn more… | top users | synonyms

15
votes
4answers
2k views

Swap definition of starred and non-starred command

I don't like the fact that I am required to use \abs* when I want the vertical line of the absolute value to automatically re-size. I pretty much always want it to re-size, so would like to swap the ...
8
votes
1answer
720 views

How does TeX decide how to size a middle delimiter?

How does TeX decide how to size a middle delimiter? When I want to show evaluation of limits of an integral, I would type $$\int_1^2 x\; dx=\frac{x^2}{2}|_1^2=4-\frac{1}{2}=\frac{7}{2}.$$ How do I ...
7
votes
3answers
5k views

XOR and II (concatenation) summation symbols

In Latex, in math mode, if I want to express summation over a range I can use the following expression \sum_{from}^{to}. I can do the same for the product. What is the name of the symbol that does ...
11
votes
2answers
2k views

Too small space when using \DeclareMathOperator

Currenlty I'm writing a math script (ring theory, PDF). When I need a new math operator I use \DeclareMathOperator from the amsopn-package. However I noticed some strange behaviour when using an ...
2
votes
1answer
1k views

Definition of cotan function [duplicate]

Possible Duplicate: Define additional math operators to be typeset in roman Is the cotan function defined somewhere? I cannot find it. It is defined as cotan(x)=cos(x)/sin(x). Should it be ...
129
votes
7answers
47k 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 ...
8
votes
4answers
1k views

How can I define a math operator behaving like \lim or \sum with limits?

I want to define \ext to behave exactly like \lim. I tried \newcommand{\ext}{{\mathrm{ext}}\,} but that doesn't behave exactly like \lim.
41
votes
3answers
58k 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 ?
18
votes
2answers
4k views

How do I do a one-shot MathOperator?

The amsmath packages helpfully define a macro \DeclareMathOperator which does what it says on the tin: it declares a mathematical operator such as \sin or \Null or whatever and typesets it all nice ...
33
votes
5answers
8k 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 ...
27
votes
3answers
69k 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! ...
5
votes
2answers
1k views

Math operator with indices and limits

I have several \bigoplus operators, indexed by i from 1 to d, using \bigoplus_i Now, I want to use these operations on terms indexed by j from 1 to d. My first attempt to write this was ...
4
votes
3answers
7k views

String/vector concatenation symbol

I'm looking for a math symbol to represent the concatenation of two vectors: if x = (x1, x2) and y = (y1, y2) then x ? y = (x1, x2, y1, y2). I'm not very much at home in vector calculus, so I don't ...
13
votes
3answers
19k views

Supremum of the infimum

Consider the following snippet: $$\text{d}_{H}(A,B) = \max\left\{ \sup_{a\in A} \inf_{b\in B} \text{d}(a,b),\sup_{b\in B} \inf_{a\in A}\text{d}(a,b)\right\}$$ In the output, the text under the ...
80
votes
4answers
95k 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] ...
12
votes
5answers
3k views

Define strange operators

I' looking for a symbol rendering the connected sum of $n$ topological spaces (or other quite strange topological operations) in a "product-like" manner... What For example in writing $$ ...
2
votes
1answer
676 views

Custom radical sign with plain XeTeX

I would like to use Cambria Math font in mathematical equation, and I have a simple problem here. plain TeX uses many symbols for the root sign, so it can use the proper one depending on context, ...
79
votes
4answers
5k 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 ...
3
votes
2answers
1k views

How do I change the spacing for math operators?

I have defined my own math operator (for displaying the order of certain function sequences--this is not the "normal" Big-O notation, though) by: ...
7
votes
2answers
1k views

Continued Fractions as an operator.

In dealing with continued fractions in LaTeX, I've become less and less enamored of the \cfrac construct. Especially in my case where I deal with complicated numerators and denominators, listing a few ...
17
votes
7answers
11k views

Average integral symbol

Is there in LaTeX a symbol or a macro for the average integral with a horizontal slash? I know about \strokedint, but I'd prefer the dash to be horizontal.
52
votes
6answers
13k 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 ...
38
votes
8answers
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} ...