{amsmath} is a package provided by AMS that enhances LaTeX's mathematical typesetting capabilities in various ways.

learn more… | top users | synonyms

6
votes
1answer
215 views

svmono+amsmath causes a warning

\documentclass{svmono} \usepackage{amsmath} \begin{document} \end{document} generates the warning Package amsmath Warning: Unable to redefine math accent \vec. Is there any way to remove this ...
2
votes
1answer
88 views

How to define a new math operator with \mathclap in its arguments?

I would like to define a math operator with \mathop and I would like its arguments to be automatically put in a zero width box with \mathclap. Defining an operator, e.g. \sum, with \newcommand ...
6
votes
1answer
3k views

Vertical space before and after align environment

I am wondering if it is possible in LaTeX to generally adjust the spacing before and after math in the align environment from amsmath. From the Mathmode-guide (by Herbert Voss) I gather that ...
7
votes
1answer
143 views

alignment problem

I have the following: \documentclass{article} \usepackage{nicefrac} \usepackage{amsmath,amssymb} \begin{document} \begin{align*} f_X(x)&=\frac{1}{2 \pi} \exp ( -x^2/2 ) &\forall x \in ...
4
votes
3answers
101 views

Keep numerator inline with rest of equation

In the following example, I would like to to keep the Q''(p) on the same line as the rest of the equation, and put the vinculum and 2 underneath. \documentclass[12pt,reqno]{amsart} ...
7
votes
3answers
815 views

How to put your symbol explanation for the formula?

I have a formula written in LaTeX. What is the best way to explain what the symbols mean in the formula? For example I have this equation with a where: symbol definitions \begin{equation} ...
1
vote
2answers
87 views

Preserve spacing while using align with amsmath

While \documentclass{article} \usepackage{amsmath} \begin{document} \begin{align} & A \\ & = B \end{align} \end{document} preserves the horizontal space after the equals sign, ...
1
vote
1answer
67 views

Linebreaking gather (equation) environment?

Please help me to line break this gather environment. You can clearly see which line I want broken by where I've placed the split environment in my code. It's too long for 1 line. I also want it ...
1
vote
1answer
124 views

Which font is used in “Notices of the AMS”? [duplicate]

Possible Duplicate: How do I find out what fonts are used in a document/picture? I like the font in "What is ...?" of Notices of the AMS. For instance see this document ...
4
votes
2answers
233 views

How do you make numbered equations in latex?

I would like to put in a code that automatically assigns a number to the equations in my documents preferably aligned on the right hand side. How can I go about this? ...
8
votes
2answers
615 views

Equation numbering problems in AMSMath environments with \pause

I'm writing a beamer presentation, and trying (unsuccessfully) to use \pause to step through a numbered array of equations, with the equations appearing in turn, and the corresponding numbers ...
2
votes
1answer
330 views

New line in a math block [duplicate]

