{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

0
votes
0answers
43 views

When to use \mathrm or \mathsf for math. operators? [on hold]

Looking at some source files one sees for instance \DeclareMathOperator{\tr} {\mathsf{tr}} for the trace of a linear map and \DeclareMathOperator{\rank} {\mathrm{rank}} for the rank of a ...
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
40 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} \...
1
vote
1answer
29 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{% \...
2
votes
2answers
53 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" ...
2
votes
2answers
59 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
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 ...
6
votes
1answer
107 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
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 ...
1
vote
0answers
35 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
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
1answer
24 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
43 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
381 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
79 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}...
14
votes
3answers
976 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
186 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
57 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
61 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
393 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
45 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
1answer
376 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
79 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
545 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
115 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
545 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
31 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
236 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
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
67 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
280 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 \...
4
votes
2answers
193 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
531 views

Customized Not Equal Symbol

How can I create the following symbols, or is there it? I didn't find it?
17
votes
2answers
503 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
69 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
93 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
883 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
79 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
291 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
129 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
83 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
115 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
887 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
72 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
363 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 ...
3
votes
1answer
110 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 ...