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.

9
votes
2answers
202 views

How can I reduce the gap between left and right of \cdot with a macro?

MWE \documentclass[a4paper,11pt,border=1pt]{standalone} %\LetLtxMacro{\oldcdot}{\cdot} %\renewcommand{\cdot}{\!\cdot\!} <-- Like this \begin{document} $3\cdot 10^8$ m/s \end{document} I'm getting ...
0
votes
0answers
13 views

What is the Q matrix when speaking about fixed effects estimation? [closed]

Sorry to bring you pictures but I stumbled upon this piece of evidence for the fixed effect estimator that I can't seem to unhinge. I have two questions 1) what is the 'plim'-term? 2) what is the Q ...
0
votes
0answers
17 views

How to write italic capital I / iota? [duplicate]

I'm trying to write I in the following style: How do I do this?
0
votes
1answer
29 views

multiple math operators newcommand not working

I'm trying to create a \newcommand, on my system, called \states which takes two arguments. It should look like this (image below): But the angle brackets are not appearing when I try (MWE) : \...
0
votes
1answer
26 views

Operator font with lualatex not changing correctly

I'm using newpx as my document font. However I'm having some problems when compiling with lualatex because the font of math operators does not change to newpx and Computer Modern is shown instead. ...
5
votes
3answers
534 views

Complex fractions

How to make this more adequate ('beatifuller' :))? 2 needs to be better shown as being in the power of n-1, but the current representation just smothers it. \frac{1}{1-\sum_{2}^{n} \frac{1}{{\frac{r}{...
42
votes
4answers
2k views

How do you make your own symbol when Detexify fails?

My first visit to TeX.SX came when I was looking for a symbol for a twisted product: I knew about Detexify and the Comprehensive LaTeX Symbol List, but I could not find the symbol there. I tried the ...
4
votes
4answers
349 views

How to make a small $\varhexagon$ in latex?

I would like to have a command that shrinks down the size of $\varhexagon$ from the wasysym package in latex to a very small size. In principle, $\tiny \varhexagon$ does what I want, but apparently ...
0
votes
1answer
35 views

Letter O with vertical line: operator null [duplicate]

I wan to know how this letter O with a vertical line for operator null in maths. Thanks.
2
votes
0answers
55 views

slender \lgroup and \rgroup

The default \lgroup symbol in the most of math-mode fonts is thicker as compared to the text- and math-mode alphabets and numbers. A few fonts provide slender \lgroup symbols like newtxmath, mathabx, ...
13
votes
3answers
156 views

Setting fixed height (in all situations and characters) for overset notations

A noticeable downside to aesthetics in the \vec{} notation is that, for "short" and "tall" characters (a, i, v vs b, k, l), the overset vector notation shows difference in its height from the baseline....
3
votes
2answers
34 views

Import txfonts integral

I was trying to import the integral symbol from txfonts. In txfonts.sty I was able to find only multiple integrals of any type but the simple single one. I am sure I am missing something, can someone ...
1
vote
0answers
58 views

How to typeset nested radical/root expressions?

I'm writing my own math expression typesetting engine. I want to learn how to best typeset radical expressions. The choices actually apply to all radical expressions, however, nested radical ...
1
vote
2answers
216 views

Transpose a matrix and parenthesis

I would like to define a command transp having eventually one argument : the name of the matrix and finally two outputs. \transp{A} is the matrix A^T between parenthesis, \transp A is just the ...
1
vote
2answers
48 views

Defining TikZ function to produce Knodel graphs

I am trying to define a function that will produce a Knodel graph (examples pictured below). I'm not completely sure how the code works for TikZ to do a for loop using a range, and how to compute ...
5
votes
3answers
80 views

Parenthesise math expression if it contains operator

Imagine I have written several fractions of the form $\frac{V+W}{U}$ and decide later that I want them to be displayed as a slashed fraction instead. In the group where I want this to happen, I can ...
2
votes
1answer
49 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
25 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
42 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
40 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 ...
5
votes
1answer
77 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
72 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
116 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
124 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
19 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
45 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
107 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
32 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
33 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
79 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
36 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
36 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
87 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{$...
7
votes
1answer
249 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
343 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
264 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
224 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
44 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
36 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
101 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
59 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
56 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
54 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
105 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
44 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
90 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} ...
1
vote
1answer
263 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 ...