Questions tagged [math-operators]
{math-operators} is about operators in math mode. These include sums, integrals and similar, text operators like sin, cos, etc.
1,039 questions
2
votes
2
answers
165
views
Adding Hendrik Vogt's \widebar to an expl package
Hendrik Vogt's \widebar: https://tex.stackexchange.com/a/60253/383565. The correct output is
But if we wrap the definition of \widebar within \ExplSyntaxOn ... \ExplSyntaxOff (as would be the case ...
10
votes
1
answer
456
views
The nature of the \sup operator
I am writing some notes for a very time-consuming job. I was wondering what kind of operator \sup is, or what its nature is, considering that it does not leave any space between itself and the curly ...
1
vote
1
answer
70
views
Can I use \limits for an math operator I defined? [duplicate]
Normally, we can use \limits to put something under a math operator. However, when I declare a new math operator, \limits seems not working. Here's the code:
\documentclass[10pt]{article}
\usepackage{...
9
votes
4
answers
498
views
Issue with \integral command from intexgral package in math mode
I am using the intexgral package to format integrals with the upright "d" as the differential operator in my document. However, I am encountering an issue when I attempt to use many ...
1
vote
0
answers
75
views
Missing operators and symbols to fit with lmtt fonts in pdfLaTeX
In relation to my previous question on this page, where I have found a solution I was looking for on this site https://jfbu.github.io/mathastext/showcase.html, I would like to understand how to set ...
4
votes
1
answer
185
views
Use nice symbol (::=) from lualatex in xelatex
I like the look of the ::= in the regular article template:
\documentclass{article}
\usepackage{colonequals}
\begin{document}
$$
A ::= B(c, d)
$$
\end{document}
$ latexmk test
Unfortunately, with ...
5
votes
1
answer
202
views
How can I make sum symbol be the same height as int symbol?
In Spivak, Calculus on Manifolds, the summation and integral symbols are the same height.
I would like to resize the \sum symbol so that it's heigth is the same as the \int symbol. I have seen this ...
5
votes
2
answers
261
views
Spacing before and after text operators
I would like to define custom text operators in math mode, such as "if", "then", "catch".
These operators should always be preceded and succeeded by some space.
...
3
votes
3
answers
299
views
The alignment of a limits in LaTeX
I'm writing some documents. I want write some code to do some nice alignments like example below. What is the nice code that will do nice alignment for me?
0
votes
1
answer
122
views
Calling XeTeX functions from math mode (and correct placement of integral limits)
I confess that, even after many years of using LaTeX, XeTeX, and lately, LuaTeX, I am still somewhat unclear on the whole concept of TeX expansion and issues with using certain commands in certain ...
4
votes
2
answers
115
views
How do you make an \ooalign binary operator scale in superscripts
I am trying to make a binary \udot operator modeled on \uplus but with a \bullet instead of a plus. I'm essentially following the answer to this post and this is my code:
\newcommand\udot{\mathbin{\...
4
votes
2
answers
241
views
How to adjust automatically the size of the "||" (norm) symbol?
I want to add a function as a shortcut,
\newcommand{\Ent}[2]{\mathrm{Ent}\left (#1~ \left| \right|~#2\right)}
which looks like Ent(a||b), and tried to use \left and \right to automatically adjust the ...
3
votes
1
answer
124
views
Operators don't have accents when using newpx and babel packages
In Spanish, operators such as lim, max and inf are usually written with accents (lím, máx and ínf, respectively). However, when loading the package newpx, these accents are not displayed.
Here is a ...
3
votes
2
answers
135
views
Adapt incorrect scaling of \acs{...} in math mode
I use the acronym package to define symbols for formulas. Everything works as intended when the symbols are used in standard math mode, however, when the symbols are used in a more complex context, a ...
0
votes
1
answer
78
views
Remove space before \DeclareMathOperator
I currently have the following:
\DeclareMathOperator{\A}{A}
$1$-$\A$
$1\text{-}\A$
$B_{1\text{-}\A}$
$1$-$\A$ is okay, while $1\text{-}\A$ and $B_{1\text{-}\A}$ puts unnecessary space between &...
5
votes
1
answer
271
views
Tagged PDF and Invisible Operators
Reading the TR25, I discovered Invisible Operators. In particular, at pag. 23 you can read
In mathematics some operators or punctuation are often implied, but not displayed. This
poses few problems ...
1
vote
1
answer
152
views
How to define `\Limsup` in LaTeX? [duplicate]
I want to define a \Limsup command that would work in the same way as \limsup, but with a capital L. However, I'm unsure how to achieve the correct spacing and behavior with \limits.
2
votes
2
answers
149
views
Same outputs with chemfig instead of mcf2graph for chemical structure
I know that the mcf2graph package allows for creating chemical structure diagrams by converting MCF files to graphic files using METAPOST. However, I am not very familiar with METAPOST, and I really ...
3
votes
1
answer
89
views
Issue with Superscript Positioning for Extensible Large Operators Using stixtwo in ConTeXt
I am trying to use the stixtwo font in ConTeXt to typeset extensible large operators, but I am encountering an issue with the positioning of superscripts. Specifically, the superscripts appear to be ...
3
votes
6
answers
485
views
Latex code for tabular method of convolution
I'd like to write LaTeX code for the following table:
4
votes
3
answers
516
views
Conditional Definition of a Mathematical Operator
I have the following command in LaTeX:
\DeclareMathOperator{\logistic}{lgc}
I would like to modify it as follows:
If the user simply writes \logistic, it should display just "lgc", as it ...
2
votes
2
answers
104
views
Declared height and depth of operators ignored by unicode engines?
It started with \lowint and \upint of unicode-math trying to place the limits "propely". "Properly" means they should not be placed at the height and depth of \lowint and \upint ...
3
votes
3
answers
248
views
Undefined control sequence for the inverse trigonometric functions in an array
If I put for example the \arctan out the table the code works finely.
\documentclass{article}
\usepackage{mathtools,array}
\DeclareMathOperator{\dom}{dom}
\begin{document}
\begin{frame}{.....}
$\...
2
votes
2
answers
173
views
Is there any way to write $\mathds{\Delta}$?
Usually \mathds does not work on Greek letters but I was wondering if there is some package that enables it.
1
vote
0
answers
17
views
How to position one iterator over another in sum operator? [duplicate]
I need a formula to look like this:
My LaTeX code
\begin{equation}
\psi( \vec{v}; \vec{d}_j ) = \tilde{\psi}(v_j) + \sum\limits_{n=1 \\ n\neq j}^N \hat{\psi}(v_n; d_{j, n})
\end{equation}
does ...