{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

2
votes
1answer
313 views

Formula in displaystyle but operator limit in normal subscript position [duplicate]

Possible Duplicate: Show inline math as if it were display math I have a formula in an equation environmente i.e., in a display style modality. Moreover, since I have to enumerate an ...
12
votes
2answers
3k 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 ...
1
vote
1answer
209 views

My limits are moved [duplicate]

Possible Duplicate: Writing a limit so that the subscript goes directly underneath I am not sure how to explain this, but my code doesn't behave $\lim_{(x,y)\to(0,0)} xy + y$ ...
5
votes
4answers
3k views

How do you write “times”? [duplicate]

I come from Norway, and here the formatting of maths are a little bit different than in the U.S. and the UK. If you want to factorize 25, you know that it is 5 times 5. How would you write this with ...
2
votes
1answer
176 views

Computing a simple maths calculation and use the result as page numbers in the Table of Contents

Following up this question here, I am looking for a way to compute a simple maths calculation inside the document and let the result of this calculation be the value that appears as page number in the ...
8
votes
1answer
3k views

How do I write $\sim$ approximately with the correct spacing?

I would like to use the symbol $\sim$ as "approximately". e.g: \documentclass{minimal} \begin{document} There are $\sim 10^{80}$ atoms in the universe. \end{document} I think that I need to declare ...
12
votes
3answers
2k views

Spacing between triple vertical lines

I would like to create a norm-like operator with 3 verticals bars instead of two. It has to look like $|||\cdot|||$. I would like to know how to decrease the spacing between the vertical bars such ...
8
votes
2answers
249 views

typesetting 2 line conditions over which is summed

I am trying to typeset the formula below in a way that m_j=m_i and z_j=z_i have the same scriptsize, the = are aligned, and j: is before both, larger and with vertical position between the lines. How ...
11
votes
4answers
911 views

How do I put a circle around an operator?

For example, I want to put a circle around \land, just like one can put a circle around + by writing \oplus. Is there a general method to do this?
7
votes
2answers
279 views

Math operator resizing in autosized brackets

I want to define a new command to format \mathbb{E} in the same way as \sum - same size in display/inline formulae, and same treatment of sub/superscripts. The following seems to work... ...
8
votes
1answer
255 views

How to put a hat on a binary operator and maintain spacing

This is maybe easy question. How is the right/good way to put a hat on a binary operator like \otimes? For example a\otimes b vs a\hat\otimes b In the second case it is not typeset as a binary ...
1
vote
2answers
214 views

Designing a new mathematical operator

We all know that \binom{n}{r} in math mode renders the binomial coefficient. For the purposes of a note, I am TeXing up, I am interested in designing a new math operator. Suppose I called that ...
4
votes
1answer
506 views

Why does lim_{n\to\infty} work in my LaTeX document?

lim_ is not a command in LaTeX because all commands begin with a back slash. However, why does lim_{n\to\infty} work in math mode? What is lim_ if it is not a command?
59
votes
3answers
19k 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 ...
3
votes
2answers
528 views

Using a math operator inside a 'cases' environment

When I do this: \begin{equation} b_i = \begin{cases} arg \min_{\forall p \in B} d(a_i, p) & \text{if } d(a_i, b_i) < D_{max} \\ \text{undefined} & \text{otherwise} \end{cases} ...
4
votes
2answers
1k views

Times New Roman with LaTeX (mathptmx)

Is it possible to change the look of \infty when using mathptmx? It looks horribly small compared to the other characters.
14
votes
1answer
626 views

R-Integral symbol for my notes

I am typing up a set of notes for the Riemann Stieltjes integral. For reasons beyond the scope of the question, I would like to start with defining the Darboux's integral and then formulate Riemann's ...
1
vote
1answer
350 views

Defining a prefix operator with space before its argument

I want a particular spacing behavior for a custom operator. I can produce the desired spacing by setting math classes (\mathord and so forth), but I have to do it on a case-by-case basis since no ...
8
votes
2answers
288 views

Writing specific versions of an operator for display and inline modes

I'm busy answering a question by constructing a new math operator that uses the sum symbol and some TikZ placed on top. My answer as it stands can be found here. It looks (I think) pretty good in ...
7
votes
3answers
809 views

The modulo two sum sign in LaTeX

I would like to know how I can obtain the 'modulo two sum' sign (unicode 2A0A i.e., the letter sigma with a circle in its middle). I know I can obtain it by using the unicode-math package. But does ...
4
votes
2answers
152 views

Customizing the Weak limit

Using the command \displaystyle \lim_{\Lambda \uparrow \mathbb{Z}^2} I can produce the limit that I desire. But I like to write the above limit as in the photo below. Could you help me? Thanked. Ps. ...
1
vote
2answers
1k views

“Greater than” sign shows up as inverted question mark [duplicate]

Possible Duplicate: Why do the less than symbol (<) and the greater than symbol (>) appear wrong as upside down exclamation or question mark? My question is in the title. How can I ...
2
votes
1answer
132 views

How does one use math operators in xy-pic?

I am trying to format some large commutative diagrams (using the \xymatrix command) that involve colimits, and I would like to have the indexing information for the colimits appear underneath the word ...
15
votes
2answers
3k views

Lower and upper Riemann integrals?

How can I make an integral symbol with a bar above it or a bar below it?
9
votes
2answers
28k views

Dot notation for derivative of a vector [closed]

If I want to use the dot notation for the time derivative of a vector is better (more common) to put the dot over the vector, or the other way around \dot{\vec{v}} \vec{\dot{v}} The first says ...
0
votes
1answer
2k views

One more question regarding “function restriction”

This question is in connection with How to typeset function restrictions There, egreg gives a satisfactory answer (at least for me) The problem is that I'd like to do the same thing with ...
10
votes
1answer
631 views

The font of operator names

What is the correct way of having all operator names be set in, say, sans serif? Saying \documentclass{article} \usepackage{amsmath} \makeatletter \def\operator@font{\sf} \makeatother ...
16
votes
1answer
528 views

Load integral sign from eulervm

I want to write a book for university and I want to have the "german" integral symbol in it. I tried using mathabx and wasysym but I don't like them. But I like the integral symbol in eulervm. How do ...
4
votes
1answer
616 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
2k 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
290 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 ...
6
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?
3
votes
1answer
11k 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
497 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
507 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
977 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
456 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
570 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
187 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
9k 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
553 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 ...
4
votes
2answers
1k 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
476 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
138 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
691 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 ...