{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

7
votes
3answers
179 views

DeclareMathOperator in bold

Ho can I declare a math operator which will appear in bold font? I tried the following, but it didn't work: \DeclareMathOperator{\Div}{Div} \newcommand{\Divxk}{\mathbf{\Div}_{X/k}}
5
votes
3answers
87 views

How to get for to stand separate in an equation?

I have the following equation: \begin{equation} C_k = \frac{1}{N}\sum\limits_{n=1}^N k_n for k \in {1,\dots,K} \end{equation} How can I get the for, and everything after it, to stand ...
1
vote
0answers
111 views

How to implement a template for math journal? [closed]

I want to design a math journal. Please give me a structure for it. For any article there is an individual .tex file. (Excuse me for my bad English :) )
2
votes
1answer
78 views

How can I influence the spacing of mathematical functions by an own macro?

I would like to get a macro \of to define a function with an optional macro \at to define its restriction. The reason is, that I don't like the spacing for functions (as there is no spacing) and I ...
4
votes
1answer
215 views

Typing Following notation in Latex [duplicate]

I need to generate following notation in LaTeX. It's used in differential geometry to denote vector fields. I can't find documentation and detexify is not helpful either.
5
votes
2answers
112 views

Line in set definition

I'm trying a simple definition of a set. My try: $M=\{x\,|\,1\le x\le p-2\}$ Is there a more comfortable way of getting a little space before and after the |? I'm thinking of something like the ...
5
votes
1answer
138 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
320 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 ...
1
vote
3answers
4k 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
94 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 ...
12
votes
3answers
267 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
118 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 ...
0
votes
2answers
451 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
230 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
90 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
176 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
204 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
141 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
115 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
2k 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
546 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
433 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 ...
6
votes
1answer
165 views
+50

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 ...
6
votes
1answer
82 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
209 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 ...
3
votes
1answer
290 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
112 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 ...
6
votes
1answer
228 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
436 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
209 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
171 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
81 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
630 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}.
0
votes
0answers
36 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
205 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, ...
10
votes
2answers
312 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
107 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
852 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
383 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
145 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 ...
4
votes
2answers
792 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
118 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
100 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
261 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
295 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} ...
4
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
464 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
505 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} ...