{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
1answer
167 views

Getting Math Operators to work in verbatim

I'm very new to Latex and I'm looking to simply have math operators appear with in verbatim tags as follows: \begin{verbatim} 24: max:=0 25: for i:=n downto 1 do 26: found:=false 27: ...
4
votes
2answers
449 views

limits to \oplus not working and double ended arrow equation

I am having an equation which having \oplus with limits, but \limits for \oplus gives error and there is another critical equation with double ended arrow. can anyone please help me to key this ...
2
votes
3answers
7k views

latex symbol for “if and only if” [duplicate]

In LaTeX the symbol for material implication is produced by $\to$, but for biconditional ?
6
votes
1answer
101 views

Commands with Capital letters in their name

A topic that appear over and over is to explain the difference about commands such as \operatorname vs. \DeclareMathOperator. So far I've seen discussions about using one or the other, but no one ...
13
votes
3answers
302 views

How could LaTeX replace the tokens <= by the command \leq?

How could LaTeX replace the tokens <= by the command \leq efficiently? Example 1: I have this code: \[ 2x <= 4x - 2 \] And I want to get after the compilation this: Example 2: \[ ...
5
votes
2answers
136 views

Typesetting with long limits

The problem of typesetting with long limits has already been discussed in Improving typesetting of sums with long limits. However, the answer given there uses \mathop, which does not produce ...
1
vote
2answers
1k views

Subscript of sum [duplicate]

How can I make a subscript for sum in latex like the following picture: I tried \sum_{q_i} but that doesn't make the result I want. It makes the following result:
14
votes
1answer
258 views

How to write a formula using box product

Can anybody help in writing the following formula... I am having trouble. LHS I can write, but not the RHS.
1
vote
1answer
104 views

Assigning different colors to numerical values below a certain parameter?

I'm relatively new to Latex so apologies for any stupidity upcoming. I'm trying to read a Matlab vector into a latex table with values ranging between 0 and 1. For the values less than 0.1, I want ...
1
vote
3answers
260 views

To show something are appearing n-times!

Suppose I want to write that the sequence 1,1,...,1 appear n-times. How will I do this? Usually in mathematics we use a braces at the bottom and write "n-times" below the brace.
2
votes
1answer
336 views

How to write a modified limit operator? [duplicate]

I am trying to write an generalised limit operator, which look approximately like the standard \lim, except it has an additional symbol in front, connected by a hyphen (see example below). I would ...
7
votes
3answers
151 views

Correctly typesetting a relation

I'm trying to typeset a relation. The following should read "< equals {...}", just in the same sense as one would use "x = {...}". \documentclass{article} \begin{document} $< = \{(x, y), (y, ...
7
votes
3answers
144 views

Place symbol inside of \bigsqcup

How can I place a symbol inside of \bigsqcup? What I have tried is this: \newcommand{\concn}{\bigsqcup_{i=1}^n\hspace{-1.07em}\text{\footnotesize $h$\normalsize\hspace{0.6em}}} The problem ist ...
5
votes
2answers
3k views

Matlab LaTeX Interpreter: Minus sign in subscript or in superscript

In general, using Matlab with the LaTeX interpreter works fine. Today I focus a really stupid bug in the visualization of the minus sign. In Matlab I write a text with the LaTeX string $K_{-1}$ and ...
2
votes
2answers
1k views

Split environment alters spacing around binary operators

I've been using split environment from amsmath. A problem that I've run into is that if an & for alignment is placed next to a binary operator, the spacing on that side of the operator is reduced ...
17
votes
5answers
467 views

Brackets around a sum that has no top limit

MWE: \documentclass[12pt]{article} \usepackage{amsmath} \begin{document} \thispagestyle{empty} \[ \mathcal{F} \left\{ \sum_j e^{-2i\pi\nu_j t} \right\} \] \end{document} Result: The sum only ...
8
votes
2answers
278 views

Spacing after derivative operator in the commath package

I am using the commath package to typeset the derivative operator "D" with the command \Dif. This work well unless I want to add subscripts or superscripts. In this case, the spacing after operator is ...
8
votes
1answer
111 views

Change spacing around binary operators

I'd like to change spacing around binary operators and this issue is discussed there: How to change default for spacing around binary relations? Is there way how to change spacing in math and ...
6
votes
2answers
248 views

When substack and array doesn't work

I am trying to write a formula. But both substack and array cannot fulfil my needs (as far as I know how to use them). The first is how I want it to look like. But I need an i'\neq i below the ...
4
votes
1answer
411 views

PGFPlots: Math operations within coordinates yields error?

How can I use math operators within PGFPlots coordinates? When I write something like \draw (axis cs: 0,0) -- (axis cs: sqrt(3),1), I get the following error: ¡ Argument of ...
5
votes
1answer
125 views

Using operator spacing to indicate precedence

I regularly have to typeset equations that are, because of their inherent complexity, difficult to read. To address this I have gotten into the habit of emphasizing operator precedence by horizontal ...
7
votes
1answer
303 views

Math operator names with Neo Euler in XeLaTeX

I am writing a document in XeLaTeX using Libertine and Neo Euler as fonts: \usepackage[math-style=upright]{unicode-math} \setmainfont{Linux Libertine G} \setsansfont[Scale=MatchLowercase]{Liberation ...
4
votes
4answers
745 views

How to typeset an isomorphism symbol ($\simeq$) with a long bar

Is there any way to typeset in LaTeX a \simeq with a longer bar, or equivalently \stackrel{\sim}{\longrightarrow} without the arrowhead?
3
votes
2answers
353 views

What is the latex code for the symbol “two colons and equals sign”? [duplicate]

I wish to use the symbol as in the following picture, however, I can not find it. Can someone help me?
4
votes
1answer
207 views

How to create the character Д for math mode? [duplicate]

In my research I'm using results of the paper Vinogradov A. M., - The logic algebra for the theory of linear differential operators, - Soviet Math. Dokl., 13 (1972), 1058-1062. The paper uses the ...
3
votes
1answer
95 views

Accented operators using babel

I'm using the es-minimal option in babel which, among other things, disables accents on operators. Since I want accented operators I used the \accentedoperators command however the operators remain ...
22
votes
2answers
658 views

how can I create the negation of mathcal letters

I know that the negation of < is got by \not <. The same with many symbols. But this doesn't work with mathcal letters for example, like \not \mathcal{R} or \mathcal{\not R}.
1
vote
0answers
38 views

Down right arrow similar to \to [duplicate]

I want an arrow of the same size and style as the \to arrow, but first going down and then right, similar to this: . Until now I just have managed to do: \rotatebox[origin=c]{180}{$\Lsh$} But it is ...
7
votes
3answers
237 views

Force inline-type superscript for display equations (but display-type subscript)

I am trying to create a macro \jjoin for a mathematical operator which roughly produces the following behaviour: Inline: \bigvee^{(J)}, subscript (typically i \in I) goes in the usual position (as in ...
27
votes
3answers
1k 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
53 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
533 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
121 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 ...
9
votes
2answers
569 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
162 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
133 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
105 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
314 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
552 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
3k 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
562 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. ...
7
votes
1answer
750 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
146 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
225 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
998 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
412 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
3k 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?