{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

3
votes
3answers
79 views

Placement of limits

I'm trying to define a directed supremum operator in latex but I can't come up with something that would behave well in all situations. Here's what I've tried: \documentclass{article} \usepackage{...
1
vote
1answer
16 views

Inline-style variant of \underset

I need to indicate the relation to that the ordering \geq operator refers, because there are several relations R, Q and so on. For display-style math I use the \underset macro to put the relation ...
2
votes
2answers
40 views

Notation for proper normal subgroup

Is there any easy way to put not-equal sign to any binary operation symbol like \triangleright etc. For example, I want to use it for a proper normal subgroup. If found one solution for \lhd but it ...
21
votes
6answers
935 views

How to change color of operators (lim, log, etc.)?

How can I change the color of operators like "log", "lim" or the root symbol of \sqrt command?
6
votes
2answers
1k views

Build this formula in LaTeX

I'm working on my term paper and have to include the calculation for the Google PageRank. This is what it looks like in Wikipedia: How can this be represented in LaTeX? I'm especially struggling ...
2
votes
1answer
44 views

Math Operators and beamer

I'm using xelatex and I'm having a very strange problem: while \documentclass{article} \usepackage{xparse} \usepackage{subfig} \usepackage{amsmath} \...
2
votes
2answers
63 views

How to change the Math Delimiter font [duplicate]

I am using minion math font to change the operator as minion math. I successfully changed display math operator like \sum, \int etc., But I am unable to change the Minion Math font "Math Delimiter" ...
1
vote
1answer
36 views

Conflict between breqn and \dashint

If I use the following code to get an average integral \documentclass{article} \usepackage{scalerel} \usepackage[usestackEOL]{stackengine} \def\dashint{\,\ThisStyle{\ensurestackMath{% \...
30
votes
6answers
846 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: \[ ...
33
votes
1answer
41k 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?
2
votes
2answers
65 views

how to print long relation operators like simeq and sim with text above in latex

ENV xelatex --version XeTeX 3.14159265-2.6-0.99991 (TeX Live 2014) bibtex --version BibTeX 0.99d (TeX Live 2014) \mathrel{\simeq\!\simeq} not what I want. \stackrel{\text{mytext}{\simeq}} the ...
0
votes
0answers
67 views

Binom/frac the way I need them

I have been trying to get this equation to work in my Latex file for over an hour now and I wasn't able to get it to look the same way. Can anyone help me and let me know what the correct commands ...
6
votes
1answer
109 views

How to type rectangle norm symbol in math?

How can I write the rectangular norm symbol in math-mode where the text in between is centered, as seen hereinafter?
0
votes
0answers
25 views

Context sensitive set formation operator

In my works I normally use \{x\mid\varphi(x)\} as a set forming operator. Its disadvantage, from my point of view, is that the vertical stroke is always the same, irrespective of the context. Is ...
11
votes
2answers
2k views

Too small space when using \DeclareMathOperator

Currenlty I'm writing a math script (ring theory, PDF). When I need a new math operator I use \DeclareMathOperator from the amsopn-package. However I noticed some strange behaviour when using an ...
18
votes
7answers
15k views

Average integral symbol

Is there in LaTeX a symbol or a macro for the average integral with a horizontal slash? I know about \strokedint, but I'd prefer the dash to be horizontal.
1
vote
1answer
24 views

Disable certain babel accented operators

I must confess I don't know much about how babel really works, so maybe someone can help me with a quick solution. I have the following line in my LaTeX preamble: \usepackage[spanish]{babel} By ...
1
vote
0answers
46 views

\mathop spaces on \intop limits

I use \intop from esint package and it behaves different with limits when included in \mathop. It is declared as: \re@DeclareMathSymbol{\intop}{\mathop}{largesymbolsA}{'001} Example: \...
1
vote
1answer
26 views

Spacing of \tilde{\otimes} [duplicate]

How can I make the spacing of the two symbols, \otimes and \tildeotimes, identical? \documentclass{article} \usepackage{amsmath} \DeclareMathOperator{\tildeotimes}{\tilde{\otimes}} \begin{document} ...
2
votes
1answer
46 views

pdfTex: \operatorname with Computer Modern Roman

I am using the default font, Computer Modern Roman, and I am trying to get \operatorname to work properly. The issue is that it appears to look identical to normal text. This question: LuaLaTeX: No ...
5
votes
3answers
404 views

Math operators with and without parentheses

I have made several math operators in my preamble, but now I want to make a minor change (in the output). I will use the gradient operator as an example in the following. The MWE below shows my ...
1
vote
2answers
83 views

Making the product operator (pi caps) with the extremes above and below the symbol

How can I make the symbol of product operator (pi caps) making the extremes remain the same above and below the symbol? (I do not want the extremes on the right side of the symbol) I wanna write this ...
1
vote
2answers
111 views

How to write this math equations without $

Does anyone know how to write these equations without $? QFtHB.jpg
0
votes
0answers
17 views

How to use '\' inside $$ [duplicate]

How can I make \ symbol inside $ $ in latex. As \ is used to start all the commands, so if I want to write some set A which excludes a few elements then usual math way is to write them as $A\ {a,b,c,d}...
9
votes
1answer
6k views

e^{…} vs \exp(…) in display mode

In terms of readability as well as correct syntax, what is more preferred in mathematical equations: e^{...} or \exp(...) -- and why? For instance, e^{x^2/(4t)} or \exp(x^2/(4t)). The latter is ...
14
votes
3answers
977 views

How to create these nice operators?

I'm trying to typeset a paper in Haskell, and I want to typeset these operators: I'm talking about <*>, <$> and <$. I've seen these before in articles about Haskell. Is there a ...
6
votes
1answer
187 views

How to get limits in integral to the right hand side

I like the integral from mathdesign, but how can I get the limits to the right hand side? \documentclass{article} \DeclareSymbolFont{md}{OMX}{mdput}{m}{n} \DeclareMathSymbol{\Newint}{\mathop}{md}{90}...
-2
votes
1answer
66 views

Put plus, minus, time and divide sign in a square [duplicate]

For circumscribed circle, it is $\otimes$, $\ominus$, I get it, but how do you put them inside a square? i have seen something similar in here and here.
0
votes
1answer
62 views

Standard way of typing a set of equations in math mode involving two relations, for example: $=$ and $<$ [closed]

When typing a set of equations in math mode, is it better/clearer/standard to type, for example, how Rudin types this equation (pg 15 'baby Rudin'): Notice, how the third line changes to $\le$ and ...
0
votes
0answers
29 views

\mathbb{} not working [duplicate]

I am using TeXMaker, and I am trying to implement the expectations operator using \mathbb{E}. This should work, and does indeed work on LyX where I double checked, but is not working (compilation is ...
4
votes
1answer
395 views

Double powers: ^ does not work

I would like to write a power on top of a power as in this sample equation: I can write e^-{(lambda \, t)} for the first power and then how to add the alpha exponent? LaTeX does not allow another ^.
4
votes
1answer
49 views

Beamer and unicode-math together make log-like operators disappear

Using beamer and unicode-math together leads to the disappearance of all log-like operators (\log, \mod, \sin, etc.), as shown by the following minimal file. Interestingly, compiling with XeLaTeX or ...
2
votes
0answers
26 views

Curl and divergence operators [duplicate]

I'm wondering if there's a TeX package where I could find a proper command to type curl and divergence in equations. Any help? Cheers, Riccardo
9
votes
3answers
651 views

How do I write $\sim$ approximately with the correct spacing using siunitx?

This question is similar to this one, only that I'm using the siunitx package: \documentclass{minimal} \usepackage{siunitx} \begin{document} The temperature is \SI{\sim 200}{\kelvin}. \\ The ...
9
votes
1answer
377 views

How to use a special character as a math operator?

I'd like to use \v{C} as a math operator. However, if I write $\v{C}_r(S)$ or define \DeclareMathOperator{\Cech}{\v{C}}, the \v{C} symbol does not get shown at all. What is the proper way to handle ...
0
votes
1answer
85 views

Mathematical symbol: An operator as a map from a vector space into itself

My professor had a nice notation that he used for operators on vector spaces that I thought was clear. It wasn't something like $L: \mathcal{V} \to \mathcal{V}$ but rather a hooked arrow that ...
6
votes
2answers
121 views

\DeclareMathOperator: wrong space when the operator is followed by a binary operator

In his answer to the question Shortcuts and/or user-defined shortcuts for math symbols in LaTeX?, it is advised to denote the gradient with \DeclareMathOperator{\grad}{grad}. But this is suboptimal (...
4
votes
3answers
566 views

Defining \tg so it behaves exactly like \sin and \cos?

In my country, instead of tan, we use tg (this is just one of them). I want to be able to type \tg{x} and possibly \tgx So that Latex recognizes them. I tried defining them like this: \...
13
votes
1answer
548 views

Symbol for m by n matrix

I have been using m \times n to denote the size of a matrix. But lately I've decided that it has too much space and doesn't look quite right (to me). Presumably the largish spaces are present because ...
155
votes
8answers
71k views

What's the proper way to typeset a differential operator?

I can't seem to find any consensus on the right way to typeset a differential operator, whether it is: in a standalone context: as part of a derivative: as part of an integral: In all of these ...
6
votes
2answers
7k views

Why does lim_{n\to\infty} work in my LaTeX document?

lim_ is not a command in LaTeX because all commands begin with a back slash. However, why does lim_{n\to\infty} work in math mode? What is lim_ if it is not a command?
3
votes
1answer
32 views

Spacing around equal sign with breqn

In the following minimal example, the spacing around the equal sign is wrong. How can I fix this? It is rendered as x =0 instead of x = 0. Changing to align* instead of dmath* works fine. \...
33
votes
3answers
103k views

How to do the 'curvy L' for Lagrangian or Laplace Transforms?

I am new to TeX, working on it for about 2 months. Have not yet figured out how to script the 'curvy L' for Lagrangian and/or for Laplace Transforms. As of now I am using the 'L' - which is not good! ...
11
votes
3answers
4k views

Is there a “medium” \cap?

When displaying the intersection symbol in equations, e.g., $$Hom(A,B) \cap Hom(B,C)$$ I find that the "cap" is too small; its height is, in fact, subordinate to the surrounding content. On the ...
8
votes
2answers
239 views

Insert a special integral sign

I'm trying to insert an integral sign that has a "C" imposed on. Specifically, I need the unicode character U+2A10, which looks like: ⨐ . I do not want to use the stix package or XeLaTex. Thanks!
109
votes
7answers
140k views

Command for argmin or argmax?

How can you get the argmin or argmax in Latex? Two solutions I found are: \underset{x}{\operatorname{argmax}} \DeclareMathOperator*{\argmin}{arg\,min} Any other ideas? [1] http://www.breakthru....
8
votes
2answers
373 views

Automatic reduplication of equal sign in the beginning of broken formula

Suppose we have the following code \documentclass{article} \begin{document} $a=b=c=d=e=f=g=h=i=j=k=l=m=n=o=p=q=r=s=t=u=v=w=x=y=z$ \end{document} which produces the following result I want to have ...
15
votes
5answers
4k views

How do I put a circle around an operator?

For example, I want to put a circle around \land, just like one can put a circle around + by writing \oplus. Is there a general method to do this?
8
votes
1answer
50 views

How to define ReDeclareLargeMathOperator

I want alter an existing math operator by applying a macro to it. In the MWE the \ReDeclareLargeMathOperator applies the \ProcessSymbol macro which in this example changes the color of the symbol as ...
2
votes
1answer
72 views

ceiling and floor functions used as min and max: ever seen? [closed]

I remember seeing somewhere people using symbols for ceiling and floor operators together with super/subscripts as substitutes for min and max. Example: \lceil x \rceil ^k to mean \min(x,k). Has ...