{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

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
14k 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.
0
votes
0answers
36 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 ...
1
vote
1answer
19 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
23 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
19 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
32 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
334 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
73 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
106 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\ ...
9
votes
1answer
2k 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
965 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
181 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} ...
-2
votes
1answer
42 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
56 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
28 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
381 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
36 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
596 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
373 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
67 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
88 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
486 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
537 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 ...
148
votes
8answers
66k 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
6k 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
29 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. ...
32
votes
3answers
96k 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
228 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!
102
votes
7answers
129k 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] ...
8
votes
2answers
355 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
3k 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
48 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
66 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 ...
14
votes
2answers
228 views

How do I make a $\sigma$ the same size as an uppercase $\sum$ with a symbol or letter in the center of the hole of the $\sigma$?

I am a bit too new to figure out how to simultaneously make something that looks like this: \sum_a^b but instead is a lowercase \sigma that has been enlarged so that I can write a little letter ...
4
votes
2answers
262 views

plus-minus (\pm) in different colors

I'm trying to get the plus-minus sign (\pm) in different colors. I started with \newcommand{\rgpm}{~\overset{\mathbf{\displaystyle\color{green}+}} and probably could further adjust it with some ...
13
votes
4answers
2k views

Filled \Diamond-product sign

I use the multiple \Diamond-product sign (\bDiamond) as described in sign for multiple $\Diamond$-product. Now, in addition, I would like to have a filled \Diamond-product sign, i.e. filled with ...
4
votes
2answers
188 views

How can I define a new operator, which works the same as sum, prod in both inline and display math mode?

I want to define a new operator say \Delta . Which works as the same as \sum or \prod in both in line and display math mode. Say, the subscribes is to the right of the operator in the in line mode, ...
3
votes
1answer
212 views

How I use LaTeX to write limit equations?

How can I use LaTeX code to write limit equations? I am mainly facing at the point where I am to assign the "x tends to" part.
7
votes
3answers
521 views

Customized Not Equal Symbol

How can I create the following symbols, or is there it? I didn't find it?
17
votes
2answers
496 views

How do I make customized $\sum$ operator?

How can I create the following symbols? \circlearrowleft or \circlearrowright centered in \sum operator. EDITED: So, In \usepackage{esint} package, \ointclockwise and \ointctrclockwise; how to ...
21
votes
6answers
868 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?
3
votes
2answers
68 views

How to mathematically represent my equation?

I want to say "for all k from 1, 2,...B that are not elements of the vector S. What is the best/most professional way to represent this? Is there a better way to represent it than Thanks, Kevin
2
votes
1answer
107 views

Group binary operation symbol?

I tried to write • as the binary operation for a group (G, •), but \cdot seems too small and \bullet seems too large, so what symbol is normally used?
1
vote
1answer
80 views

How to replace mathptmx \sum with CM \sum?

I would like to replace the rather ugly mathptmx \sum operator with the equivalent Computer Modern one.
6
votes
1answer
239 views

Standard for typesetting mathematical objects other than variables

Is there a standard in mathematics for typesetting the textual (not symbolic) identifiers of mathematical objects other than variables? Textual identifiers of mathematical objects other than ...
2
votes
2answers
69 views

Use mathrm + isomath with beamer

I use isomath to make greek letters italic by default. Sometimes I want an upright operator. Then I use \mathrm. It works in the report, but not when trying to use it in my presentation. This is a ...