Questions tagged [math-operators]

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

Filter by
Sorted by
Tagged with
1
vote
0answers
220 views

Special font for only some symbols

Is there a way to use \usepackage{newtxmath} only for \sum, \int and \lambda and just normal settings for all other symbols? thanks.
2
votes
2answers
5k views

Lower and Upper Limits [duplicate]

I am writing a document about limits of functions. I need to use notation for the lower limit, which I have as the normal limit sign but with 'lim' underlined. I need the same for the upper limit with ...
2
votes
1answer
7k views

Operator to perform hadamard product between a repeated vector and a matrix

Suppose that I have a m x n matrix A and a m x 1 vector b. I want to describe the following computations with some LaTeX operator: Form a matrix B repeating b for n times, then perform the Hadamard ...
2
votes
1answer
33k views

expression below argmax

In some places in my document I have used the following (and it works quite well): \documentclass{article} \usepackage{amsmath} \DeclareMathOperator*{\argmax}{argmax} % thin space, limits underneath ...
0
votes
1answer
3k views

Latex math symbol |= [duplicate]

Is there a command for this symbol in Latex? |=. If I use | and = in the source code, then in the pdf there is a big gap between them. The symbol is from math (from logical clauses). I'm not exactly ...
1
vote
0answers
116 views

Spacing around `\circ` with an operator and a letter [duplicate]

When \circ is used with math operators and letters inside align environment, the spacing around it is not correct in some cases. Code: \documentclass{article} \usepackage{amsmath} \...
6
votes
1answer
309 views

strike out unification ($\sqcup$)

I need to denote that two varibles do not unify. A \not \sqcup B produces an unpleasant result: Is there a symbol where the strikeout line is centered likd in $\neq$?
2
votes
2answers
155 views

[Math]Three downward lines for similarity

I am looking for a similarity or equality operator used in Euclidean mathematics. For example ABC ||| DFE. I don't know if it is used at all outside of school in my country, since I could not find ...
4
votes
4answers
2k views

How can I get a square root looking like this? [closed]

How can I get a square root looking like these in LaTeX? Thanks! [new picture]
1
vote
1answer
714 views

How to get a single operator from the stmaryrd package? [duplicate]

I am preparing a math document, and would like to use the \bigtriangleup math operator from the package stmaryrd. However, calling the entire package is not an option as it overwrites several commands ...
3
votes
2answers
446 views

How to create your own integral sign with limits

Following on from this question, I'd like to be able to do this but with an integral sign. The proposed solution is the following: \newcommand{\opA}{\mathop{\vphantom{\sum}\mathchoice {\vcenter{\...
8
votes
2answers
3k views

How to insert a triangle/rectangle with plus sign in it (abstract algebra operators)?

