{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 ...
4
votes
3answers
414 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: ...
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 ...
13
votes
1answer
501 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 ...
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. ...
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!
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 ...
4
votes
2answers
231 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 ...
3
votes
2answers
169 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, ...
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 ...
3
votes
2answers
63 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
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.
21
votes
6answers
842 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?
2
votes
1answer
72 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 ...
2
votes
1answer
74 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?
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
66 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
805 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 ...
2
votes
1answer
48 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)$ ? ...
7
votes
3answers
199 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
95 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 ...
2
votes
2answers
55 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 ...
9
votes
2answers
121 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}$ ...
10
votes
3answers
128 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 ...
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.
1
vote
1answer
39 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
174 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 ...
0
votes
0answers
34 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
91 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 ...
3
votes
1answer
179 views

Integral symbol in Lyx yields errors

I get errors when trying to use the integral math symbol in Lyx document using the report class. I am usig LyX Version 2.1.3. Code and errors below: #LyX 2.1 created this file. For more info see ...
20
votes
2answers
1k views

is there a way to write −= as one symbol in formulas

In programming -=, += and other similar operators are quite popular. But I am unable to write such operator nicely in Latex equations. For example when I use x += \frac{\partial C}{\partial x} I get ...
3
votes
2answers
107 views

Need the help for $ \large \sqsubset $ and $\large \sqsupset $

I need \sqsubset and \sqsupset in larger size. That means $ \sqsubset G_n \sqsupset $ for the purpose of completely lies in side the text within the interval of that open and closed space.
2
votes
1answer
27 views

Is there a way to use commands like \equiv without declaring a function?

I just want to add \equiv to my sentence but I keep getting an error when trying to compile in texmaker. Seems like what I need to do is wrap it in \begin{equation} but I don't want to treat it as ...
1
vote
0answers
35 views

How to type the number of combinations with repetitions? [duplicate]

For the number of combinations with repetitions a symbol similar to the binomial coefficient is used with additional parentheses: What would be the proper way how to type the symbol in LaTeX? I was ...
4
votes
0answers
84 views

Accented math operator

I have this MWE \documentclass[a4paper, 12pt]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{lmodern} \usepackage{mathtools} \DeclareMathOperator{\shift}{décalage} ...
4
votes
1answer
162 views

Is there a right way to provide an empty operand to an equals sign?

Imagine you intend to have "x=" in your document, followed by something that cannot be rendered in math mode, nor within some sort of box within math mode. Is there a preferred way to treat the right ...
15
votes
2answers
398 views

Replace all instances of * with \cdot only in mathmode

As i understand the most accepted form to write the multiplication symbol in LaTeX in \cdot. However i have a rather large document already with * as the multiplication operator. I would like to ...
16
votes
1answer
267 views

Operators with subscripts, superscripts, and accents

In mathematics, the tensor product between two vector spaces U and V is often notated U ⊗K V, if the scalar field is called K. This is usually typed in TeX like U\otimes_K V. I wonder if this is ...
7
votes
1answer
361 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 ...
4
votes
1answer
170 views

How to use only selected math symbols of the STIX fonts?

After reading an article by Grätzer in the current AMS-Notices on the STIX fonts, I wanted to use one of the math symbols in the article I am currently writing. In perfect naivety I did what was ...
1
vote
1answer
79 views

how to get this symbol with Latex? [duplicate]

here is the picture of this symbol: How should I do to get it in math-mode? Thanks.
4
votes
1answer
96 views

operatorname does not work for Greek capitals in Beamer with T1 font encoding

I cannot define operatorname for \Delta when line \usepackage[T1]{fontenc} is added into preamble. For \delta or without T1 things seem to work properly. But for the following example I get ‘´ d’ ...
8
votes
3answers
5k views

How do you create a set in LateX?

I am very lost. I haven't been liking LaTeX as it's quite hard for me to get the hang of it, so I've decided to practice on my own during the summer, but I am already stuck on something that seems ...