{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

10
votes
2answers
925 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
381 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
244 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
1k 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
121 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
279 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 ...
7
votes
3answers
439 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
211 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?
12
votes
1answer
20k 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
329 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
521 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 ...
11
votes
1answer
2k 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
209 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 ...
8
votes
2answers
13k 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
519 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
1k 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.
42
votes
3answers
7k 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
136 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
152 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 ...
4
votes
2answers
7k 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
468 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
121 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
974 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?
6
votes
1answer
969 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
40 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
93 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
134 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} ...
11
votes
1answer
8k views

Expression under summation on multiple lines [duplicate]

Possible Duplicate: Separate long math text under sum symbol into different lines? I want to write expression \sum_{i=0}^n i with i\neq 4 under the summation symbol. How can I write this?
1
vote
0answers
279 views

Why do people write italic “d”s in integrals? [closed]

In some German books, I see what I consider proper: \int \mathrm d x In other books, I just see this: \int d x Since everybody writes $\sin(x)$ instead of just $sin(x)$, I wonder why people ...
12
votes
1answer
1k views

Double sum over i and j with i \neq j

I would like to represent a double sum with i\neq j. So I want two capital sigmas with text i\neq j underneath them. How can I achieve this?
6
votes
1answer
334 views

how to place text on fraction for accounting formulas?

Sorry for the bad grammar. English is not my native language. I want to have text on a fraction type line to show up in an accounting formula, here's an example of what I want: So, I've tried ...
11
votes
1answer
623 views

How can I make LaTeX ignore certain math symbols in math mode?

I have the following equation: <trigger threshold> = average - (<trigger fraction> * average) I want to print this in math mode in a very specific way: <trigger threshold> and ...
16
votes
2answers
8k views

double perpendicular symbol (for independence)

I found from http://jblevins.org/notes/latex that I could use the independence symbol: \newcommand\independent{\protect\mathpalette{\protect\independenT}{\perp}} ...
15
votes
1answer
817 views

Making a unary operator out of a binary operator or relation symbol

Often in physics, the symbol \sim is used as a unary operator to mean "approximately." For example, one might say "the energy of these processes is $\sim 4$ eV." However, this looks awkward because ...
1
vote
1answer
589 views

Combining \operatorname with \mathnormal and \mathrm

Related Question: Typesetting the square of a mathematical operator \operatorname converts its argument into a function symbol with appropriate spaces on the left and on the right. However, I ...
13
votes
4answers
595 views

Is there another symbol that is slightly different from \forall (likewise for \exists)?

What Is there a symbol that is slightly different from $\forall$ (e.g. having a second line from upper left to lower middle)? It should obviously mean "for all" but be sufficiently different to not ...
0
votes
0answers
72 views

How to write a dirac delta symbol in LaTeX? [duplicate]

Possible Duplicate: How to look up a symbol? I mean the squiggle d_{ij} Dirac Delta thing but I am not sure how to put the notation for it. Does anyone know?
7
votes
2answers
438 views

Log-like operator with math inside (e.g. p-lim)

I am looking to make a log-like operator that looks the same as $p \text{-lim}$. The best way so far I found to do this is \DeclareMathOperator*{\plim}{\text{$p$-lim}} Question: Is this the ...
4
votes
1answer
4k views

How to write something underneath \min?

How to type this expression, where has \min on top and \forall at the bottom?
4
votes
1answer
1k views

Typesetting plus-minus uncertainties with different upper and lower bounds

I'm making a data table and need to include my error bars with my data. $\pm$ works great if the upper and lower bounds are the same, however, several of my data points has a different upper limit ...
2
votes
1answer
124 views

\textsuperimposetilde does not superimpose as \sum subscript

Compiling the document, the tilde and P lie seperately under the \sum operator, but as the command superimpose would suggest, I would like them to be superimposed. Works just fine when using ...
1
vote
1answer
688 views

Undefined control sequence math operators

I have an algorithm defined under figure container. For some reason I am getting a strange error in the conditional expression of the second If block statement. \begin{figure} \begin{flushleft} ...
7
votes
1answer
1k views

operator name for kernel

I'm trying to define \newcommand{\ker}{\operatorname{ker}} just after \begin{document} in order to have a nice way to write the kernel of an application but the command is ignored and I don't know why ...
7
votes
1answer
9k views

Two different calligraphic font styles in math mode

I have been succesful in using the calrsfs package together with the standard CM type1cm font. I have been able to obtain in separate documents different calligraphic symbols in math mode with ...
16
votes
1answer
599 views

Customized summation symbol

I am interested in defining some customized math symbols out of existing ones. For example I would like to distinguish between different types of sums, so beside the usual symbol I would like to ...
4
votes
1answer
3k views

Undefined control sequence in align

\begin{align} \label{eq:x} x = \sign{a} \cdotp \sign{b} \cdotp \min(\lvert a \rvert,\lvert b \rvert) \end{align} Above gives me Undefined control sequence. Any ideas would be helpful.
4
votes
2answers
257 views

How to build macros for vector-matrix operators?

Can anybody build macros for doing the following vector operations? Or are there already such macros? For example, 1) Example data: \def\a{(5,3,0)} \def\b{(5,1,6)} ...
15
votes
3answers
428 views

Typesetting the square of a mathematical operator

Assume I want to typeset the square of some mathematical operator A. Using \operatorname (amsmath package), there are basically two ways to do that: \(\operatorname{A^{2}}\) (i.e., the exponent is ...