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

learn more… | top users | synonyms

1
vote
3answers
114 views

Redefining Infinity in LaTeX

Infinity is defined as something that is uncountable. But every where I see the symbol of Infinity as a closed loop. My professor said, that it symbolizes that the boundary of Infinity is determined ...
6
votes
3answers
83 views

Is there any global settings to add \limits to evey \sum, \bigcup etc?

I'd like to put the superscripts and the subscripts always above or below the symbols like \sum,\bigcup,\inf etc, even in the inline mode, but I don't want to add \limits everytime. I tried ...
2
votes
1answer
54 views

Discrete and continuous Centroid equations in LaTeX

I would like to write the following equations in LaTeX: and The first one (with the integrals) I managed to make similarly using the following code: \begin{equation} COG = ...
2
votes
3answers
94 views

Sane spacing after min max

The default definitions of \min and \max insert basically no space after them, which looks really awful when stating optimisation problems, etc., in display equations. I could not figure out any way ...
1
vote
1answer
56 views

About greater sign and sigma

What I want to write is if N+1 > N we do sigma (all the N) / the length of the array For the greater sign I use If N+1 \textgreater N But it's shown like this if N+1 >N No space ...
5
votes
0answers
58 views

Is using DeclareMathOperator for functions the right thing to do?

I'm wondering if I use the \DeclareMathOperator for the wrong things. For example I have a cost function cost(x,y) which takes two arguments. I would declare it as \DeclareMathOperator*{\cost}{cost} ...
0
votes
0answers
50 views

LaTeX for word style divide?

In microsoft word equation, it's possible to write a / b in a format that a is slightly upper than normal text, the / can be entered using \ldivide. Is it possible to do so in LaTeX?
1
vote
0answers
41 views

Line breaking in math mode

Under default settings a line can be broken in math mode after binary operator with \binoppenalty or after relation with \relpenalty. I'd like to preserve this behavior but alter the result so the ...
5
votes
1answer
125 views

Big shuffle symbol?

I am looking for a "big" version (sum-class symbol) of the ш symbol (shuffle product). I only found a binary version. Any ideas?
1
vote
0answers
55 views

How to fix \min in beamer?

If I use \min in a regular document, it shows correctly: However, if I use the same command in a beamer presentation I get: Here's my header: \documentclass[mathserif]{beamer} ...
5
votes
1answer
72 views

sign for multiple $\Diamond$-product

I use $\Diamond$ as a product sign and want to have something like $\bigDiamond_{i=1}^{n}$ to note multiple $\Diamond$-products. Similar to $\wedge$ and $\bigwedge$ or $\vee$ and $\bigvee$. Is there a ...
0
votes
0answers
18 views

Renew math operator [duplicate]

There is an already defined math operator inside TeX that I want to change it by another letter. I am just wondering what is the best practice. Below I give an example for the \Pr -> "Pr" command ...
8
votes
2answers
120 views

DeclareMathOperator and align environment

Minimal working example: \documentclass{article} \usepackage{amsmath} \begin{document} \begin{align} &s + t &\text{foo}\\ &\sin x &\text{bar} \end{align} ...
12
votes
5answers
349 views

Integration Symbol with Limits

How can I write the integration symbol in latex as shown in the picture?
3
votes
2answers
65 views

Lining numbers in mathnormal

Is there a simple way to have lining numbers (instead of old style ones) using \mathnormal{} ? I want $\mathnormal{abc123}$ to look like $abc123$. My problem is that I have an operator ...
0
votes
2answers
92 views

How to create this simple model with arrow and text on the top?

How to create this simple model with arrow and text on the top ? Regards
5
votes
5answers
203 views

How do i create a rectangle with parallel line inside it?

How to create rectangle with parallel line?
3
votes
3answers
226 views

Problem in writing the system of equation in LaTeX

Here's the code I have and here's the system of equation it creates which is not working as desired. Do you know how I can fix it? \item For what value of $b$ would the following system fo equations ...
1
vote
1answer
43 views

How to show a wide bar over a letter?