Possible Duplicate: Linebreak in equations I am very new to latex, its been a super frustrating I spend almost close to two hours on getting a new line inside the math block \[{P(g(X) \neq ...
2
votes
0answers
37 views

TeX Live directory structure [duplicate]

Possible Duplicate: LaTeX, package documentation look-up This information must be somewhere on the Internet, but I am not able to Google it ... I am using amsmath with TeX Live (Ubuntu in ...
5
votes
3answers
177 views

Conflict between amsmath and ntheorem, or, how I fell into an infinite troubleshooting loop

There are similar questions on this site, but nothing quite fixed this problem for me. When using amsmath with ntheorem I get either a missing end of theorem symbol (when my theorem ends with an ...
5
votes
2answers
151 views

Using align within savebox?

I have a custom environment called 'quiz' which puts its input into a savebox and then uses it later depending on a package option. The code works fine, unless I use an align* environment in which ...
5
votes
1answer
193 views

font name with a space, using XeLaTeX and fontspec

I use XeLaTeX, amsmath, fontspec, unicode-math and standalone to create a pdf containing one single equation which I then import to Inkscape for a poster. When using font names with a space in it, ...
19
votes
4answers
595 views

How to break a long expression in the denominator of a fraction?

I used the split command to break my equation but I receive the error: ! Missing } inserted. <inserted text> } l. \end {split} The code in .tex file is as follows: ...
4
votes
1answer
148 views

Combined use of [fleqn] and \qedhere

It seems there is an issue within the ams packages, which results in an incompatibility between the fleqn option, and the \qedhere command. If those are used together, the qed symbol is flushed to ...
8
votes
3answers
298 views

\left and \right in equation across multiple lines [duplicate]

Possible Duplicate: Left/Right across multiline equation Could someone explain why I can't get the left and right commands to work correctly code: \documentclass{article} ...
4
votes
1answer
790 views

Equations didn't fit

I created a presentation with University of Hamburg beamer theme, which can be found here. However, in a slide, I wrote long equations but they did not fit and I cannot fix this problem. This is the ...
13
votes
2answers
333 views

Breaking a theorem between pages

I currently have this custom myexample theorem environment that is working absolutely great. \newtheoremstyle{myexamplestyle}{}{}{}{}{\bfseries}{.}{ }{} ...
2
votes
2answers
140 views

array environment with tags/labels

I try to come up with a couple of formulas which should be aligned according to a relation symbol but also to the left. Have a look at the following example: \documentclass{article} ...
2
votes
1answer
350 views

Missing $ error in math mode

I have the following LaTeX code (beginning from line 80): \begin{definition} $\hat{n}_{v}$ = \begin{cases} $n_{v}$ & \text{ if } $v \in$ \text{connected component of size} $< ...
6
votes
1answer
167 views

Equation spacing issue with fleqn (amsmath) and frenchb (Babel)

This is a follow-up to this question. Here is an exemple of the code I wrote to add a light gray background to important equations: \documentclass{article} \usepackage[fleqn]{amsmath} % ...
12
votes
1answer
160 views

Align to center

I want to align some equations to the equal signs, so I wrote this: \begin{align} -3z &=-9\\ z &= 3\\ -3y-3*3 &= 3\\ y &=-4\\ ...
6
votes
1answer
91 views

Use a symbol in a formula that's been defined over elsewhere

In my document preamble, I'm using: \usepackage{fancyvrb} \DefineShortVerb{\|} It means I can indicate that things are to be rendered as code with |This_is_monospaced|, but now I'm trying to use ...
5
votes
2answers
341 views

LuaLaTeX AMS-Typesetting bug with sum\limits under sqrt

it looks as if there is a bug in math-typeseeting with lualatex using ams. An minimum example showing this is \documentclass[12pt]{report} \usepackage{amsmath} \begin{document} This looks OK, but ...
4
votes
2answers
410 views

flalign* still maintaining indent - caused by \text{}?

The goal is to align all of the text that spans more than one line with the equal sign. It appears that if I use \usepackage{amsmath} in my preamble and then use align* it will align with the ...
8
votes
1answer
321 views

\eqref to give reference to a sequence of subequations

Suppose I have the following code \begin{subequations} \begin{align} a+b = c \label{eq.1}\\ d+e = f \label{eq.2} \end{align} \end{subequations} I want now that upon giving the reference, it ...
6
votes
1answer
462 views

Why does \dot over \vec over {\bf E} gives a tilde?

When using AMSmath and trying to put a \dot over a \vec of a bold symbol it works, but subsequent instances have a tilde instead of a vector over the bold symbol, and strangely my partial wrt become ...
7
votes
1answer
254 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 ...
0
votes
0answers
341 views

Installing AMSTeX on a Mac running Mountain Lion [closed]

I recently bought a MacBook Pro (running Mountain Lion). I have TeXtures (from Blue Sky Resaerch) and TeXShop up and running, but I have no idea what to do to get AMSTeX running on either of these. ...
1
vote
1answer
233 views

Sqrt with fraction in root argument [duplicate]

Possible Duplicate: Nice-looking p-th roots How can I move the root higher for this formula ? The fraction in the root is typeset to low: \documentclass{minimal} \begin{document} ...
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 ...
3
votes
2answers
532 views

Alignment across nested aligned environments

I have a list of equations with annotations like the one below: \documentclass{scrartcl} \usepackage{amsmath} \begin{document} \begin{align} aaaa &= 1 &&\text{for $X$} \\ bbbb &= ...
2
votes
1answer
383 views

abs undefinded control structure

have a strange prob with \abs. Even a simple term like \abs{x} does not work. It does not work out. Undefined control structure will be displayed when using pdflatex. amsmath-package was used. .aux ...
5
votes
1answer
204 views

Unicode math with amsmath, new error

After applying the most recent ctan updates, the following MWE does not compile with lualuatex. There is an error given ending with \cs_set_nopar:Npx that I can't make sense of. ...
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 ...
3
votes
1answer
179 views

Align inside align

I have a list of equations with annotations like the one below: \documentclass{scrartcl} \usepackage{amsmath} \begin{document} \begin{align*} aaaa &= 1 &&\text{for $X$} \\ bbbb ...
2
votes
3answers
158 views

Behaviour of the align environment

I'm writing a manuscript with long equations. In order to break the equations I prefer the align environment, provided by the amsmath package, over the eqnarray one. In the below example I show the ...
7
votes
1answer
99 views

Problem with \index in align enviroment

Please compile the following MWE. As you will then see, the typesetting of $\mu^{\otimes\downarrow n}$ in the index is strange! \documentclass{article} \usepackage{amsmath} \usepackage{imakeidx} ...
5
votes
1answer
99 views

Makeindex error when ! used in \index in align environment

See MWE below. The symbol ! in the \index causes an error. This is only the case in align environments (not in equation). So it seems to have to do something with amsmath. If ! is put in an \mbox ...
4
votes
1answer
82 views

solution to overflowing equation?

What is the best solution for an equation which is overflowing? I have the structure: \begin{align} long here & long here 2 \end{align} and this causes the long here 2 to overflow. I want to ...
4
votes
1answer
135 views

Strange interaction between amsmath and setspace

Compiling the MWE below, you will observe in the output the following phenomenon (you may have to zoom in): Comment amsmath out. Then, the spacing beteen lines is such that the subindex of the ...
4
votes
3answers
2k views

Centering in the \align* environment

I'm using the \align* environment from the amsmath package. How can I center one of the lines inside the environment? In the following example, I want to the \vdots to be centered, instead of ...
11
votes
2answers
801 views

inserting sentences between subequations

My apologies for asking so many questions here. I want to introduce a sentence in between 2 subequations which is not in math mode. Here is the code that I am using: ...
17
votes
3answers
2k views

Centering \vdots in a system of many equations

I have a system of equations with an arbitrary number of equations (k). I'd like to use \vdots to compactly describe the system, like so: \begin{align*} R(-1) &= \sum_{i=1}^m A(i)R(i-1) \\ ...
5
votes
1answer
84 views

Centering first line of an align environment (Simulating \multicolumn{2}{c})

I often need align environments where the first line is centered, e.g., when first introducing the types of the functions to be defined, then defining them. I essentially want to obtain the effect ...
10
votes
4answers
419 views

'Nudging' overset characters downwards

I am trying to make a vector-like symbol to use in a paper I'm writing. I am actually able to make almost exactly what I want in Mathematica, in which it looks like this: In TeX I am using ...
2
votes
2answers
153 views

Brace delimited sets of equations inside AMS align with common alignment

I would like to extend the following way of typesetting equations with a trailing brace to more than one set of equation. \documentclass{article} \usepackage{amsmath} \begin{document} This works ...

1 3 4 5 6 7 11