To insert the abstract algebra operators, I tried: \documentclass{article} \usepackage{stackengine} \usepackage{scalerel} \newlength\triwidth \newcommand\tridelt[1]{% \setlength\triwidth{\widthof{#...
2
votes
2answers
468 views

How to make the summation sign wider?

I would like to make the following summation sign as wide as the subscript (but not taller) in the display mode: \[ \sum_{i_1, i_2,\cdots,i_m=1}^n\]
3
votes
1answer
467 views

I need to write a fraction that has the 'min operator in the denominator

Here is what I have typed: \begin{equation*} s_j=\frac{e_j}{\min_{1 \leq k \leq m-1} \big\{t_{jk} + t_{j(k+1)} \big\} \end{equation*} however, it is displaying as a subscript rather than UNDER the ...
0
votes
0answers
985 views

Generating a Symbol Similar to \Delta [duplicate]

I know how to generate the symbol \Delta. But is there a way to generate the similar triangle symbol underlined in pink:
2
votes
1answer
149 views

Huge \not and Feynman \slashed for bigger equations or symbols

We can write $\not{a}$ $\slashed{a}$ under \usepackage{amsmath} for the following symbol: What if I have a larger equation like: $ \int a b c d e f g dx $ How do we write a bigger \not for ...
2
votes
1answer
570 views

Operator-Tree of relational Algebra

I'd like to create a relational algebra operator tree, I've already tried with forest or tikz-tree, but the problem is not the tree, the problem is to link the different operators. I would like to ...
11
votes
1answer
213 views

Why does \L italicise differently compared to an ordinary L?

The following LaTeX code \documentclass{article} \usepackage{amsmath} \begin{document} \[ \L, \operatorname{\L}, \mathrm{\L} \] \textit{ \[ \L, \operatorname{\L}, \mathrm{\L} \] \[ L, \operatorname{...
1
vote
2answers
231 views

How to find all slot numbers for a given font's math glyphs, e.g. Linux Libertine

How to change the font of math operators led to me wanting to find the slot numbers needed to redefine all possible math operator symbols. MWE: \documentclass{standalone} \usepackage{libertine} \...
14
votes
2answers
4k views

Difference between \mathop and \mathord

Depending on this question I am totally confused now, when to define something as an operator or as an ordinary math symbol. egreg says in his comment that the identity function is to be used as an ...
2
votes
1answer
646 views

How to change the font of math operators, e.g. plus and minus

I use the Linux Libertine font together with the newtxmath package to get matching math. I discovered though that math operators, e.g. minus and plus and others, are not taken from Linux Libertine. ...
6
votes
1answer
863 views

Two questions about the stackengine package:

Borrowing from this post, I constructed the following example: \documentclass{article} \usepackage{stackengine} \begin{document} \[ \setstackgap{L}{.7\baselineskip} \setstackgap{S}{9\baselineskip}...
6
votes
2answers
5k views

Position the limits of Sum

I want the limits of the sum sign to be placed where I placed the red lines in the photo. This is the line of script I used: $Result = p + \sum_{i=0}^{n} f(x)$ This is what I get and the red lines ...
3
votes
2answers
3k views

Integration brackets are not tall enough

Consider the following latex code: V = \int_0^2(4-x^2)dx = 4\int_0^2dx - \int_0^2x^2dx = 4\left[x\right]_0^2 - \left[\frac{x^3}{3}\right]_0^2 Notice how the first pair of brackets renderd by 4\left[...
1
vote
2answers
111 views

Aligning expressions below a limit

I need the operator \Lim to be placed on the left, so it could be aligned with the expression wrote below it ((x \rightarrow a)^{+}). Please see the screenshot provided for a reference. How could I ...
0
votes
1answer
97 views

Where does this extra negative white space in aligned come from?

An age old issue of the extra leading \, white space in aligned was solved in the Nov.5th 2016 release. I don't know if the following is related, but .... why are the aligned blocks misaligned ...
3
votes
2answers
1k views

How to place a \sim over \equiv similar to \simeq and \cong?

As the question states, I want a tilde over \equiv similar to \simeq and \cong commands. To be more specific, they tilde needs to be closer to the \equiv symbol. I've tried using stackrel and ...
1
vote
2answers
808 views

how to make my \defeq lower

My tex code is shown below. \documentclass[10pt]{article} \usepackage{amsmath} \newcommand{\defeq}{\overset{\text{\tiny def}}{=}} \begin{document} $P\defeq A$ \end{document} I intend to move the \...
2
votes
1answer
992 views

How to create a space instead of a multiplication sign in an equation

In LaTeX, I want to create the following equation: \begin{equation} x(t) = A1 sin(2 \pi f_1 t) + A2 sin(2 \pi f_2 t) \end{equation} I don't want to show the multiplication sign. But is ...
10
votes
3answers
1k views

Underlined math operator

Is there a "best" way to define an underlined math operator? Right now, I've defined DeclareMathOperator{\uHom}{\underline{Hom}} This works, sort of, but the underline is too long---it tends to ...
2
votes
1answer
149 views

Drawing a bar graph with mathematical formula as x axis labels

I am trying to make a bar graph similar to the one pictured below but am having trouble because I can't find a way to make the x axis labels without errors as they are represented by $\ket{000}$ etc. ...
2
votes
1answer
2k views

Equivalence of sequence: \sim with some text under

The sign \sim is used in mathematics for equivalence of sequences. How to do it in LaTeX? I tried \documentclass{article} \usepackage{amsmath} \DeclareMathOperator{\isEquivTo}{\sim} \begin{...
0
votes
4answers
111 views

Math equation alignment using align*

Problem: I'm am using align*to create an equation. The result is too aligned to the right. Actual code example: \begin{align*} \textrm{Fusion}(C_{i}^k, C_{i}^l, k) = 1 \quad \textrm{S'il existe $...
8
votes
3answers
257 views

Declaremathoperator with language dependence

I would like to define a new operator for the range of a linear function. Since I am German I want to define it in a way that it changes depending on the used language. \documentclass{scrartcl} \...
1
vote
0answers
2k views

What's the difference between \DeclareMathOperator and \mathop? [duplicate]

Is there any difference between \DeclareMathOperator{\erf}{erf} and \def{\erfc}{\mathop{\mathrm{erfc}}} apart of the fact that \DeclareMathOperator is defined in amsmath package?
2
votes
1answer
453 views

Mathematical symbols in LaTeX

It's the first time I use LaTeX and I am a little bit confused. I want to make this text to dic + dcj for all 1 <= i, j <= 3 looks like this one I found multiple lists of LaTeX symboles, ...
7
votes
4answers
810 views

Smashoperator on two limits of sums

Problem This MWE with two sums, that have prolonged limits each: \documentclass{article} \usepackage{amsmath} \usepackage{mathtools} \begin{document} $\displaystyle x \wedge y = \sum_{1 \...
3
votes
2answers
2k views

Writing math formula in LaTeX, 'undefined control sequence'

I'm using the amsmath package and writing a report. I am using a LaTeX manual pdf, which has a chapter on writing maths formulas. I have followed what it says and I do not understand why my equation ...
3
votes
1answer
336 views

How is the Plain TeX macro “\prod” defined?

The macro \prod in Plain TeX (probably also in LaTeX) behaves in distinct ways depending on whether it is used in display or text style. In display style super- and sub-scripts are placed above and ...
0
votes
2answers
364 views

how to put bold math signs in textbf environment

hello guys i try to write C_max bold in a text bf environment but it does not work. Can u help me please? I al ready tried bm but it just works for the C not the max. \documentclass[a4paper, 12pt,...
3
votes
2answers
248 views

Correct typesetting of one line formulas with underscored-argument operators and double subscripts/superscripts

I'm having some trouble regarding the layout of nested subscripts/superscripts when used as underscored argument of argmin/min/max operators. I have defined \argmin{} operator as: \...
3
votes
1answer
210 views

DeclareMathOperator with capital Greek letter [closed]

So, I tried to do something like this \DeclareMathOperator{\hs}{\Theta} and I was quite surprised to find out, that this does not work (i.e., writing $\hs$ yields no output but no error message as ...
2
votes
1answer
1k views

Increasing the parenthesis size of binomial coefficients

I'm a student of mathematics and I recently discovered LaTeX and I've ran into a problem. I used \displaystyle in front of \sum and the parenthesis of the binomial coefficient did not change to ...
4
votes
4answers
432 views

Place a dot above and to left of binary operator

How can one place a dot above and to the left of a binary operator? I know that to place a dot above a binary operator I can do this: \dot{\sqsubseteq} but this places the dot nicely above the ...
2
votes
2answers
3k views

Undefined Control Sequence when using $\R$

Using the following packages; \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[english]{babel} \usepackage{fancyhdr} \usepackage{amsthm} \usepackage{float} \usepackage[round]{...
14
votes
5answers
857 views

How to align operators using alignat or someother environment?

I'm trying to align equal signs and plus/minus operators in the following two equations: S = 1 - 1/2 + 1/3 - 1/4 + 1/5 - 1/6 + 1/7 - 1/8 + ... S/2 = 1/2 - 1/4 + 1/6 - 1/8 + ... I want to align the ...
0
votes
1answer
116 views

LaTeX equivalent to MahtML's &ApplyFunction;

Here is a question that has long been bothering me: what is the correct way to write a function application in \LaTeX? The simple answer is of course $f(x)$. However, $f\left(x\right)$ delivers a ...
1
vote
1answer
373 views

How to display math operators not in italic?

I'm trying to write the following equation: \rho = \max \left\{ \frac{|\mathbf{w} \cdot \mathbf{x^{(i)}} + b|}{\|\mathbf{w}\|} \right\} but the PDF output renders the math operator \max in italic ...
2
votes
2answers
376 views

How can I use Linux libertine font for math operator?

I want to use Linux libertine font only for "Q" on math mode. In the other words I want to create a math operator such as: \newcomand{\Q}{Q Linux libertine font}. Thanks.
1
vote
1answer
401 views

automatically pleasant spacing in the dot product

A followup to transpose and dot superscripts spacing , What is the best symbol for vector/matrix transpose?, Get rid of useless space between a symbol and a following superscript \top, and similar: ...

1
3 4
5
6 7
14