{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)

3
votes
2answers
19 views

How do I have centered equations on right case?

Here is an example of what I want to achieve. I have tried below but the equations won't center automatically. \begin{gather*} \begin{rcases} p \\ p \rightarrow r \\ q \rightarrow ...
1
vote
2answers
44 views

I want a really small underbrace

This question is related to, but distinct from Oversized \underbrace's label causes unwanted spacing. My issue isn't with the spacing of the label, but with the size of the underbrace itself. ...
4
votes
2answers
44 views

New line inside color area

I'm trying to enter new line inside colour area like this $\color[rgb]{0,0,1}{P(A) = a +\newline b +\newline c +\newline d}$ But it does not work, why? And how do I solve it? Thanks!
2
votes
1answer
35 views

Failure to produce nested matrix with shortcut macro

I use a \arr macro as a shortcut for bmatrix environments. In addition, I use a hacked version of bmatrix (see: What's the best way make an “augmented” coefficient matrix?) so that it's easier to ...
0
votes
1answer
89 views

Why does LaTeX throw an error for this equation?

I am having a tough time reproducing the following equation in LaTeX: C = 2/(ω^2 N^(2 )µπa) This is the code I have: C = \frac{2}{\omega^2N^2\mu\pia} However, this throws an error. What am I ...
3
votes
1answer
52 views

Vertical strikethrough

I'm currently trying to TeX up a Sieve of Eratosthenes example on the integers 2-100. I'm already using the ulem and cancel packages to give me horizontal and diagonal strikethroughs but I need a ...
4
votes
1answer
49 views

Write math in two columns in a page

Is there any simple way to split my page in two without using a multi column document to achieve this result: What I currently have is this: \begin{align*} T\left(n\right)&= 2T(n/2)+(c_2 + ...
12
votes
3answers
224 views

Underbrace changing spacing of operators

I have found that using an \underbrace on a term in an equation causes the spacing of the following terms to be changed, in particular, the + is moved closer to the \dot{m}. This seems to be distinct ...
3
votes
1answer
55 views

Lyx doesn't compile a kth root

A LyX document I wrote won't compile after I added in a mathematical formula the command root (in fact, \root[k]{\alpha}). I would have written you the code, but the document is long (over than 20 ...
3
votes
1answer
32 views

fancyvrb error with math escapes and prime (')

I've recently noticed a few cases where fancyvrb math escapes fail. This works fine: \documentclass{article} \usepackage{fancyvrb} \begin{document} ...
1
vote
1answer
77 views

Shorthand for \begin{eqnarray*} … \end{eqnarray*}

To align a long string of symbols I usually use \begin{eqnarray*} ... \end{eqnarray*}. I would like to know if there is any convenient alternative to this environment. For example, I know that ...
3
votes
1answer
78 views

how to add a dot above $\imath$

I want to indicate an element from a set of elements, so I want to use $i$ for the indication. I saw some books use a special shape for the indication in my case $i$. After quick search, I found out ...
2
votes
3answers
137 views

How can I make a diagonal division symbol?

So I want to make the four elementary arithmetic symbols in math-mode, but I don't like the way the divison-symbol looks. I want it to look like you rotated the subtraction-symbol 45 degrees, and I ...
3
votes
1answer
82 views

How do I make fractions automatically displayed in lines properly?

I would like to know how to make code of fractions in article class more easy to handle. Usually, if I type ${a \over b}$ then LaTeX does not display $a/b$, which is what I want. So I have to say ...
3
votes
1answer
126 views

Math equation eating whitespaces and operators

I have this: $0.2 \mu sec = (1 − FR) * 0.1 \mu sec + (0.3 * FR) * 8 millisec + (0.7 * FR) * 20 millisec$ \\ and the result is that all whitespaces are gone, as well as the first minus symbol for ...
7
votes
3answers
158 views

Box with subtext in an equation

I would like to do something like the boxes in the equation below But I have no idea how to implement this in Tex. Thanks in advance!
2
votes
2answers
51 views

Need help with two symbols for Complex Analysis

I cannot find how to write "cis" which is the polar form of complex number, or "Arg" which is short for argument. Does anybody know these symbols? Thanks.
2
votes
2answers
78 views

Set Math Font like in Beamer

How can I set the Beamer math font in a non-Beamer class (e.g., article)? The motivation is that I prepare a poster and a presentation for a workshop which I would like to look as similar as ...
6
votes
2answers
296 views

Matrix Inverse symbol

Is there a symbol for the inverse? I have been using X^{-1} for my matrix inversions, but this results in the -1 being rather large and taking up almost as much room as another symbol. Is there a ...
6
votes
5answers
113 views

Different fonts in same math environment

I would like to display text like 0^3 1^5 ... with the exponents (3 and 5 in the example, can be any number) written in usual math, but the bases (0 and 1) in typewriter font. I tried various ...
4
votes
2answers
77 views

Spacing between several superscripts mboxes

I'm getting a small extra space between two superscripts in separate math objects. MVE: \documentclass{article} \begin{document} zz$\mbox{zz}^{\mbox{a,a,}}$$^{\mbox{a,a}}$ \end{document} ...
10
votes
1answer
90 views

Antykwa Torunska font: How to get correct \hbar in LuaLaTeX

I'm using TeX Live 2014 with lualatex. Using the font Antykwa Torunska (anttor) for math, \hbar is not displayed correctly. The default LaTeX settings do not give good results at all scales: ...
3
votes
2answers
38 views

Revisions of a theorem where numbering goes 2.0, 2.1,2.2

I would like to give different equivalent versions of the same theorem, eventually proving the last version. The first time I state the theorem, I would like it to have the number 2.0. Each successive ...
4
votes
1answer
58 views

Is there anything like “displaystyle” for “arrays”? [duplicate]

I have this equation and I would like to "get more space" into it, how to do it? \documentclass[a4paper,12pt]{article} \usepackage{amsmath} \usepackage{amssymb} \begin{document} ...
4
votes
2answers
74 views

Proper left alignment in math environment

I've seen this http://stackoverflow.com/questions/2632628/left-align-block-of-equations answer as well as a handful of others, but none of them gives a satisfactory solution. The problem Two ...
9
votes
1answer
133 views

Subscript equivalent of ' for \prime?

I am working through the TeXbook and I came across the section (pg. 130) where ' and \prime are discussed. Knuth mentions that TeX treats \prime as a large symbol that appears only in superscripts ...
1
vote
1answer
91 views

Getting even space around the centered dots in $1,\cdots,n$

In \documentclass{article} \usepackage{amsmath} \begin{document} $1,\cdots,n$ \end{document} There's more space to the right of the centered dots than to the left of them. What's the best way ...
4
votes
1answer
37 views

Why highlighting math with soul doesn't combine with l2tabu option for the nag package?

I have found that highlighting mathematical formulas with soul package does not work if the nag package is used with l2tabu option. A minimal (not) working example is: \documentclass{book} ...
1
vote
1answer
87 views

Format painter feature in LaTeX

I wish to know if there is any short cut in LaTeX to suffix and prefix $ symbol for math text. Say I have to write many times some variables such as x, y, and z. I wish to type them normally, and at ...
1
vote
0answers
55 views

Want large \mathbb{N} in Wordpress [closed]

I am using LaTeX in a Wordpress environment. Can I produce a large version of $\mathbb{N}$. I have tried using \large, \bf, \mathbf and \mathsymbol but nothing works
3
votes
2answers
181 views

How to get a vertical bar which is the exact size of the object?

I wish to use two vertical bars to sandwich a whole object: What I found is that (Failure 1) if I use usual \mid or \rvert or |, it is too small. (Failure 2) if I use usual \left| or ...
3
votes
1answer
55 views

How to define a fraction of tt font variables?

I am trying to define something like $\frac\mathtt{A\_B}\mathtt{C\_D}$ to get a fraction of two typewriter-font variables (inline math preferred), but I keep getting errors such as "missing } ...
8
votes
3answers
241 views

Typesetting a long exact sequence

I am trying to typeset the Mayer-Vietoris sequence (concisely - without the map names above the arrows). Currently I am simply using the AMS align environment with a bunch of \rightarrow, \cdots and a ...
1
vote
0answers
48 views

Problems with vector fonts and embedding

I have written a thesis, printing on the home-printer works fine, but for publishing, there are some problems concerning the embedding and fonttypes: I am using Miktex via TeXnic Center on Windows 7. ...
3
votes
1answer
38 views

Long underbrace with exponent following

The following code results in the following output. \documentclass{standalone} \usepackage{amsmath} \begin{document} ${\underbrace{\left(a^k\right)}_{\text{very long text}}}^{s}$ \end{document} ...
3
votes
0answers
42 views

Use of Script-size and Script-script-size glyphs

In the answers to this question, I learned that OpenType Math fonts like Cambria and Latin Modern Math contain script-size and script-script-size characters, with different optical scaling. In my ...
10
votes
1answer
584 views

Traditional German e sans-serif letter

I am currently translating an old physics paper from German into English (Elektron und Gravitation I by Hermann Weyl in 1929) and in one of the formulas two different characters for the letter E are ...
7
votes
1answer
121 views

Why does using color break superscript/subscript horizontal spacing?

The below snippet, within an equation array environment, gives the subsequent rendering: F\left[C^{(n-k)}_{P_{ji}}\right] But when I add color to the snippet (using the color package) as below ...
5
votes
2answers
115 views

How to achieve two levels of indentation inside align environment?

I'm trying to indent an equation further away - basically to achieve two levels of indentation. Let me explain a little bit more... I have the following: \documentclass{article} ...
1
vote
2answers
51 views

Accentset not working with fraktur

The following code works fine % arara: pdflatex \documentclass[12pt]{book} \usepackage{accents} \usepackage[ cal = cm, bb = ams, frak = euler, scr = euler ]{mathalfa} ...
4
votes
4answers
307 views

How to break a product of three polynomials

I have $$(1+x+x^2+x^3+x^4+x^5+x^6)(1+x^2+x^4+x^6+x^8+x^{10})(1+x^5+x^{10}+x^{15}+x^{20})$$ but is too long to fit the page. How to break this?
0
votes
1answer
58 views

How does one write a big $\oplus$ sign? [duplicate]

How can I write a big $\oplus$ sign? I've been experimenting with lots of different things like $Oplus$, but nothing is working.
0
votes
0answers
32 views

How to globally replace () with \left(\right) in math mode? [duplicate]

I find myself barely using (). Instead, I always use \left(\right). Keeping typing that long string really kills me. I have tried this, but no luck. \DeclareMathOperator{(}{\left(} ...
2
votes
1answer
95 views

Wick Contractions aren't displaying properly

My Wick contractions aren't displaying properly: the ones on the left are fine but the ones on the right have the contraction at a very low height ...
0
votes
0answers
45 views

Bad height positioning when superscript and \dot appear together

I try to type \dot x^i to represent the time derivative of the coordinate x^i. But in \dot x^i the superscript i will be to high, while in {\dot x}^i the dot will be too high. My attempt \dot ...
5
votes
1answer
78 views

Nested parenthesis automatic indentation in equation

Here is some code that produces a display equation with nested parentheses indented to different depths. \documentclass{amsart} \begin{document} \begin{align*} (\exists d) &\biggl( ...
9
votes
3answers
198 views

Text across several summation symbols

I have a question on how to have the following in an equation. Here is some working code to start with: \documentclass[12pt]{article} \begin{document} \begin{equation} P(X)=\sum_{X\in A}\cdots ...
5
votes
1answer
65 views

How to change the default font of math operators

How to change the default font of math operators? The problem is that if I use the command \DeclareMathAlphabet\mathrm{U}{eur}{b}{n}, only new defined operators will be changed in terms of its font. ...
10
votes
2answers
295 views

How do I typeset this diagram used to explain folding?

How do I typeset this: (this is an explanation of the folding used in derivation) Edit: Here's a code of the formula and XeLaTeX MWE: \documentclass{article} \usepackage{fontspec} ...
5
votes
2answers
111 views

Align at multiple points in math environment

Consider the following equation: which I produced with the following code: \begin{equation} \begin{gathered} \mathbb{P}\left\{\vect{x}_i \in \mathscr{N}(H_{\vect{\uplambda}})\right\} ...