Stack Exchange Network

Stack Exchange network consists of 174 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.

4
votes
1answer
43 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
52 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 ...
8
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
82 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
38 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?
0
votes
1answer
49 views

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

\documentclass[a4paper]{article} \usepackage{slashed} \usepackage{amsmath} \usepackage{mathabx} % \degree\third \usepackage{MnSymbol}% \plus % Latex standard: \times \newcommand{\boto}{\...
0
votes
3answers
62 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
34 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
88 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
69 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
96 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
96 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
850 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
88 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
68 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
41 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!!
1
vote
1answer
80 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
68 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
222 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
638 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
182 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
117 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 ...
2
votes
3answers
1k 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 \...
5
votes
1answer
98 views

New Notation for Comma Categories

I would like to ask about a nifty macro for the following operator from category theory, to be used to denote comma categories: It takes two arguments, such as (category, object), (object, functor), (...
4
votes
2answers
140 views

Define a binary operator such that in displaymath subscripts are set below

At the moment I am using the following commands for tensor products respectively completed tensor products: \documentclass{article} \newcommand{\tensor}{\otimes} \newcommand{\comptensor}{\mathbin{\...
1
vote
1answer
74 views

Large greek letters [closed]

For products and summations there are \prod and \sum, which are larger than normal greek letters and accepts limits. I need the same thing for a capital delta, does this exists? Edit to clarify: I ...
2
votes
3answers
184 views

Math macro for typesetting partial derivative with variable placeholder for both numerator and denominator

I'd like to type time-derivatives such as $ \frac{\partial x}{\partial t} = f(x,t) $ as well as spatial gradients such as $ \frac{\partial y}{\partial x} = k y $ To make the code readable and to ...
0
votes
1answer
47 views

Inserting mathematical operator in Lyx

I would like to insert the less than or equal mathematical operator in the text of a Lyx document. Insert/Special Character/Symbols shows the symbol in the text, but compiling results in an error ("...
2
votes
2answers
63 views

Invalid Math Operator Declaration in LaTeX

I am trying to define two operators, FM0 and FM4, using the code below \DeclareMathOperator{\FM0}{FM0} \DeclareMathOperator{\FM4}{FM4} But when I use them as \FM0(x) = \frac{\PP(x)}{\sum_{i=1}^{N} ...
2
votes
1answer
33 views

how to represent Sum in latex [duplicate]

I want to represent the following sum in LaTeX. I have tried it in the following way: $$\sum_{{1 \le k \le n}_{ k odd}} k^2$$ But I have not got the desired result. Please help me.
8
votes
3answers
426 views

Libertinus Math: (too) small math symbols?

I am using LuaLaTeX and the unicode-math package with Libertinus Math as main font (it's a good match for Minion Pro). This is probably intended to be so, but I feel some symbols, e.g., the tensor ...
0
votes
0answers
33 views

How to invert a mathematical operator? [duplicate]

How can I invert a mathematical operator about an imaginary vertical axis that runs through the symbol's center? Specifically, consider the symbol \prec, which resembles the less-than symbol <. I'd ...
16
votes
2answers
2k views

About the use of curly braces

Although I use LaTeX a lot, I still have a lot to learn about it, and I still have many questions which remain unanswered. One in particular bothers me: when and why must I use curly brackets when ...
1
vote
2answers
321 views

How can we write \mathcal{a letter} as a subscript

I wish to write T in the subscript of \rho as \rho_{\raisebox{-2pt}{\tiny T}} But the desired case is: writing the T in the format of \mathcal. When I write \rho_{\raisebox{-2pt}{\tiny \mathcal{T}}...
1
vote
2answers
99 views

Math \vdash with top and down index

I'd like to know ow can i type this symbol like on image in math mode. Thank you a lot.
2
votes
1answer
206 views

Operator font with newtx

I am using \usepackage{newtxmath,newtxtext}. But, \operatorname{} seems to use another font. How to set up accordingly?
3
votes
0answers
111 views

On a classic integral sign

In the attempt of imitating the typeset of some classic paper in the Philosophical Transactions (see e.g. Maxwell, Donkin, or Boole), I got stack when I had to find an integral sign that is close to ...
0
votes
1answer
30 views

How to eliminate extra space around binary math operator [duplicate]

As an example, consider the plus sign (+). The code $x + y$ generates x + y. How can you make it look like x+y? In other words, how can you treat + like a letter rather than an operator? I'm looking ...
0
votes
0answers
79 views

Writing argmax in Overleaf with respect to variables [duplicate]

I am trying to write a some equations containing argmax with respect to some variable (C belongs to c) and the equations should have there equation number . What should I do? My desired format is the ...
5
votes
2answers
236 views

Symbol for repeated applications of an associative binary operation?

I'd like to create a symbol do deal with repeated applications of an arbitrary associative operation *. Something like: But this is not good looking to me. The proportions on the left hand doesn't ...
3
votes
2answers
71 views

“A-P-B” for point P is between points A and B; school geometry notation

For school geometry, I would like to be able to write “A-P-B” to mean that a point P is between the points A and B. However, $A-P-B$ gives the spacing of the minus operator, and I do not want the ...
1
vote
1answer
64 views

Can tilde symbol expanded to a whole word [duplicate]

I am new to using the tilde symbol in latex using the \tilde. It appears above one letter only. It seems to be this can be overlooked. Can I expand it somehow to be clearer? can the symbol be expanded ...
0
votes
0answers
31 views

How to write this letter [duplicate]

I apologize for the primitive question but I do not know what to call this format. So I will post a letter C which I do not know how to produce this format in latex? I checked all \mathit directives ...
7
votes
2answers
1k views

Is there a short hand command to write derivatives?

Every time I want to write an (ordinary) derivative I have to use frac, like this: \frac{\mathrm{d}^2 \omega}{\mathrm{d}\theta^2} Or using \partial for partial derivatives. Is there a package or a ...
2
votes
1answer
103 views

Horizontal spacing with $\circ$ and $\cos$

I need to write $\sin\circ \theta \cos\circ \theta$ with correct horizontal spacing (here \theta denotes a real-valued function). How can I do that? Can you please explain me briefly why my code ...
0
votes
2answers
151 views

How do I math code Product symbol other than type $\prod_{i=1}^{n}$ [duplicate]

I can code symbols of the type $$\prod_{i=1}^{n}$$ but when it comes to: I cannot get the less-than-equal sign placed as shown.Can this be done easily? EDIT: below removed as reason explained in ...
1
vote
0answers
128 views

MongoDB to math Latex [closed]

I am working on math quiz application and I want to store the math equations in to database.How to save math equations into mongodb database ?
0
votes
2answers
73 views

Set Theory: How do I typeset domain/range subtractions (anti-restrictions)? [duplicate]

I'm using \triangleright and \triangleleft to typeset restrictions, but I can't find the symbols for subtractions, which are the same triangles, but with a horizontal line in the middle. For example:
12
votes
3answers
398 views

How to define new command for \{e_1,\cdots, e_n\}?

I want to make a new command that has three arguments: symbol (e, \omega,\cdots) superscript or subscript (^ or _) counter (n) If n=3 then returns \set{a}{^}{3} ====> output: {a^1,a^2,a^3} ...