{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

8
votes
1answer
360 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
48 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
62 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
417 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
507 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 ...
141
votes
8answers
60k 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
5k 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
24 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. ...
30
votes
3answers
86k 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
3k 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
213 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!
97
votes
7answers
116k 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] ...
7
votes
2answers
335 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
44 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
60 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
191 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
232 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 ...
3
votes
2answers
170 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
171 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
505 views

Customized Not Equal Symbol

How can I create the following symbols, or is there it? I didn't find it?
17
votes
2answers
483 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
843 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
64 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
75 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
61 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
216 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
57 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 ...
5
votes
3answers
789 views

Any way to change color of \not

I often use command \not just to cancel off symbols in my equations and i would need an advice on how to change the color of this command.
2
votes
1answer
73 views

How to write a particular mathematical expression

I am trying to write an equation which is: Now wrote something like this: $\Delta_w_{k} = p\Delta_w_{k-1} + \Alpha_p$ I wrote it partly as I wanted to check whether I was doing the right ...
14
votes
1answer
283 views

Spacing using operators

Why do I get two different outputs from the following lines (in plain TeX)? $f=\mathop{\rm id}_Y\circ f$ $f={\mathop{\rm id}_Y}\circ f$ \bye In both, an operator is used, but in the first one ...
4
votes
3answers
55 views

Element-wise exponential function

I use $\odot$ for element-wise multiplication of vectors and matrices, and $\oslash$ for element-wise division. What are good ways of denoting an element-wise exponential function? I have tried, using ...
2
votes
2answers
67 views

Using \mathtt{A} and the Package \usepackage{MnSymbol}

How can you use the symbol \mathtt{A} and the Package \usepackage{MnSymbol}? My code begin with \PassOptionsToPackage{dvipsnames}{xcolor} \documentclass[a4paper]{book} \usepackage{lmodern} ...
27
votes
3answers
807 views

How can I write something above and below the signs?

I have a relation called Likelihood Ratio Test which has a special format. As you see in the picture, there are two non-equality signs and also somethings above and below them. How can I write these ...
7
votes
3answers
203 views

Concatenation of strings symbols

In his 1989's Theorem for free! (doi: 10.1145/99370.99404, preprint in .dvi) paper, Wadler typeset the concatenation operation with two "plus" signs collapsed: I asked write-math.com and Detexify to ...
2
votes
1answer
50 views

New DeclareMathOperator

In my MWE below, I wanted the create a shortcut for some operators. How can I get the \DeclareMathOperator command to show up like the conventional way of using the actual command $\mathbf{z}(k)$ ? ...
2
votes
1answer
96 views

Adding Limits in (La)TeX

i am trying to add multiple limits. not through multiple \begin{atmProof} \[F'(x)\] = \[\lim_{h\to0} \frac{F(x + h) - F(x)} {h}\] = $$\lim_{h\to0} \frac{f(x+h)g(x+h) - f(x)g(x)} {h}$$ \\ Now we ...
9
votes
2answers
124 views

How can I make a math operator symbol be bigger in display math?

I have an operator $\boxplus$ that works on an indexed collection of arguments, similar to $\sum$ or $\prod$ or $\bigoplus$. The following makes the index ranges typeset nicely: \usepackage{amsopn} ...
2
votes
1answer
69 views

Vector Arrow Weirdness

Here's something strange: \documentclass[letterpaper]{amsart} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{gensymb} \DeclareMathOperator{\Vi}{\vec{i}} \begin{document} $\Vi$ $\vec{i}$ ...
6
votes
2answers
3k 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 ...
9
votes
3answers
2k views

Symbol for “defined to be logically equivalent” (:⇔)

Is there a way to typeset the symbol ":⇔" correctly in LaTeX (i.e. with the right alignment and spacing)? I know that using :\Leftrightarrow or :\Longleftrightarrow gets me the symbol I'm looking for ...
10
votes
3answers
129 views

How to get limits aligned?

Assume the following MWE/Screenshot. How to get the "limits" x and y correctly vertically aligned? I tried already: \mathstrut and \vphantom{g} as discussed in How to align limits of double ...
1
vote
1answer
40 views

How to have Ran(A) in math mode? [duplicate]

Code \documentclass{article} \usepackage[T1]{fontenc} \usepackage{amsmath, amsthm, amssymb} \begin{document} $\ker(A)$ works! $\ran(A)$ does not work. \end{document} How can you have the Ran(A) in ...
6
votes
2answers
175 views

Declare a flexible math operator (such as expectation operator)

I would like to define a math operator, such as the expectation operator, which will be able to optionally receive subscript and/or superscript. Currently what I have is ...
5
votes
1answer
274 views

How to express 1+3+5+7+9 in sum notation

I want to use \sum to express 1 + 3 + 5 + 7 ... + 2n - 1. Can I? Or what methods can I use to express this sequence?
1
vote
0answers
27 views

Math operator seeing as environment [duplicate]

I always define my math operators by using \DeclareMathOperator from the package amsmath. The problem is that let say I use my operator already defined as \Op then when I write the instruction $\Op ...
12
votes
2answers
2k views

Exchange meaning of : and \colon

I usually use the colon symbol : to denote maps. For set syntax there is the braket package. So as the spacing of : is not appropriate, I want it to behave like \colon. I tried ...
0
votes
0answers
35 views

Character with indexes on every corner [duplicate]

I want to write characters in latex with indexes in every corner. For example to write a transformationmatrix from the basis B to the basis B' i need smth like this: ...
6
votes
3answers
92 views

\sum-like command with subscripts both below and next to it

In http://tex.stackexchange.com/a/89448/37686, the last option given (with E = ...) produces a sum-like expression which I am looking to reproduce. How can I define a command (\sumn, say) which ...