I want to have a wide bar over XY but it just shows a small bar. Any idea? \item In the standard $(x,y)$ coordinate plane, point $X$ has coordinates $(-4,0)$ and point $Y$ has coordinates $(0,-8)$. ...
12
votes
2answers
299 views

Better automatic spacing of differential d?

This question was basically about whether the differential d should be upright or italicized, not about how to achieve that in tex. However, this useful answer did suggest something like the following ...
4
votes
1answer
82 views

Create Pole/Point Integral Symbols

I want to create the following shaped integrals found in the unicode-math package symbols list: I created my own package a while ago for defining some symbols/shortcuts, and I want to recreate ...
1
vote
0answers
14 views

How to denote number of summands below the expression? [duplicate]

If we want to write for example $\mathbb{N}=\mathbb{N}\times\dots \mathbb{N}$ and below the RHS write "n copies" how we will do it in Latex?
3
votes
1answer
71 views

Words under sum that's in a denominator

if I try this; Substituting the expression for \(\Psi\) in to the above and rearranging we derive an expression for the vacuum field \(\Psi'\) as a function of \(\mu \), \begin{equation} \Psi' = ...
4
votes
1answer
90 views

How to redefine a command using \DeclareMathOperator

I'd like to declare some new operators using \DeclareMathOperator and some of the names are already taken by other commands (that I do not want to use). Is there an equivalent to the \renewcommand ...
4
votes
1answer
88 views

Why are certain mathematics operators not defined and how do I replicate them?

I noticed that while \ker renders correctly as the "kernel" operator in Linear Algebra, the corresponding \im for the "image" is not defined (I tried everything that could possibly be an abbreviation ...
11
votes
3answers
185 views

Easy command or package for properly formatted integrals?

I like to format my integrals so that there is less space between the integral sign and the integrand, more space between the integrand and differential, and so that the differential is upright. ...
4
votes
2answers
105 views

Resizing dynamically the `e` of the exponential function

I've been looking around and found that this question has been asked at least a couple of times, but the solutions are been correct work around. Let's say that I have a formula with a piece like: ...
2
votes
1answer
64 views

How to use \owedge and \boxwedge

We can use symbols of $\otimes$ and $\boxtimes$, $\oplus$ and $\boxplus$, $\ominus$ and $\boxminus$ in Latex. However, do we have $\owedge$ and $\boxwedge$, which combines $\wedge$ in the mid of a ...
5
votes
1answer
131 views

Always have the ring of the tensor product below the \otimes

I would rather have always have my tensor product look like $A\underset{R}{\otimes}B$ but still write $A\otimes_R B$. Is there a way to make this happen by some command in the preamble? (it's ok if it ...
6
votes
3answers
173 views

\mathop in sums and limits

What is the \mathop command meant to be, officially? I see it used in indexes of sums and limits to improve the spacing, e.g. \sum_{n\mathop = 1}^\infty a_n Why doesn't it just format it like ...
4
votes
2answers
88 views

Question about limits in lim command and scale in mathtools package

This is a follow up question regarding the limits in \lim command and mathtools package. To begin with how can I make the limits to start at the beggining of the lim symbol and not ahead of it? ...
0
votes
1answer
48 views

use a “+” or “-” by itself without terms

I want to typeset an I with a subscripted "+" sign. How can I do this? I know there's a trick to tell TeX that there are no operands, but I can't remember what it is, and I can't seem to search for it ...
4
votes
1answer
114 views

Example of a complex compound tikz math statement

Could someone provide an example of a complex compound mathematical statement in tikz as I find that most of the answers out there are difficult to understand or lacking. I want a MWE example like ...
4
votes
2answers
135 views

Not able to show negative signs

I have the following. \item Arrange in ascending order (smallest to largest): $−6, −2, 0, 1, −5, 4, 3$ But this output does not have negative signs. 6, 2, 0, 1, 5, 4, 3 It shows negative in ...
6
votes
3answers
212 views

How do I write $\sim$ approximately with the correct spacing using siunitx?

This question is similar to this one, only that I'm using the siunitx package: \documentclass{minimal} \usepackage{siunitx} \begin{document} The temperature is \SI{\sim 200}{\kelvin}. \\ The ...
8
votes
1answer
187 views

Integral Sign $\int…$

does anybody know how to write integral signs in LaTex that are slanted to the left, and not the right. See here if you do not know what I mean: (From ...
3
votes
3answers
148 views

“Average sum” symbol

Is there a convention for an average sum symbol, for instance \overline{\sum_{i \in I}} to mean \frac{1}{\#I} \sum_{i \in I}? I can live with the overline option but it does not look good in inline ...
1
vote
0answers
33 views

\varamalg and \varcoprod operators for disjoint union

For the disjoint union, I don't like \amalg and \coprod very much. So, I did all my best to create a \varamalg with this code: \documentclass{article} \usepackage[utf8]{inputenc} ...
0
votes
0answers
13 views

subnumcases and inline math [duplicate]

Code \usepackage{cases} \begin{subnumcases}{}\label{eq:regola_scelta_reject} \min \quad \sum_{j=1}^{H}x_jw_j & $\sum_{j=1}^{H}x_jw_j \geq W_L$ ...
4
votes
2answers
110 views

Designing medcirc and circledtimes symbols

It would be great to use only \medcirc and \circledtimes from the pxfonts or to design the similar symbols by other techniques. The symbols from pxfonts are quite well but when I connect the ...
3
votes
1answer
70 views

A simple solution to using widebar on subscripted symbol with small space with the subscript

Looking for a simple method to use a widebar over a letter with subscript, but have the space remain the same as when using \bar as \overline produces large space which does not look good even though ...
2
votes
1answer
231 views

How to write partial eta square in LaTeX?

Problem: Writing partial eta square in LaTeX. I couldn't find anywhere online giving guidance to this statistic symbol. Example (it's the symbol to the left): Any help would be appreciated.
1
vote
1answer
38 views

How do I create a newcommand which outputs a letter with an index? [duplicate]

When I use \newcommand{\F1}{$\mathrm{F}_1$} I get the Missing \begin{document}. error and missing $ inserted if I move it inside the document. How do I define a macro so that \F1 would expand to ...
20
votes
2answers
243 views

Defining arithmetic operators that insert brackets according to usual precedence rules

I have a program that generates bits of Tex code like these: $\product{a}{\add{b}{c}}\leftrightarrow \add{\product{a}{b}}{\product{a}{c}}$ $\add{a}{\add{b}{c}}\leftrightarrow \add{\add{a}{b}}{c}$ ...
7
votes
3answers
274 views

Designing a new tuple of Algebra Operators

It's neccessary to have at least two extra tuples of Albera Operators. A minimal tuple is a triple (to_be_subset_eq, meet_operator, join_operator). There are some ideas how to make 2 extra tupes. ...
4
votes
1answer
77 views

How to typeset categories with long names?

I am typing some category theory and I am unsure how to handle the name of a category in LaTeX. I read the post How to typeset the name of a category? and implemented the mathbf-solution mentioned ...
6
votes
1answer
116 views

How to make a command for a circled letter to work with all font sizes?

I introduced the following macros \newcommand{\malcev}{\mathop{\text{\textcircled{\scriptsize M}}}\nolimits} \newcommand{\imalcev}{\mathop{\text{\textcircled{\tiny M}}}\nolimits} The code \[ ...
5
votes
3answers
80 views

Declaring a math operator for every capitalized word? [duplicate]

I've declared a lot of math operators lately, e.g. \DeclareMathOperator{\Hom}{Hom}, \DeclareMathOperator{\End}{End} and so forth. This is getting a bit annoying and seems automatable: what I'd really ...
2
votes
1answer
102 views

mathjax \sqrt command

I don't if this forum is the right place where post my question, anyway, it concerns TeX. Mathjax seems to create the bar over the argument of \sqrt command as a box with a sequence of very densely ...
3
votes
3answers
78 views

Vertical spacing problems with a custom math symbol in LaTeX

I need to have a few custom math symbols by adding different number of dots on top of the standard \preceq math symbol. So, I have done this as follows: ...