{math-mode} is about typesetting mathematical content, e.g. tweaking the appearance of spacing and symbols in a formula, or producing specific mathematical constructs. For questions about "wrapper" environments like equation or align, consider the tag {equations}.

learn more… | top users | synonyms (2)

6
votes
1answer
689 views

Math symbols not being printed.

I am having problems printing an equation. I have the following definitions: \documentclass{scrreprt} \usepackage{mathspec} \defaultfontfeatures{Mapping=tex-text,BoldFeatures={Weight=2}} \...
26
votes
3answers
8k views

Overlay symbol with another

Is it possible to overlay a symbol with another? I want to write an equal sign with a question mark overlayed (or the other way around). Note I don't want \stackrel{?}{=} I want the question ...
9
votes
1answer
1k views

XeLaTeX: lost \perp in Cambria math?

Occasionally I noted that Cambria Math fonts or the unicode-math package might have wrong definition of \perp math symbol. Attached picture shows that \perp is not printed properly while \bot is. ...
10
votes
2answers
742 views

Where do I find character codes to make my own “big symbols”?

A couple of months ago I was having trouble getting a \bigtimes symbol that worked well. A few libraries have one, but they all did all sorts of other troublesome things to how math was formatted. In ...
9
votes
1answer
4k views

Text in subscript

For my text-in-mathmode needs in LaTeX, I use \mbox. However, it does not seem to behave well in subscripts. How can I write text that adjusts its height? $ 3 \mbox{dB} = f_{ 3 \mbox{dB} } $ ...
81
votes
4answers
107k views

