{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

8
votes
2answers
369 views

Automatic reduplication of equal sign in the beginning of broken formula

Suppose we have the following code \documentclass{article} \begin{document} $a=b=c=d=e=f=g=h=i=j=k=l=m=n=o=p=q=r=s=t=u=v=w=x=y=z$ \end{document} which produces the following result I want to have ...
5
votes
1answer
447 views

The font of operator names: the size

A while ago, I asked what was the correct way of changing the font used to set operator names. I stabilized at: \DeclareSymbolFont{sfoperators}{OT1}{cmss}{m}{n} \DeclareSymbolFontAlphabet{\mathsf}{...
2
votes
1answer
2k views

LaTeX notation for summation over all combinations of two variables?

Is there a notation that expresses a summation over all order-independent combinations of two variables? I have a single set of objects and want to show the summation of the joint probabilities of ...
10
votes
3answers
5k views

How to put your symbol explanation for the formula?

I have a formula written in LaTeX. What is the best way to explain what the symbols mean in the formula? For example I have this equation with a where: symbol definitions \begin{equation} \sum_{i=0}^...
5
votes
3answers
923 views

Any way to change color of \not

I often use command \not just to cancel off symbols in my equations and i would need an advice on how to change the color of this command.
2
votes
1answer
447 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 operator,...
6
votes
1answer
2k views

Enlarge the integral sign proportional to its content

In LaTeX you have a command like \left(\right) to enlarge the brackets proportional to the content between the brackets. for instance \left(a\right) will produce smaller brackets than \left(\...
18
votes
2answers
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 ...
1
vote
1answer
283 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$ ...
18
votes
4answers
46k 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
205 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 ...
14
votes
2answers
13k 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 ...
17
votes
4answers
5k 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
286 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 ...
15
votes
5answers
3k 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
336 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... \newcommand*{...
9
votes
1answer
507 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
245 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 ...
6
votes
2answers
7k 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?
108
votes
3answers
42k 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
922 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} \end{...
4
votes
2answers
2k 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
1k 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
612 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
397 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
1k 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
312 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. ...
2
votes
2answers
3k 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 ...
3
votes
1answer
214 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 ...
20
votes
2answers
6k views

Lower and upper Riemann integrals?

How can I make an integral symbol with a bar above it or a bar below it?
15
votes
2answers
77k 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 ...
1
vote
1answer
4k 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 \...
13
votes
1answer
1k 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 \...
18
votes
1answer
1k 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 ...
5
votes
1answer
1k 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 ...
11
votes
3answers
4k views

Is there a “medium” \cap?

When displaying the intersection symbol in equations, e.g., $$Hom(A,B) \cap Hom(B,C)$$ I find that the "cap" is too small; its height is, in fact, subordinate to the surrounding content. On the ...
7
votes
3answers
4k 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
424 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
110 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 "...
8
votes
1answer
3k 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?
11
votes
1answer
25k 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
507 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).
13
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} ...
13
votes
2answers
973 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
1k 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 this?...
1
vote
1answer
540 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
943 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
219 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 \...
10
votes
2answers
16k 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 .
6
votes
1answer
1k 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 ...