{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

6
votes
3answers
230 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
208 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
168 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
36 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
119 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
75 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
289 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
39 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
249 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
286 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
83 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
145 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
90 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
106 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
81 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
148 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
194 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
136 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
146 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
122 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
194 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
28 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
271 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
226 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
89 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
119 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
106 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
132 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
81 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
169 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
526 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
68 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
96 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 ...
10
votes
2answers
165 views

Write something below ampersand sign

I need to write something below and top of ampersand sign. I want it to be like \sum. I have tried \&_{i = 0}^{n} but it shows i=0 in the index but not below ampersand sign.
2
votes
3answers
133 views

math cases package problem

I am preparing a presentation with beamer. I want to use a math formulas that contains a cases \begin{cases}{|x|=} x, & for $x \geq 0$\\ -x, & for $x < 0$ \end{cases} the problem in ...
4
votes
1answer
143 views

Conditionally remove the space before a one-letter operator

I'm pursuing the Math Expectation operator (\mathbb{E}). As \DeclareMathOperator is not very good for one-letter operators (since it adds some spacing after itself), I use a plain \newcommand. But ...
5
votes
1answer
128 views

How to make functions

I’m not entirely sure here what terminology I should exactly be using, but let me illustrate a use case. ... \matr{1 & 2 \\ 3 & 4} ... to replace this: ... $\left[\begin{matrix} 1 & 2 ...
15
votes
3answers
220 views

Printing the first N terms from a telescoping series

I would like to produce a LaTeX document that generates the first N terms of the telescoping series sum(1/k-1/(1+k)) where k=1,2,3...,N, such that it displays at least the first 10 terms. I want the ...
5
votes
1answer
293 views

How to make addition symbol inside in a circle? [duplicate]

I need to make + and a dot representing multiplication in a circle. How to do it?
4
votes
2answers
108 views

How to change the height of the sum sign

I would prefer to write the definition as in equation (2). However the sum sign is too low in this case. Is there a way to make it higher? \documentclass{article} \usepackage{amsmath} ...
3
votes
1answer
115 views

Quantifier spacing with unicode-math

When using consecutive quantification in a math formula, there is not enough spacing around the quantifiers. For example: \documentclass{article} \usepackage[colon=literal]{unicode-math} ...
3
votes
1answer
109 views

\underset italicizes whatever in it

I'm trying to write a simple argmin equation. However \underset command italicizes whatever in it. Here is my code: \begin{align} \label{Eq:argmin} &{x}={\arg\underset{p}{\rm ...
7
votes
3answers
229 views

DeclareMathOperator in bold

Ho can I declare a math operator which will appear in bold font? I tried the following, but it didn't work: \DeclareMathOperator{\Div}{Div} \newcommand{\Divxk}{\mathbf{\Div}_{X/k}}
5
votes
3answers
90 views

How to get for to stand separate in an equation?

I have the following equation: \begin{equation} C_k = \frac{1}{N}\sum\limits_{n=1}^N k_n for k \in {1,\dots,K} \end{equation} How can I get the for, and everything after it, to stand ...
1
vote
0answers
160 views

How to implement a template for math journal? [closed]

I want to design a math journal. Please give me a structure for it. For any article there is an individual .tex file. (Excuse me for my bad English :) )
2
votes
1answer
84 views

How can I influence the spacing of mathematical functions by an own macro?

I would like to get a macro \of to define a function with an optional macro \at to define its restriction. The reason is, that I don't like the spacing for functions (as there is no spacing) and I ...
4
votes
1answer
287 views

Typing Following notation in Latex [duplicate]

I need to generate following notation in LaTeX. It's used in differential geometry to denote vector fields. I can't find documentation and detexify is not helpful either.
5
votes
2answers
170 views

Line in set definition

I'm trying a simple definition of a set. My try: $M=\{x\,|\,1\le x\le p-2\}$ Is there a more comfortable way of getting a little space before and after the |? I'm thinking of something like the ...