Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [math-operators]

{math-operators} is about operators in math mode. These include sums, integrals and similar, text operators like sin, cos, etc.

2
votes
1answer
35 views

How to type summation notation with a vertical line in Latex?

I need to type the following summation symbol in Latex. Could anyone help me? Literally, there needs to be a vertical line in a summation symbol, and $\hat{\beta}_2$ is just a subscript. Thanks in ...
1
vote
0answers
22 views

Math mode in Tabular environment [duplicate]

With tabular or tabularx environment, when dealing with numbers , percentages and other math symbols per se, do we need to use the math mode ( $$ for instance ) with every number/symbol. Is there an ...
0
votes
0answers
38 views

Pre-define complicated math operators

Problem I am trying to find a easy way to write Rademacher complexity so that I just need to write different index, function and constraint every time. Like defining partial derivative I previously ...
0
votes
0answers
33 views

What is a good way to declare math operators?

it's not really clear to me how to declare unary and binary math operators in a "good" way. At the very least, I'd like spacing to be correct. But I'd also like the defined macro to be used "as is" in ...
4
votes
1answer
56 views

Align vector symbol with upright math letter

So basically I need to put a vector symbol (\vec) on an upright letter for which I use \mathrm in math mode. For example: \vec{\mathrm{E}} While Katex seems to get the alignment right on all the ...
1
vote
2answers
59 views

Underscript, subscript and superscript add the same time possibly via \mathoperator* without trailing space

I have a symbol, which I want to give a underscipt, subscript and superscript. I tried: \DeclareMathOperator*{\wmat}{w} \wmat_2_i^j But now I get a space between my symbol and the sub and ...
1
vote
3answers
46 views

Stacking Symbols for a Math Operator [duplicate]

I want to create a math operator that is an integral with a square (\square) stack onto it such that the integral is still formated the way that the operator \int is. How do I do this?
1
vote
1answer
55 views

Symbol “represented by” from quantum mechanics [duplicate]

The symbol I'm referring to is a standard equal sign with a dot right above it. I've looked around, but cannot seem to find the LaTeX code for the symbol used by Sakuri to represent operators in his ...
0
votes
0answers
16 views

XeLaTex: error on Z operator of an equation

I try to write the following equation using amsmath: So far I tried the following approaches: $H : G \rightarrow \Z_{q}^{*}$ $H : G \rightarrow \Zeta_{q}^{*}$ But both of them result to erroneous ...
2
votes
1answer
39 views

Resize several math operators to the same size

I need to use several math operations between the same kind of objects and would like them to be of matching sizes. E.g. I have two different operations: $\otimes$ and $\ast$. But the asterisk is much ...
2
votes
2answers
93 views

How do I fix the parentheses and division bar spacing in this quotient of partial derivatives?

