{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

5
votes
3answers
364 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
694 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
277 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?
15
votes
1answer
39k 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
344 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
753 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 ...
14
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
237 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 ...
10
votes
2answers
20k 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
598 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.
53
votes
3answers
11k 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
151 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
225 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 ...
8
votes
2answers
10k 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
678 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
128 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
4k 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
2k 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
143 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} ...
8
votes
2answers
408 views

How to type a tall / symbol?

Say I want \documentclass{article} \begin{document} \[cl(V, q) =\left (\sum_{r=0}^{\infty} \bigotimes^r V\right)/\{v\otimes v = -q(v,v)\}\] \end{document} How to make the "/" symbol longer to ...
17
votes
1answer
16k 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
312 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
2k 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
391 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
810 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 ...
18
votes
2answers
12k 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
1k 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
739 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
649 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
77 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
541 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 ...
7
votes
1answer
8k 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
2k 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
138 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
818 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
2k 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 ...
9
votes
1answer
14k 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
701 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
4k 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
279 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
463 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 ...
1
vote
1answer
814 views

Is there a symbol for a circled intersection? Like \oplus for the plus sign [duplicate]

Possible Duplicate: How do I put a circle around an operator? Is there a symbol for a circled intersection sign? or an alternative way to render something like in the image below? Something ...
12
votes
1answer
364 views

Problem with “equal” sign and glossary entry definition

I am using glossaries package and I encountered a problem in the symbol field. When I define it as $m=1$ I get the following error message: ! Missing $ inserted. <inserted text> ...
47
votes
3answers
15k views

newcommand vs. DeclareMathOperator

As far as I understand, whatever can be done using DeclareMathOperator can also be achieved using newcommand, but not the other way around. If this is the case, what are the circumstances where ...
13
votes
4answers
414 views

Creating a circled operator which expands into a lozenge

I have a LaTeX document which has a binary operator called "composition". Normally, this is written as a circled letter, where the letter is passed as a parameter: \comp{x}. I can achieve good results ...
2
votes
2answers
2k views

Using \Mathsmaller in math display mode makes the character appear to the right of the symbol itstead of below it

I am trying to use \prod in math display mode but it appears large (larger than I want it to be) but when I use \mathsmaller from the relsize package the letter appears on right side of it instead of ...