{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

27
votes
3answers
2k 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 ...
1
vote
0answers
54 views

\lesssim (and some others) not working [duplicate]

I'm writing a latex document and trying to use \lesssim (listed for example in here: http://en.wikipedia.org/wiki/Help:Displaying_a_formula#Relations ) in the text like this: $a \lesssim b$. However, ...
11
votes
2answers
768 views

How can I use \lVert and \rVert norm symbols (‖x‖) with the Iwona math font?

I want to use \lVert and \rVert to denote the vector norm. With Computer Modern this works quite fine. But when trying to use Iwona as a math font, I run into trouble: \documentclass{standalone} ...
2
votes
1answer
132 views

show all equals

I'd like to show that for some function C, if x_1 = x_2 = \ldots = x_n then \[C(\frac{1}{n}\sum_{i=1}^n x_i) = C(x_1) = C(x_2) = \ldots = C(x_n)\] is there a way to do this with a single big ...
1
vote
1answer
1k views

Why is \lcm not defined as default?

Using only a class (report for example) we can use \gcd. But \lcm is not defined. Why? \documentclass{report} \begin{document} \[ \lcm \] \end{document} Why new distributions of TeX Live or ...
10
votes
2answers
829 views

Mixing math character classes (e.g. \mathord to the left and \mathrel to the right)

It is possible to have a symbol or group behave to the left as if it had one particular math character class and to the right as if it had another? One typical case where this comes up is when one ...
2
votes
1answer
179 views

Proper way to typset minimum value of variable in formula?

To typeset a value with a subscript I use this: $U_{\text{res}}$ Which results in: Now I'd like to write "the minimum value of Ures", how would I correctly typeset that? The first thing I tried ...
6
votes
2answers
1k views

Declaring a math operator with cursor placement, e.g. expected value

I'd like to declare a new math operator \ev for representing the expected value, in the form: E<.> so that it looks like the following but with an argument ...
1
vote
1answer
148 views

summation line for multiple rows

Is there a way to add multiple lines of numbers using a "summation line"? Specifically, I want to create something like the below, only better looking. \documentclass{article} ...
2
votes
2answers
112 views

How to type specific things on the hat of expression?

I have problem typing this on the hat of max in the following example:
3
votes
4answers
379 views

How to create subset with sim symbol

I've been trying to typeset as an operator the symbol ⫇ (\subset on top a \sim), but the following solutions have not been helpful ⫇ does not seem to be listed in symbols-a4.pdf, so detexify does ...
3
votes
2answers
882 views

How to write the limit inferior in math environment? [duplicate]

I got it to work with \mathop{\underline{\lim}}_{n \to \infty} f_n(x) Above looks exactly how I want it to look, but initiating operators twice is odd and it's far from simple \lim_{n \to \infty} ...
5
votes
3answers
5k views

LyX and Summation

I am using the latest version of LyX and I am having trouble getting the limits to work at all. Ideally, I'd like to be able to place the summation limits above and below the sigma. However, at this ...
1
vote
1answer
644 views

Changing all the integral symbols from the MnSymbol package, or how to get full math support with Garamond Premier Pro in XeLaTeX?

I'm editing a document in which I chose the Adobe Garamond Premier Pro font as the main font. The only free math font I found that fits with the AGPPro so far is the one from the MnSymbol package. ...
9
votes
1answer
1k views

Integral limits with amsmath in LuaLaTeX

Also reading the thread about Making integral ∫ use \limits by default with unicode-math I'm not quite happy with the solution. With pdfLaTeX I use the code \documentclass{article} ...
7
votes
1answer
159 views

Why do math operators not behave like normal control sequences?

From my experience, most control sequences function as an implicit group, for example g^\textrm{th}. However, if we look at the example below, the first line throws an error while the second line ...
0
votes
1answer
268 views

Double sided inequality [duplicate]

Is it possible to type an inequality operator like in the image above to be used in Stack Exchange Mathematics domain. It would be nice if I could add those H1 and H0 labels too.
3
votes
1answer
1k views

Combining Textstyle and Displaystyle

In my mathematics writing, I often use both superscripts and subscripts on the probability operator. The subscripts are generally lengthy, and I would like for them to appear underneath the operator, ...
5
votes
1answer
1k views

What is a good method for producing a unary plus/minus sign that always works?

Say I have a macro that does something in math mode (say, change the mathalphabet). This macro, \somecommand, takes one argument. I might want use is like this, feeding an empty argument into it: ...
3
votes
0answers
501 views

How to typeset statistical distributions [closed]

What is the consensus way to typeset statistical distributions? For the normal distribution I have seen all of: $X\sim N(\mu,\,\sigma^{2})$ $X\sim\mathrm{N}(\mu,\,\sigma^{2})$ ...
2
votes
2answers
4k views

Package or command for inverse hyperbolic trig functions?

What are the commands for all the: inverse trig functions (arcsec(x), arcCsc(x), arcCot(x)); hyperbolic trig functions (sech(x) and csch(x)), and inverse hyperbolic trig functions?
10
votes
2answers
1k views

Writing the Existential Quantifier with Lower and Upper Limits

When I write $$\sum_{i=1}^{n} x_{i}$$ I obtain indices which are below and above the symbol. I want to write the existential quantifier with this same formatting, but when I try to do so, it appears ...
4
votes
2answers
480 views

Question about mathematical notation

Should one really write $\text{det}A$, instead of $detA$, similarly $\text{Aut}G$ instead of $AutG$, or is $det$, $Aut$ acceptable?
2
votes
2answers
283 views

Multi-line equations with single operator referring to multiple lines

I need to include an equation similar to the following in my text and have failed doing so in various tries, including using the align-environment of the amsmath-package. Basically, the text before ...
0
votes
0answers
63 views

Subscript Bracket [duplicate]

Possible Duplicate: How to put a big bracket under different parts of a equation so that I could write e.g. a text specific to that part in the equation? Does anyone know how to code the ...
1
vote
2answers
2k views

How can I define (user defined) functions in math mode?

I am used to define some complicated and frequent mathematical expressions to be able to use them easily in my papers. For example I have defined \def\c{{\mathbb{C}}} for $\mathbb{C}$ (the field of ...
1
vote
0answers
141 views

How do I get a literal ~ in math mode? [duplicate]

Possible Duplicate: How does one insert a backslash or a tilde (~) into LaTeX? How can I write tilde ~ in math mode? When I write $~$, I get a space. When I write $\~$, I get an error. I ...
5
votes
3answers
327 views

TeX commands and LaTeX commands- what's the difference? Good Introductory manual/guide to using MathJax, LaTeX or TeX on forums?

Update 1: I have just learnt from the answers below that it is more correct to say that MathJax is the format for writing maths on the Mathematics Stack Exchange, that it is essentially made from the ...
10
votes
3answers
573 views

How to extend the text under summation symbol without making extra space

I want to get the following: I tried the following \[ a(i,k) \leftarrow \min\Big\{0, r(k,k) + \sum_{i^{'} | i^{'}\notin \{i,k\}}\max\{0, r(i{'},k)\}\Big\} \] and got How can I make the ...
9
votes
1answer
253 views

How can I get a symbol to behave like an infix operator?

For example, how can I get "x \overline{*} y" to parse like "x * y"? I know I can adjust the manual spacing using "\,", but is there a less superficial way?
14
votes
1answer
32k views

LaTeX adjusting \sum limits

is there a way to show \sum limits partially in inline mode and partially in display mode? i.e., I want to write \begin{equation} \sum_{n=-\infty}^{+\infty} [...] \end{equation} but this way the ...
6
votes
2answers
337 views

C++ operators ^=, <<=, >>= misinterpreted

I write a list of C/C++ operators of the following form : \texttt{operator+=}, \texttt{operator-=}, \texttt{operator*=}... The problem is that \texttt{operator\^=}, \texttt{operator>>=}, ...
1
vote
2answers
661 views

Problems while displaying sum limits below

I'm having some trouble when trying to correctly display a summation using LaTeX. I'm using the package mathtools, and the formula: Cov(O) = \frac{ \sum_{\forall c_i \in C} exists(O, c_i)}{n} My ...
13
votes
1answer
3k views

Correct way to typset esssup (essential supremum)

What is the correct way to typeset essential supremum, with the limits underneath the operator? My first try was \operatorname{ess}\sup\limits_{x\in[0, 1]}, but this puts the x\in[0, 1] under the sup ...
1
vote
1answer
223 views

using unicode-math with math keyboard or hotkeys?

Here is more information about the unicode math-package: http://ctan.mackichan.com/macros/latex/contrib/unicode-math/unicode-math.pdf A great pro for using unicode math, is that your code is much ...
9
votes
2answers
17k views

Fourier Transform (super-fancy) “f”?

What's a "fancy" f I can use to denote a Fourier transform? (I mean something fancier than what \mathcal{F} provides.)
5
votes
3answers
558 views

Unable to make symbol similar to bowtie or lrtimes

I wish to write something like this in latex: I tried using \lrtimes and also \bowtie, but none is able to give me the correct output. Also, i had problems getting that {task1} below the symbol. ...
5
votes
4answers
2k views

Writing Linear Temporal Logic in LaTeX

I am writing some LTL (Linear Temporal Logic) statements in LaTeX and am having issues finding any packages online or information as to this can be done. Any help would be appreciated.
50
votes
3answers
9k 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?
4
votes
1answer
146 views

\sum_i acts as \sum\limits_i but just sometimes

The code part looks like this \begin{equation} \frac { \left(\sum_i r_{ik}x_{ij}\right) - \mu'_{kj}\left(\sum_i r_{ik}\right) + (\alpha-1)-\mu'_{kj}(\alpha+\beta-2) ...
3
votes
1answer
209 views

operators within the dollar sign

I am using operators : +,-. For example, $6-1$. The operator - becomes rather large between $ $. Normally, would you leave the operator negative between the $$? If not, how do you make it to the ...
6
votes
2answers
9k views

\int with \limits or without?

I read that I can use \int_a^b or \int\limits_a^b. With \limits, the equation looks more compact horizontally, but a little bigger vertically. Is there some design rule to it, or just personal ...
11
votes
4answers
584 views

How to construct a logic argument with colored hline with length under control?

How to construct a logic argument like this one? I can construct it like this: Latex of my argument: \documentclass[10pt]{article} \usepackage{newtxtext} \usepackage{newtxmath} ...
6
votes
0answers
125 views

Spacing around \left and \right: When is it needed? [closed]

There have been a few questions (such as this and more recently this) regarding the "extra" spacing around \left and \right. And there are various options for fixing it, including the mleftright ...
7
votes
4answers
3k views

How to make equation fit in the column

HI here is the latex code \documentclass{sig-alternate} \usepackage{ctable} \begin{document} $G_{CS}(\mathbb{S_c})= \begin{cases} \displaystyle\sum_{k=1}^{r} ...
8
votes
3answers
1k views

How do I make the \min and max bold?

Refering to this question How to make the table fit into the column? How should I make the \min and \max bold?
7
votes
1answer
1k views

div equivalent to mod

What's the easiest way to define a \bdiv equivalent to \bmod, i.e., a binary operator for integer division? I tried \meaning\bmod, but got very primitive TeX commands, so I'm sure there's a ...
0
votes
0answers
41 views

how do you write the grad operator? [duplicate]

Possible Duplicate: How to look up a symbol? I can only get \div which is upside down. I tried typing \grad but no luck. Packages I am using: \usepackage[utf8x]{inputenc} ...
2
votes
1answer
99 views

Is there a command of the type “\blabla” where I can write \mbox{div}(F)

Maybe my question is easy. When I want to write $$ \mbox{div}(F) = \sum_i (F_i)_{x_i} $$ I have to type \mbox{div}(F), which is cumbersome. Is there a way to define a command \blabla to produce ...
10
votes
2answers
138 views

Strange spacing when putting a math macro before a binary operation

I found there to be very odd spacing when using a math macro just before a binary operation. Here is a minimal example: \documentclass[11pt]{article} \usepackage{amsmath} ...