{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

4
votes
1answer
564 views

negated double turnstile

I'm new to the turnstile package, and I'm trying to figure out how to get a negated double turnstile sign, like the one with the regular \nvDash, but that allows me to have arguments above and below ...
7
votes
3answers
1k views

Limits used as exponents — how to write under the limit symbol without using \displaymath?

If one needs to write a limit as an exponent, one might have this dilemma: if you use \displaymath, "x to infinity" will be nicely printed under the lim symbol, but your exponent will be using the ...
10
votes
3answers
270 views

Should there ever be a thin space between an operator and an opening delimiter?

For instance, is it correct to use $\sin\lvert x\rvert$, not $\sin|x|$, for the sine of the absolute value of $x$? I think that since the argument of $\sin$ is $|x|$, it makes more sense to have a ...
0
votes
0answers
105 views

How to type hyperbolic secant (sech)? [duplicate]

Possible Duplicate: Define additional math operators to be typeset in roman I'm trying to type the sech (Hyperbolic Secant) in LaTeX, but when I do use \sech(z) it will be known as an ...
5
votes
1answer
1k views

renewcommand pendant for DefineMathOperator

I'd like to change the definition of one of the predefined math operators (\hom). Is there an equivalent to the \renewcommand statement for operators?
2
votes
1answer
10k views

How to represent the trace of a matrix [duplicate]

Possible Duplicate: Define additional math operators to be typeset in roman The trace of a matrix is often written as "Tr [matrix] ", but there does not seem to be a naive LaTeX symbol for ...
17
votes
2answers
496 views

How do you create .+?

I would like to display a = b .+ 1 But it is displayed as a = b. + 1 (moves . next to b).
11
votes
3answers
2k views

Correct spacing when using \sim as negation

When using \sim as a symbol for negation it gives incorrect spacing and this is clear if the spacing is compared to the spacing of \lnot: How can the spacing be corrected? \documentclass{article} ...
12
votes
2answers
481 views

Symbol for skeptical consequence that matches the turnstile package

This might be seen as a follow up to Symbol for skeptical consequence. From it I got answers so that I could write that B is a skeptical consequence of A such as which Peter Grill's code produces. ...
6
votes
2answers
878 views

How to write larger \natural symbol?

If we want to write big \sum symbol, we can write $\sum\limits_{i=1}^n x_i$. I want to do similar thing for \natural symbol which will be used to denote the boundary connected sum. How can I do ...
1
vote
1answer
435 views

Math formula changes in tikz environment

I am trying to write a formula in a tikzpicture but it gets changed. The indices for the cumulative product is moved from under the \prod to after. See MWE: \documentclass{beamer} \usepackage{tikz} ...
7
votes
3answers
529 views

Symbol for skeptical consequence

I'm looking for a symbol for skeptical consequence so that I can write that something, B, is a skeptical consequence of something else, A. In a book I read it's written like \(A \vdash B\) or \(A ...
1
vote
1answer
182 views

What's the use of multiple vertical variants for math operators of a OpenType math font?

The only fonts I know that have more than one "large" version of the math operators are Asana Math and Cambria Math. The other ones just have one glyph for the \textstyle version and other for the ...
8
votes
2answers
8k views

Is there a LaTeX symbol for 'order'?

Is there a symbol for order? ...the exponent, ei , is called the order of pi  in a, denoted ordpi (a) = ei .
5
votes
1answer
488 views

How to make a \newcommand that acts like \dim?

The \dim command is good at deciding how to space things following it: for example, both $\dim M$ and $\dim_A M$ look right (the subscript immediately follows the dim, whereas the non-subscripted ...
12
votes
2answers
1k views

Phantom width of binary operator

Using beamer. Let's say I want to write A+B but with the plus invisible in one slide and visible in the next one. I think I read somewhere that more space is left normally around the + for being a ...
3
votes
2answers
915 views

How to declare an operator with automatic argument bracketing

I'd like to have an easy way to declare an operator that brackets its argument with a particular delimiter. As an example I'd like to be able to write \Pr{X} to mean the same as ...
2
votes
2answers
436 views

Formula for population variance, issues with placement?

From trying to construct the formula by hand, I had come up with the following: \sigma^2 = \frac{\sum_{i=1}^{n}(x_i - \mu)^2} {n} Now this looks fairly correct, however the _i=1 and ^n do not show ...
9
votes
1answer
136 views

Using Color Commands for Math Operators

I was wanting to know how is it possible to create a math symbol in color to position correctly. I have used the following but the top limit does not center properly. Sorry for the verbage as I don't ...
9
votes
3answers
655 views

Space on the right hand side of a unary math operator

I know that \mathop{...} is used to give some space on the both sides of the binary operator. Could anyone tell what to use to give some space only on the right hand side of an unary math operator? ...
14
votes
2answers
5k views

Limits under multiple \sum

I would like to place a lower limit under two consecutive \sums, somewhere in between. So I have \sum_{j=1}^{\infty}\sum_{k=1}^{\infty} and would like to place j>k in the lower limit between the ...
9
votes
1answer
1k views

Putting limits *underneath* new operators

I'd like to declare a new math operator called the "strong limit" as follows: \DeclareMathOperator{\slim}{s-lim} So it's just "lim" (i.e., \lim), but with an "s-" in front. I want to be able to ...
11
votes
4answers
1k views

How to create my own math operator with limits?

How can i write my own math operator with limits? I want it to look like: \sum\limits_{e=1}^{m} but with a capital A (if possible bigger than the normal text) instead of the sum. Thanks for the ...
9
votes
4answers
971 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 ...
7
votes
1answer
500 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 ...
5
votes
3answers
3k 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 ...
10
votes
2answers
1k 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 ...
1
vote
1answer
664 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 ...
83
votes
7answers
20k 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 ...
6
votes
4answers
879 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.
27
votes
3answers
25k 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 ?
15
votes
2answers
3k 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 ...
28
votes
5answers
4k 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 ...
19
votes
3answers
32k 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! ...
4
votes
2answers
693 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 ...
2
votes
3answers
5k 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
9k 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 ...
50
votes
4answers
45k 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
2k 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
609 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, ...
59
votes
4answers
3k 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
899 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 ...
13
votes
6answers
7k 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.
26
votes
5answers
6k 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 ...
34
votes
8answers
1k 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} ...