With this code: $\frac{\left(\ffrac{\partial \left[\frac{P}{T}\right]}{\partialV}\right)_T }{\left(\ffrac{\partial V}{\partial T}\right)_V}$ And where: \newcommand{\ffrac}[2]{\ensuremath{\frac{\...
0
votes
0answers
28 views

Using “\R”, for real numbers, results in error “Undefined control sequence” [duplicate]

I would like to insert a double-struck letter ℝ for the real-numbers. However, all of my attempts so far have yielded an error. \documentclass[sigconf]{acmart} \begin{document} \section{...
0
votes
0answers
30 views

How to define an arbitrary math function that works in `tikz` environments? [duplicate]

Using this post: Package or command for inverse hyperbolic trig functions? it is easy to write (inverse) hyperbolic Secant function in documents. But the main problem is it doesn't works on tikz ...
3
votes
1answer
65 views

Define a new big operator in ConTeXt

I would like to replace the sum symbol by a big plus as Pedro G. Mattos wanted to do here How can I define a big plus operator that works like \bigcup?. In the wiki I found that the command I should ...
1
vote
1answer
33 views

How can i type a negative angle

How can I type a negative angle? Like this: I've been trying a lot of things around $U\angle\gamma$ but couldn't make it work.
1
vote
1answer
28 views

Error when defining a math operator and corresponding `\renewcommand`

I tried to define a new math operator - essentially a math macro. I wanted to define an operator for the Eccentricity of a graph or network. The code seems to work when I generate a PDF, however I am ...
5
votes
1answer
75 views

Wrong position of the vcentered minus sign in subscript using stix2

Is there any way to place minus sign at the same height as the horizontal bar of the plus without using raisebox? \documentclass{article} \usepackage{stix2} \begin{document} \( I_{a\vcenter{\hbox{$...
6
votes
1answer
225 views

No spacing after \Sigma?

There seems to be barely any spacing (if at all) after \Sigma, making it hard to read. Is this normal? Is there any way around it? $ \Sigma_{v \in V} \alpha $ Output: Desired output:
1
vote
1answer
75 views

Are there any packages which simplify typsetting integrals?

The physics package has been instrumental for me in typesetting math cleanly and consistently (while following a lot of nuances of mathematical typesetting). But it does not have integral support. ...
2
votes
0answers
88 views

How to create an expectation symbol that behave similarly to \sum? [duplicate]

Introduction This question is already asked here. If you want you could consider this one a duplicate. However, even if the proposed solution satisfied the one that posted the question, it doesn't ...
14
votes
1answer
243 views

Further questions about mathrm and operatorname: spacing after \colon

EDIT: As clarified in the answers below, this appears to be a bug with amsmath and colon and thus doesn't really have anything to do with mathrm versus operatorname. This question contains an ...
5
votes
2answers
222 views

How do you resize the box of a symbol, while vertically centering it?

Consider the following MWE: \documentclass[margin=2mm]{standalone} \usepackage{amsmath,amssymb} \usepackage{graphics} \def\myboxmin{\mathop{\raisebox{.15em}{\scalebox{.5}{$\boxminus$}}}} \begin{...
3
votes
1answer
37 views

\DeclareMathOperator not working on some math names with a number at the end

I am trying to use \DeclareMathOperator to make names for some Maple generated latex which uses the special function LommelS1 For some reason I can't figure out, it is not working. \documentclass[...
2
votes
0answers
33 views

Problem with font math operator

this is my first time here because I need a help about main font and math font. When I use the standard font, there isn't problem, but, when I change the main font, for example "Gill Sans MT", the ...
2
votes
1answer
52 views

Formatting of a star in the right upper corner of a product symbol [duplicate]

I'm trying to get a star in the right upper corner of a product symbol: \documentclass{article} \usepackage{amsmath} \begin{document} First variant in equation is bad: \begin{equation}\...
2
votes
1answer
57 views

Reverse an existing big math operator keeping same functionality (such as limits)

I would like to define an operator \rsum which has all the same functionality of \sum with the only difference being that \rsum displays a mirrored image of the sigma glyph. I have found the ...
4
votes
1answer
50 views

\mathop applied on colon

I thought I knew when \mathop centers its argument on the math axis and when it does not, but apparently I'm wrong (admittedly, that happens rather often :-)). \documentclass{article} \begin{...
3
votes
2answers
53 views

How can I create macros that always have the same kind of behavior?

So this question is actually two, but I think they'll be solved in the same way, so I'm putting them together. The form \textstyle\lim_{n\to\infty} always bothers me, because it takes up lots of ...
9
votes
2answers
1k views

Why is this weird space appearing after my minus sign

I'm using MathJax-Node to turn TeX maths equations into both MathML and SVG on my server. Mostly this works fine. But when I render Tupper's self-referential formula, a weird space appears after the ...
6
votes
2answers
101 views

\DeclareMathOperator adds spaces after the periods contained in its second argument (name text)

The following MCE points out that \DeclareMathOperator, if its second argument (name text) contains periods, adds spaces after those periods: \documentclass{article} \usepackage{amsmath} % \...
1
vote
1answer
42 views

How to generate \biguminus math symbol?

How do I create a \biguminus symbol which is similar to \biguplus except there is a minus sign instead of plus sign?
1
vote
2answers
82 views

What in the following code could be missing or at fault? There is no difference in size between textstyle and displaystyle [closed]

\documentclass[a4paper]{article} \usepackage{slashed} \usepackage{amsmath} \usepackage{mathabx} % \degree\third \usepackage{MnSymbol}% \plus % Latex standard: \times \newcommand{\boto}{\...
0
votes
3answers
66 views

Mathematical equation using { with following three lines

I would like to typeset the following equation in LaTeX: However, I am stuck here: \begin{equation} \label{OBV1} \begin{split} OBV = OBV\textsubscript{previous} + \Bigg\{ \end{split} ...
0
votes
0answers
35 views

How can I make a letter appear over an arrow in math mode? [duplicate]

I pretty much want \overrightarrow but the opposite. I tried \rightarrow\limits^{x}, but that didn't work either. Then I tried to to do \usepackage{mathtools} in order to use \xrightarrow. It ...
1
vote
1answer
224 views

Math symbol doesn't work properly

Something quite strange. Why I have as a result of the following formula: \begin{equation} \omega=\lambda_{1}\Sigma^{-1}\bf{1}+\lambda_{2}\Sigma^{-1}\mu \end{equation} a black square instead the ...
3
votes
1answer
78 views

a more elegant subscript

I would need a suggestion to write a new command for superscripts and subscripts. the problem occurs above all with double pawns or with external paws to a parenthesis Written in this way are really ...
2
votes
1answer
159 views

Apply Math operations on loaded data inside PGF/Tikz plot for each column

I am new to LaTeX plotting system and I have got lost in a problem, I have a csv file which has 11 columns, and I want to plot columns 2 to 11 vs column 1. So I do it as given in the following code (...
1
vote
2answers
160 views

Index under sum symbol below following equation

I have a sum symbol with a quite long index underneath. This produces too much space between the following signs. \begin{equation} \sum_{X\leq-VaR_\alpha(X)}{P(X)\cdot x} \end{equation} I would ...
13
votes
2answers
910 views

What is the right space between a math operator and its subscript?

I am trying to define a command for a math operator \mathcal P_\mathrm{ext}. So I thought some candidates for this: \mathcal P_\mathrm{ext}(H) \operatorname{\mathcal P}_\mathrm{ext}(H) \...
2
votes
1answer
145 views

How can I use ESSTIX font in LaTeX

I am quite interested in the ESSTIX symbol font. The question is, how can I use symbols from this font set? In particular, I am quite interested in those symbols in ESSTIX6 (especially the integral ...
2
votes
3answers
101 views

True fixed-width font for standalone mathematical expressions

I'd like the following to be in a fixed-width (i.e. monospace) font, so I can get the various expressions lined up nicely in order to (probably with a bit of manipulation) make their similarities and ...
2
votes
1answer
73 views

How do I get \DeclareMathOperator to put the limit beneath? [duplicate]

I use at the picture above: \DeclareMathOperator{\vo}{vol} And this is the complete line: \[ \lim_{a}=\vo_{a} \] I can make that the a will be below the vol? (like the lim). Thank you!!
0
votes
1answer
87 views

Generate math symbols from argument

I have been trying to create a small latex math symbol reference. My list will require repetition of lines like \textbackslash lfloor - $\lfloor$. I want to create a command that takes in one argument ...
1
vote
1answer
91 views

Macro for writing 10^power

Can we define a macro for writing "10^power" using a single command? like I am using following macros for various units. \documentclass[a4paper,12pt,oneside,openright]{report} \usepackage{listings} ...
3
votes
2answers
241 views

Centering Three Vertical Dots With the Math Axis

I have a formula like below w(\boldsymbol{\kappa})=\frac{1} {2}\boldsymbol{\kappa}\,\vdots\,\mathbf{G}\,\vdots\,\boldsymbol{\kappa} which has an output of the form I want the triple vertical dots ...
4
votes
4answers
772 views

Long summation symbol

I need to put a long expression under summation symbol in single row. For example like this $(i_1,\ldots,i_n)\in\mathcal{P}(\overline{1,n})$. How can I get a long summation symbol? Long but not tall. ...
0
votes
2answers
252 views

Does there exist a 'curly' multiplication symbol?

Question: Does there exist a 'curly' multiplication symbol? For example, for 'curly' equal sign, we have $\approx,$ which distinguishes itself from the normal $=$ sign. I would like to do the same ...
6
votes
0answers
187 views

unicode-math: problem with math versions and operator font --?

When changing the math font using \mathversion under unicode-math, math operator commands (such as \lim or \cos) lead to an error message stating "math alphabet identifier \mathrm is undefined in math ...
4
votes
3answers
3k views

Rounding to nearest integer symbol in Latex

There are some threads here, in which it is explained how to use \lceil \rceil \lfloor \rfloor. But generally, in math, there is a sign that looks like a combination of ceil and floor, which means ...
0
votes
0answers
16 views

LaTeX: How to use inline limits in equation mode [duplicate]

When in equation mode, limits appear below and above operators (\min, \max, \sum, etc.) I would like to make them appear as in inline mode, near the operators. I know the inverse is possible (adding \...