“(” or “\left(” parentheses?

What is the difference between ( and \left( in LaTeX? Sometimes, when the content is small, it does not seem to matter which pair I use. What is the best practice when it comes to which parentheses ...
5
votes
1answer
1k views

A closed degree symbol

How can I make the exponent on gamma in this picture? The best description I can come up with is a closed degree symbol.
9
votes
1answer
451 views

What is the difference between the combination of split inside equation* and align*?

What is the difference between the combination of split inside equation* and align*? \begin{equation*} \begin{split} A &= B+C\\ &= X+Y \end{split} \end{equation*} \begin{align*} A &...
6
votes
1answer
268 views

Is there a ConTeXt version of the LaTeX lefteqn?

What I want is to be able to set up equations like this: a very long first expression = the second line = and a third line = and maybe even a fourth In LaTeX, this would be ...
5
votes
1answer
686 views

Symbol for a “twisted product”?

I am trying to make a symbol for a "twisted product". I've tried stackrel: $A \mathbin{\stackrel{\sim}{\times}} B$ but the sim floats too high above the times, causing unpleasant line spacing. I'...
2
votes
1answer
2k views

Bad math delimiter in tikz tree

I'm trying to diagram an extensive form game using TikZ trees. The following code generates errors at compile time. Specifically, it complains about missing $'s and a bad math delimiter. I've been ...
3
votes
1answer
1k views

Stretching integral [duplicate]

Possible Duplicate: How can I have a bigger integral (\int) delimiter? Is there some way to "stretch" the integral symbol to cover a big math expression? I'm talking about a problem like this:
5
votes
1answer
2k views

What library do I have to use such that the document can render \lt and \gt as less than and greater than signs, respectively?

\documentclass{article} %\usepackage{amsmath} It does Not work ! \begin{document} \[ x\lt y \gt z \] \end{document} What library do I have to use such that the document can render \lt and \gt as ...
15
votes
3answers
14k views

Extensible double angle, etc

I was wondering about an efficient way to generate an inner product symbol like \[ \langle\langle u, v \rangle\rangle \] (i.e., double angle brackets), or a norm symbol like \[ \lvert\lVert x \...
6
votes
1answer
2k views

Can I insert a vertically centered image in math mode?

In Mikael Öhman's answer to this question, he provides some code for placing an image in math mode as a symbol using the \mathord declaration. I can define a new command in the preamble using this, ...
61
votes
2answers
33k views

Separate long math text under sum symbol into different lines?

I have the following equation, where there is a lot of stuff under the sum symbol: \begin{equation} d(\vec{x},\vec{y})= \sum_{Z_{xy}\in\vec{Z}_{xy},\forall x\in\vec{x},\forall y\in\vec{y}} f(...
5
votes
4answers
2k views

How Can I Avoid Writing “\noindent” After Equations [duplicate]

Possible Duplicate: How can I get rid of indentation after an equation? Just a quick question: For clarity, in my LaTeX files I always leave a blank line after equations: $$ equation $$ <...
9
votes
3answers
3k views

Cases with square brackets

How can I subdivide in cases with square brackets? I mean I want to write: ⌈ 2_i if ... rank (q, l) = | 2_i + 1 if ... ⌊ .... with square brackets, not ...
2
votes
1answer
183 views

Equation name display, not equation labeling/cross-referencing or equation tagging

Is it possible to display an equation name similar to theorem name displays: \begin{theorem}[Convergence of Cauchy Sequences in $\mathbb{R}$] Every Cauchy sequence of real numbers is also a ...
17
votes
3answers
3k views

\underbrace{} choppy

Why are my underbraces so ugly? I've tried a few different fonts for the document and it appears it is font that determines the underbraces appearance. I however don't want to change my font. How ...
7
votes
3answers
401 views

Making mathmode obey spaces

I know this is kind of blasphemic thing to ask, but is there a way to make mathmode obey spaces? Preferably in Plain with XeTeX.
5
votes
4answers
501 views

The use of “tilde” changes the proximity to the set theory symbol (ref img)

I just want to format a simple set theory example. But the following is annoying: See how close the cap gets to the 'A' because of the tilde sign? I've used sim for the tilde sign. Any ...
9
votes
1answer
7k views

Missing } inserted, yet braces are balanced

Regard the following document: \documentclass[a4paper,reqno]{amsart} \usepackage{amssymb,amsmath,amsthm,fullpage} \begin{document} For each $k$ we denote by $\lambda_k$ the $k$th symmetric ...
8
votes
1answer
4k views

Punctuation in equations

My document will contain a lot of equations, and as usual in that case I would like to use "punctuation" in the equations, like commas, colons, periods/full stops, semicolons, etc. Is there a special ...
9
votes
2answers
3k views

Override default equation numbering in Beamer?

I need to override the default equation numbering behavior. I want the numbers next to equations in my Beamer slide presentation to match with the numbers of the same equations in my paper. so ...
35
votes
5answers
12k views

How to present a vertical multiplication/addition

How do I present vertical (columnar) multiplication and addition in LaTeX. Like this: http://mathworld.wolfram.com/LongMultiplication.html 3 8 4 x 5 6 --------- 2 3 0 4 1 9 2 0 --------- 2 ...
3
votes
1answer
2k views

newline and italics added with \leq

Newbie question: Within the body of the text that I've inserted into a Journal's Latex Template, I don't understand why I get a newline and italicized font when I add the command \leq to generate "...
3
votes
1answer
2k views

How do I get XeLaTeX to use the bold Minion Pro typeface for Greek characters?

I can't for the life of me get XeTeX to give me bold lowercase greek symbols, even though I have checked, e.g., in a word processor, that the font has a corresponding bold typeface with the greek ...
9
votes
2answers
238 views

Make the $ that opens a math environment replace preceding spaces with a single non-breakable?

I find myself spending effort in placing the tilde character before every inlined math I type, e.g., On 1899, G. Pick proved that the area of a simple polygon~$P$ whose vertices are located ...
8
votes
4answers
10k views

Missing $ inserted

I am new to latex. I am trying to compile someone else's document. I have all the correct packages installed, but I get the following error: *Overfull \hbox <37.8394pt too wide> in paragraph ...
17
votes
3answers
5k views

Can I insert an image into an equation?

I would like to use a small image in an equation, where a symbol like \alpha might otherwise be. Is there a nice way to do this?
7
votes
2answers
7k views

How do I change the math italic font in XeTeX/fontspec?

I have a document where the main font is Gotham Book. So in my preamble I have: \usepackage{fontspec} \setmainfont{Gotham Book} As the fontspec manual describes, this sets the math roman font to ...
5
votes
2answers
444 views

Spacing for homogeneous coordinates

Homogeneous coordinates in projective geometry are usually denoted like this: $[x:y:z]$. However, I think that : plays the role of a comma, and should be surrounded by much smaller spaces than for ...
32
votes
3answers
102k views

How to do the 'curvy L' for Lagrangian or Laplace Transforms?

I am new to TeX, working on it for about 2 months. Have not yet figured out how to script the 'curvy L' for Lagrangian and/or for Laplace Transforms. As of now I am using the 'L' - which is not good! ...
25
votes
3answers
26k views

1st, 2nd and i-th?

Assume I wish to refer to the i-th object, or the n-th function out of some set, where i and n are letters and not numbers (as in "Multiply the $j$th row with the $i$th column and store the result in ...
6
votes
4answers
802 views

Mathematical typesetting requirements

I'm not really sure if this is the right place to ask this, but given the seemingly large concentration of mathematicians, and the tangentiality to TeX, I'll just ask here: what are the mathematical ...
75
votes
6answers
34k views

Prevent LaTeX to break an inline math equation

I hope this question was not asked before. At least I haven't found it. I have an inline math equation and LaTeX is breaking it into two parts. In this case I'd prefer to have the whole and short ...
2
votes
3answers
297 views

Math, cells above a bmatrix

How would one typset an array with cells above a bmatrix, something like [a] & [b] \begin{bmatrix} 1 & 2 \\ 3 & 4 \end{bmatrix} Where somehow the [a] and [b] cells would appear aligned ...
6
votes
3answers
7k views

Large braces to specify condition in a set

How do I define this in LaTeX - I am writing a description of a set, and I need huge braces because I have lot of clauses to fit in, and it will take more than 1 line. For example: A = \{ (x,y,z) : \...
1
vote
2answers
1k views

How can I embed \lvert and \rvert into the numerator ?

How can I embed \lvert and \rvert into the numerator? $1 - \frac{ \lvert 1 - t_2 \rvert}{y}$ The above line gives Undefined control sequence error.
8
votes
6answers
3k views

Sans serif font with distinguished capital I for math.

I work a lot with matrix algebra. I also give a lot of presentations. It'd be nice to have a good sans serif font to use for both. Currently, my choice is the bitstream vera sans with math package: ...
14
votes
1answer
5k views

How do I robustly typeset a double-hat?

I'm trying to typeset a symbol with two hat accents (useful for denoting superoperators in quantum mechanics, for instance), but \hat{\hat{L}} produces too much space between the hats. I found one ...
3
votes
3answers
3k views

Force Computer Modern in math mode

I am writing a presentation using the beamer class and XeTeX. I have changed the sans font using \setsansfont. Now some symbols in my equations are rendered using the mono font (like the lowercase ...
13
votes
1answer
3k views

Blank lines in align environment

Is there a way to insert a blank line between two equations in align environment? From what I understand a blank line is interpreted as \par and \par is not allowed in align. Can I disable this "...
7
votes
4answers
873 views

is it possible to change the depth of subscripts?

I have the following formula: $ F_{\!\bm{H}} F_{\overline{\!\!\bm{H}\!}} $ In this case both subscripts end at different depths (but start at the same height). I'd like them to end at the same ...
11
votes
2answers
3k views

How to get monospace logic formulas?

The following does not work in LaTeX because logic symbols can only be used in maths mode: \texttt{\forall x(\exists y((f(x)=y)\land(\neg(g(y)=y))))} I want to do this to stress the nature of such ...
4
votes
2answers
293 views

Mixing “check” and “hat” leads to odd output (using MnSymbol)

I'm trying to typeset a formula that contains the expression $\check{x} g_1$ underneath a widehat. However, when I typeset the expression $\widehat{\check{x} g_1}$, I get odd results -- the "check" ...
0
votes
1answer
229 views

Which one should be chosen for making a transposition of matrices: `fourIdx`, `leftidx`, `tensor`, `subsupscripts`, `mathtools`?

I want to get a transposition symbol of matrices like ^t(1 2 3), as title. I used the macro \prescript (in mathtools) at present. There is no any problem occured, these packages' macros work well. I ...
7
votes
1answer
19k views

How does one change the math font size? [duplicate]

Possible Duplicate: how to scale math font only Similar to how to change math font only, is there a way to change the size of fonts in math formulas? EDIT -- DUPLICATE OF how to scale math ...
6
votes
5answers
11k views

Math and Times font

I am trying to use the Times font for normal text and variables, and the default math font (CMR) for math. I tried using the Times package. This partially solves the problem. But I want the text in ...