10
votes
2answers
75 views

How can I use \lVert and \rVert norm symbols (‖x‖) with the Iwona math font?

I want to use \lVert and \rVert to denote the vector norm. With Computer Modern this works quite fine. But when trying to use Iwona as a math font, I run into trouble: \documentclass{standalone} ...
9
votes
2answers
100 views

Mixing math character classes (e.g. \mathord to the left and \mathrel to the right)

It is possible to have a symbol or group behave to the left as if it had one particular math character class and to the right as if it had another? One typical case where this comes up is when one ...
2
votes
1answer
95 views

Proper way to typset minimum value of variable in formula?

To typeset a value with a subscript I use this: $U_{\text{res}}$ Which results in: Now I'd like to write "the minimum value of Ures", how would I correctly typeset that? The first thing I tried ...
1
vote
1answer
163 views

Changing all the integral symbols from the MnSymbol package, or how to get full math support with Garamond Premier Pro in XeLaTeX?

I'm editing a document in which I chose the Adobe Garamond Premier Pro font as the main font. The only free math font I found that fits with the AGPPro so far is the one from the MnSymbol package. ...
7
votes
1answer
115 views

Why do math operators not behave like normal control sequences?

From my experience, most control sequences function as an implicit group, for example g^\textrm{th}. However, if we look at the example below, the first line throws an error while the second line ...
0
votes
1answer
68 views

Double sided inequality [duplicate]

Is it possible to type an inequality operator like in the image above to be used in Stack Exchange Mathematics domain. It would be nice if I could add those H1 and H0 labels too.
3
votes
1answer
186 views

Combining Textstyle and Displaystyle

In my mathematics writing, I often use both superscripts and subscripts on the probability operator. The subscripts are generally lengthy, and I would like for them to appear underneath the operator, ...
3
votes
1answer
145 views

What is a good method for producing a unary plus/minus sign that always works?

Say I have a macro that does something in math mode (say, change the mathalphabet). This macro, \somecommand, takes one argument. I might want use is like this, feeding an empty argument into it: ...
4
votes
2answers
159 views

Question about mathematical notation

Should one really write $\text{det}A$, instead of $detA$, similarly $\text{Aut}G$ instead of $AutG$, or is $det$, $Aut$ acceptable?
0
votes
0answers
53 views

Subscript Bracket [duplicate]

Possible Duplicate: How to put a big bracket under different parts of a equation so that I could write e.g. a text specific to that part in the equation? Does anyone know how to code the ...
0
votes
0answers
39 views

How do I get a literal ~ in math mode? [duplicate]

Possible Duplicate: How does one insert a backslash or a tilde (~) into LaTeX? How can I write tilde ~ in math mode? When I write $~$, I get a space. When I write $\~$, I get an error. I ...
6
votes
3answers
137 views

How to extend the text under summation symbol without making extra space

