{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

12
votes
2answers
375 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
98 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
15 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
88 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' = ...
6
votes
1answer
229 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
96 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
205 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
156 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
95 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
172 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
599 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 ...
5
votes
2answers
125 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
49 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
159 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
269 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
271 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
240 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
217 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
55 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
127 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
88 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
479 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
41 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
259 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}$ ...
8
votes
3answers
316 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
104 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 ...
7
votes
1answer
187 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
107 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
120 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 ...
4
votes
3answers
98 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: ...
3
votes
1answer
155 views

Alternative for \DeclareMathOperator

I'm getting a little tired of defining all my mathematical operators with \DeclareMathOperator. Also it is rarely useful to have them as a macro. On the contrary it sometimes leads to macro name ...
1
vote
0answers
62 views

\sum not properly displayed? [duplicate]

When I do $ \sum_{k=1}^{K} $ I get this: But I want to get this: where i is above! I am working in beamer.
-1
votes
1answer
201 views

How do I write this mathematical equation?

I want to write the shown mathematical equation in LaTeX but I am getting an error. Here this is not eta but it is n. The code which I am writing is \begin{equation} \Delta {E} + \frac{\omega^2 ...
0
votes
1answer
180 views

How to use \lll properly

I need the symbol <<< (left rotation). Now from TexStudio help, I found it as \lll. But when I use it, I get an error Undefined control sequence ... \lll. How to fix it?
3
votes
3answers
169 views

Latex command for plus-over-cross

I want to use the symbol 'plus-over-cross' to refer to point in a Matlab generated figure. In LaTex terms this will be an overlay of + over \times. Any ideas? Note that I do not want the asterisk ...
4
votes
1answer
146 views

Consistency versus aesthetics with respect to \tilde and \widetilde

I am currently working on a paper which heavily uses \tilde for both lower case letters and capitals in math bold font. When using \tilde for lower case letters, everything looks perfectly fine, but ...
13
votes
1answer
201 views

How can I use German umlauts in DeclareMathOperator?

I would like to define a math operator Homöo, but when I try \DeclareMathOperator{\Homoo}{Homöo} \DeclareMathOperator{\Homoo}{Hom\"oo} I get Homo. How can I use German umlauts in ...
1
vote
0answers
29 views

can't renew math command '\exp', why? [duplicate]

In the preamble of the main.tex file I've written \renewcommand{\exp}[1]{ \exp \left( {#1} \right) } so that the math function \exp automatically includes the round brackets. In the file I wrote ...
0
votes
1answer
449 views

Using Trigonometric Functions [closed]

When I type Trig functions using {} or () I seem to get the same result, what is the difference between the two?
10
votes
2answers
257 views

“esint” integrals with default limits

When I'm trying to set a normal volume integral with the esint package, it will be generated with the limits set right to it: A corresponding example code for this is \documentclass{article} ...
4
votes
2answers
102 views

\cupdot gives “Undefined control sequence” with MikTek on Windows 7

I am using MikTek 2.9 on Windows 7. When I try to use \cupdot, in math mode, I get an "Undefined control sequence" error message. Is there a package that I need to include to use \cupdot?
7
votes
2answers
128 views

Unwanted separation in an equation

I have an equation with an intersection which has multiple limit levels, like this, \[ \langle H, H'\rangle = \bigcap_{\substack{ L \leq G, \\ H \cup H' \subseteq L. }}L \] It compiles nicely, ...
3
votes
1answer
116 views

How to properly display a product within a fraction?

I have product inside a fraction, like this: \[ \phi_n(t)=\frac{t^n-1}{\prod_{\substack{ d \mid n,\\ d<n.}} \phi_d(t)} \] And that places the "limits" of the product on it's side, not ...
5
votes
2answers
157 views

Variation on $\prec\prec$

Is there a standard TeX or LaTeX code for a symbol that bears the same relation to \prec\prec that \ll bears to << ? (And how do I get TeX code to get rendered in a question posted here? I'm ...
2
votes
1answer
90 views

Using math symbols inside mbox

I am trying to write something like r=1m or r~1m inlined in my text. Currently i am using $\mbox{r=1m}$. However this gives me problems if I use $\mbox{r \approx 1m}$ it is not working and ...
5
votes
3answers
213 views

Monus operator macro

I'm doing some CS theory papers and need to use a monus operator. Picture below: What package should I use to be able to use it? I've Google'd, but nothing came up. Thanks for the help.
21
votes
2answers
537 views

Typeset assigments +=, -= etc nicely?

Could someone please show me how to get LaTeX to properly typeset the -=, += assignment operators. I have tried $a -= 1$ $a\texttt{-=}1$ $a\verb!-=!1$ but they all look really ugly. I have been ...
2
votes
0answers
69 views

Power set symbol [duplicate]

I don't know if there's some standard symbol to represent the Power Set in Latex. According to Wikipedia there are some possibilities: I think the first one would be the most appropriate because ...
3
votes
1answer
100 views

How to adjust the alignment of a mathematical expression in a text section? e.g. argmax

I am using the following definition to generate the argmax operator: \DeclareMathOperator*{\argmax}{\arg\!\max} However the problem is when I use it in a part that some text exists because of the ...