I want to get the following: I tried the following \[ a(i,k) \leftarrow \min\Big\{0, r(k,k) + \sum_{i^{'} | i^{'}\notin \{i,k\}}\max\{0, r(i{'},k)\}\Big\} \] and got How can I make the ...
0
votes
1answer
128 views

using unicode-math with math keyboard or hotkeys?

Here is more information about the unicode math-package: http://ctan.mackichan.com/macros/latex/contrib/unicode-math/unicode-math.pdf A great pro for using unicode math, is that your code is much ...
5
votes
3answers
294 views

Unable to make symbol similar to bowtie or lrtimes

I wish to write something like this in latex: I tried using \lrtimes and also \bowtie, but none is able to give me the correct output. Also, i had problems getting that {task1} below the symbol. ...
4
votes
1answer
88 views

\sum_i acts as \sum\limits_i but just sometimes

The code part looks like this \begin{equation} \frac { \left(\sum_i r_{ik}x_{ij}\right) - \mu'_{kj}\left(\sum_i r_{ik}\right) + (\alpha-1)-\mu'_{kj}(\alpha+\beta-2) ...
6
votes
0answers
93 views

Spacing around \left and \right: When is it needed? [closed]

There have been a few questions (such as this and more recently this) regarding the "extra" spacing around \left and \right. And there are various options for fixing it, including the mleftright ...
5
votes
4answers
493 views

How to make equation fit in the column

HI here is the latex code \documentclass{sig-alternate} \usepackage{ctable} \begin{document} $G_{CS}(\mathbb{S_c})= \begin{cases} \displaystyle\sum_{k=1}^{r} ...
0
votes
0answers
38 views

how do you write the grad operator? [duplicate]

Possible Duplicate: How to look up a symbol? I can only get \div which is upside down. I tried typing \grad but no luck. Packages I am using: \usepackage[utf8x]{inputenc} ...
2
votes
1answer
75 views

Is there a command of the type “\blabla” where I can write \mbox{div}(F)

Maybe my question is easy. When I want to write $$ \mbox{div}(F) = \sum_i (F_i)_{x_i} $$ I have to type \mbox{div}(F), which is cumbersome. Is there a way to define a command \blabla to produce ...
10
votes
2answers
94 views

Strange spacing when putting a math macro before a binary operation

I found there to be very odd spacing when using a math macro just before a binary operation. Here is a minimal example: \documentclass[11pt]{article} \usepackage{amsmath} ...
2
votes
1answer
228 views

Expression under summation on multiple lines [duplicate]

Possible Duplicate: Separate long math text under sum symbol into different lines? I want to write expression \sum_{i=0}^n i with i\neq 4 under the summation symbol. How can I write this?
12
votes
1answer
390 views

Double sum over i and j with i \neq j

I would like to represent a double sum with i\neq j. So I want two capital sigmas with text i\neq j underneath them. How can I achieve this?
9
votes
1answer
260 views

How can I make LaTeX ignore certain math symbols in math mode?

I have the following equation: <trigger threshold> = average - (<trigger fraction> * average) I want to print this in math mode in a very specific way: <trigger threshold> and ...
10
votes
1answer
1k views

double perpendicular symbol (for independence)

I found from http://jblevins.org/notes/latex that I could use the independence symbol: \newcommand\independent{\protect\mathpalette{\protect\independenT}{\perp}} ...
10
votes
1answer
447 views

Making \sim a unary operator

Often in physics, the symbol \sim is used as a unary operator to mean "approximately." For example, one might say "the energy of these processes is $\sim 4$ eV." However, this looks awkward because ...
1
vote
1answer
201 views

Combining \operatorname with \mathnormal and \mathrm

Related Question: Typesetting the square of a mathematical operator \operatorname converts its argument into a function symbol with appropriate spaces on the left and on the right. However, I ...
12
votes
4answers
382 views

Is there another symbol that is slightly different from \forall (likewise for \exists)?

What Is there a symbol that is slightly different from $\forall$ (e.g. having a second line from upper left to lower middle)? It should obviously mean "for all" but be sufficiently different to not ...
6
votes
2answers
195 views

Log-like operator with math inside (e.g. p-lim)

I am looking to make a log-like operator that looks the same as $p \text{-lim}$. The best way so far I found to do this is \DeclareMathOperator*{\plim}{\text{$p$-lim}} Question: Is this the ...
3
votes
1answer
201 views

How to write something underneath \min?

How to type this expression, where has \min on top and \forall at the bottom?
1
vote
1answer
324 views

Undefined control sequence math operators

I have an algorithm defined under figure container. For some reason I am getting a strange error in the conditional expression of the second If block statement. \begin{figure} \begin{flushleft} ...
7
votes
1answer
260 views

operator name for kernel

I'm trying to define \newcommand{\ker}{\operatorname{ker}} just after \begin{document} in order to have a nice way to write the kernel of an application but the command is ignored and I don't know why ...
14
votes
1answer
391 views

Customized summation symbol

I am interested in defining some customized math symbols out of existing ones. For example I would like to distinguish between different types of sums, so beside the usual symbol I would like to ...
15
votes
3answers
335 views

Typesetting the square of a mathematical operator

Assume I want to typeset the square of some mathematical operator A. Using \operatorname (amsmath package), there are basically two ways to do that: \(\operatorname{A^{2}}\) (i.e., the exponent is ...
6
votes
2answers
301 views

Exchange meaning of : and \colon

I usually use the colon symbol : to denote maps. For set syntax there is the braket package. So as the spacing of : is not appropriate, I want it to behave like \colon. I tried ...
7
votes
1answer
119 views

Creating a customizable n-ary operator?

I'd like to be able to create a customizable n-ary operator that behaves like \sum or \bigoplus but which takes an arbitrary symbol as an argument. The closest that I have been able to come to ...
6
votes
1answer
150 views

Automatic reduplication of equal sign in the beginning of broken formula

Suppose we have the following code \documentclass{article} \begin{document} $a=b=c=d=e=f=g=h=i=j=k=l=m=n=o=p=q=r=s=t=u=v=w=x=y=z$ \end{document} which produces the following result I want to have ...
5
votes
1answer
104 views

The font of operator names: the size

A while ago, I asked what was the correct way of changing the font used to set operator names. I stabilized at: \DeclareSymbolFont{sfoperators}{OT1}{cmss}{m}{n} ...
2
votes
1answer
173 views

Formula in displaystyle but operator limit in normal subscript position [duplicate]

Possible Duplicate: Show inline math as if it were display math I have a formula in an equation environmente i.e., in a display style modality. Moreover, since I have to enumerate an ...
10
votes
2answers
877 views

Getting the expectation symbol to behave like $\sum$ instead of $\Sigma$

How can I get an expectation symbol which behaves like $\sum$? Specifically, I want the underscore to be like that of a summation. At the moment I use $$\mathbb{E}_{x\in A}$$ However, I do not ...
7
votes
2answers
192 views

Math operator resizing in autosized brackets

I want to define a new command to format \mathbb{E} in the same way as \sum - same size in display/inline formulae, and same treatment of sub/superscripts. The following seems to work... ...
7
votes
1answer
178 views

How to put a hat on a binary operator and maintain spacing

This is maybe easy question. How is the right/good way to put a hat on a binary operator like \otimes? For example a\otimes b vs a\hat\otimes b In the second case it is not typeset as a binary ...
4
votes
1answer
240 views

Why does lim_{n\to\infty} work in my LaTeX document?

lim_ is not a command in LaTeX because all commands begin with a back slash. However, why does lim_{n\to\infty} work in math mode? What is lim_ if it is not a command?
37
votes
3answers
8k views

What's the difference between \mathrm and \operatorname?

I apparently can't see the difference in a compilation (pdflatex) between \mathrm and \operatorname. So, as in the title the question is: is there a difference? Which one is preferable in what ...
2
votes
2answers
269 views

Using a math operator inside a 'cases' environment

When I do this: \begin{equation} b_i = \begin{cases} arg \min_{\forall p \in B} d(a_i, p) & \text{if } d(a_i, b_i) < D_{max} \\ \text{undefined} & \text{otherwise} \end{cases} ...
7
votes
3answers
502 views

The modulo two sum sign in LaTeX

I would like to know how I can obtain the 'modulo two sum' sign (unicode 2A0A i.e., the letter sigma with a circle in its middle). I know I can obtain it by using the unicode-math package. But does ...
14
votes
2answers
2k views

Lower and upper Riemann integrals?

How can I make an integral symbol with a bar above it or a bar below it?
7
votes
2answers
9k views

Dot notation for derivative of a vector [closed]

If I want to use the dot notation for the time derivative of a vector is better (more common) to put the dot over the vector, or the other way around \dot{\vec{v}} \vec{\dot{v}} The first says ...
0
votes
1answer
584 views

One more question regarding “function restriction”

This question is in connection with How to typeset function restrictions There, egreg gives a satisfactory answer (at least for me) The problem is that I'd like to do the same thing with ...
8
votes
1answer
327 views

The font of operator names

What is the correct way of having all operator names be set in, say, sans serif? Saying \documentclass{article} \usepackage{amsmath} \makeatletter \def\operator@font{\sf} \makeatother ...
16
votes
1answer
274 views

Load integral sign from eulervm

I want to write a book for university and I want to have the "german" integral symbol in it. I tried using mathabx and wasysym but I don't like them. But I like the integral symbol in eulervm. How do ...

1 2