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

learn more… | top users | synonyms

5
votes
1answer
187 views

Sequential equation numbering when using 'report' class [duplicate]

I would like to use sequential equation numbering but I am using the report class which defaults to numbering equations within chapters. I would really appreciate if someone could help me with this.
3
votes
1answer
2k views

“!Missing $ inserted” error using amsmath environments

I am trying to compile a document with equations but whenever I use \begin{eqnarray}..\end{eqnarray} or \begin{align}...\end{align} or anything like this I get the error msg !Missing $ ...
4
votes
2answers
1k views

Equation: How to create nested/multiple cases in LaTeX to align the qualifiers

I am having trouble with a particular equation as the cases are nested within a case. It would also be cool if I could align the qualifiers. I tried to post an image of the equation but I could not ...
17
votes
3answers
2k views

Add equation name underneath equation number

I am wondering if it is possible (and if so how) to add names to equations just underneath the equation number. I am just using the standard equation environment to display the equation centered in ...
5
votes
3answers
114 views

Aligning Summations Over Differing Numbers of Sets

I'm trying to align a set of constraints for a linear program formulation. The issue I'm having is that some of the summations are over two (or more) sets, while others are only over one. This makes ...
5
votes
1answer
89 views

Horizontal alignment of long equations

I hope that the following question is not a duplicate but I could not find a definite answer. I'm trying to obtain the the same result as Formula (1) in the picture next, but I feel that my approach ...
6
votes
3answers
591 views

\everymath, AMS equations, beamer, and tikz not working together

In a beamer document, I have $ expressions embedded in displayed equations (using tikz to make, e.g., colored boxes around some expressions). I put \everymath{\displaystyle} in the preamble so that ...
1
vote
3answers
227 views

To show something are appearing n-times!

Suppose I want to write that the sequence 1,1,...,1 appear n-times. How will I do this? Usually in mathematics we use a braces at the bottom and write "n-times" below the brace.
1
vote
1answer
100 views

Lowering two expressions in an equation

\documentclass[11pt]{article} \usepackage{xfrac, array, tabu, multirow, graphicx, setspace, dcolumn, tikz} \usepackage[fleqn]{mathtools} %the argument for d specifies the maximum number of decimal ...
5
votes
1answer
88 views

Changing the size of the braces from the cases environment

I have created the following picture using the cases environment. For this picture I have two questions. 1) I would like to limit the size of the braces created by the cases environment to ...
6
votes
2answers
95 views

Amsmath: Using \tag{name} when you have a long name

When the name is long, the centering of the equations is off even though the tagged name wouldn't overlap the content. How can I center equations with a long name? \documentclass{article} ...
14
votes
3answers
568 views

Create \eqref* (\eqref without link, i.e. starred eqref)

I want to create a command \eqref*, which is the same like \eqref, but without a clickable link. There are similar commands for \ref (\ref*) and \autoref (\autoref*) which achieve this behaviour, but ...
2
votes
2answers
609 views

Break Large Equation Between Parenthesis Using Multline

I have a very large equation that I need to write in multiple lines, but multiline is not working between parenthesis. This is my LaTeX code: \begin{multline} e^{-y \lambda_n} \left( ...
3
votes
1answer
152 views

Align multiline RHS

I have the following MWE: \documentclass{report} \usepackage{amsmath} \begin{document} \begin{align} L_W&=\frac{L}{W} & \text{words per line}&=\frac{\text{bytes per ...
6
votes
1answer
99 views

Hyperref, amsmath, and horizontal spacing at start of a numbered equation

When amsmath is loaded before hyperref (which I thought was the preferred order), spacing within the equation environment is altered: \documentclass{article} \usepackage{amsmath} ...
3
votes
0answers
168 views

\bigg Is not working for left parenthesis [closed]

\documentclass[11pt]{article} \usepackage{xfrac, array, tabu, multirow, graphicx, setspace, dcolumn, tikz} \usepackage[fleqn]{mathtools} %the argument for d specifies the maximum number of decimal ...
8
votes
2answers
189 views

How to align multiple symbols for a long equation?

\documentclass[11pt]{article} \usepackage{xfrac, array, tabu, multirow, graphicx, setspace, dcolumn, tikz} \usepackage[fleqn]{mathtools} %the argument for d specifies the maximum number of decimal ...
2
votes
1answer
84 views

Is there a subsitute for subequations?

Is there substitute for the subequations environment? For instance, we can use align instead of the equations environment. What is the complement of subequations that would yield the same numbering ...
8
votes
2answers
195 views

Underarrow with smaller depth, shorter minimum length, and smaller arrow head?

I am using underarrows from amsmath to decorate messages with their direction, as in $\underleftarrow{\mathsf{msg}}$ () and $\underrightarrow{\mathsf{msg}}$ (). I am looking for a better underarrow, ...
2
votes
1answer
152 views

Problem with amsmath+fontspec+ulem

I have a problem when I tried to compile this using XeLaTeX. \documentclass{article} \usepackage{ulem,amsmath,fontspec} \begin{document} \[1+1=2\] \end{document} Is there any way to fix this?
3
votes
1answer
247 views

“Too many math alphabets” with Beamer and DeclareSymbolFont

The following is a near-minimal example of my problem: \documentclass[dvipsnames]{beamer} \usepackage{stmaryrd} \usepackage{MnSymbol} \DeclareSymbolFont{bbsymbol}{U}{bbold}{m}{n} ...
5
votes
3answers
116 views

Help with left align?

I was trying to left align this equation by using code $$\begin{equation} \begin{aligned} E_\theta(L(\delta_1(X)) &=& E_\theta[(1-\frac{b}{a+X^2}) X-\theta]^2\nonnumber\\ ...
7
votes
2answers
143 views

How to put \dots in front equation numbers in amsmath

By default the style is \renewcommand{\theequation}{\thechapter.\arabic{equation}} for example x+y =4 (2.1) How to put \dots in front equation numbering such as ...
3
votes
1answer
130 views

How to get default math font globally

This is the font in math mode in my whole document. It doesn't even recall the default font (math fonts table). It looks more like \mathcal{}, which I used once, didn't like, and quickly removed. ...
2
votes
1answer
146 views

How do I make this 'p' variant from the font eurm10?

The AMS fonts package provides the font eurm10 (see page 32 of this PDF) which has two p characters. In the font table, they are at positions 70 and 7D. The second one looks a bit like \wp but less ...
4
votes
3answers
126 views

Misalignment of equations using amsmath

I would like all my equations to be aligned to the left on the same margin ie. move the first one forwards or the other two backwards. The second 2 equations are inside an enumerate package though: ...
2
votes
2answers
1k views

Split environment alters spacing around binary operators

I've been using split environment from amsmath. A problem that I've run into is that if an & for alignment is placed next to a binary operator, the spacing on that side of the operator is reduced ...
4
votes
1answer
61 views

Alignment in math environment

Consider the following piece of code \documentclass[twocolumn]{article} \usepackage{amsmath} \begin{document} \begin{align*} A_i &= B_i + C_i\\ &= D_i + E_i+F_i + G_i + H_i\\ &= I_i + ...
2
votes
2answers
172 views

How to get rid of extra space before align and gather envronments, but allow page breaks?

I am editing a rather long text which contains many equations and floats, and encountered a problem with the align and gather environments. MWE: \documentclass[preview]{standalone} ...
2
votes
1answer
114 views

displaying TeX in web app

First I tried to ask this question on stackoverflow but it looks like that it's TeX specific. I'm having a TeX file on server, and need to display it in web page. The first thing I was thinking about ...
6
votes
3answers
736 views

Multiline equation with specific indentation style

I have a multiline equation of the following type: \begin{equation} \begin{split} f(x,y) & =a\\ & =b\\ & +c\\ & +d. \end{split} \end{equation} But the output I would like to have is ...
6
votes
2answers
236 views

When substack and array doesn't work

I am trying to write a formula. But both substack and array cannot fulfil my needs (as far as I know how to use them). The first is how I want it to look like. But I need an i'\neq i below the ...
20
votes
2answers
1k views

Difference of the \dots*

I came to wonder, what is the difference between the following? \dotsc \dotso As well as between: \dotsb \dotsi \dotsm
20
votes
5answers
2k views

Huge matrix in my document. Possible ways to make it look better?

The following is the source for a matrix I'm using in my document: \documentclass{scrartcl} \usepackage[english]{babel} \usepackage[T1]{fontenc} \usepackage[latin1]{inputenc} \usepackage{amsmath} ...
6
votes
3answers
280 views

Using $1\over2$ instead of $\frac{1}{2}$ under amsmath

I know that you should use $\frac{1}{2}$ instead of $1\over2$ to prevent warnings when you're using amsmath. But do those two expressions print differently? I know why, according to the amsmath ...
2
votes
3answers
198 views

Defining operator symbols

I want to replace the circle in the symbol \circledast by a square. But i did not find the right command. It seems that the packages stmaryrd would help. But the package usually re-defines other basic ...
5
votes
0answers
363 views

Miktex amsfont problem: \scriptfont is undefined [duplicate]

Today, After updating Miktex system, I have trouble with error \scriptfont is undefined. So I tried to reinstall Miktex 2.9.4813 (32 bit version). Everything OK, but again after updating, problem is ...
4
votes
3answers
113 views

Alignment problem between multiple line “bmatrices”

I'm having problems trying to align single and multiple line bmatrices: \documentclass[12pt]{article} \usepackage{amsmath} \begin{document} \begin{align*} x = &\begin{bmatrix} ...
8
votes
2answers
181 views

Delimitershortfall in align environment

Can you explain why the \delimitershortfall cannot be modified inside a align environment? This is a MWE: \documentclass{article} \usepackage{amsmath} \begin{document} \begin{equation} ...
1
vote
1answer
3k views

Subequations and align environment

I am trying to use subequations with a complicated alignment. The alignment in the MWE is not satisfactory. I am seeking for a solution where I can specify lrc such as in array, but subequations ...
2
votes
1answer
102 views

breaking many long numbered equations

I am having trouble with listing a couple of hundreds of long equations. Most of them need to be broken. The equations should be numbered. I tried many things such as eqnarray in combination with ...
1
vote
3answers
1k views

Hat accent on bold greek letters in math mode

I would like to insert an hat accent on bold letters/symbols in math mode. For latin letters, e.g. the q char, I insert this commands in my preamble ...
8
votes
4answers
484 views

How to add partial horizontal lines in horizontally aligned math environments

I'm having trouble writing a proof of a theorem in LaTeX, where I need to sum a set of inequalities and continue the proof with this sum. The problem I have is that I'd like to introduce this step ...
0
votes
1answer
204 views

Collectively aligning multiple align environments [duplicate]

I am using amsmath, and I want to be able to break a mathematical derivation into multiple align environments while maintaining their collective alignment. In particular, I would like to horizontally ...
3
votes
1answer
96 views

amsmath's intertext and labeling

I have an align environement with intertext: \usepackage{amsmath,mathtools} \begin{align*} x&=f(z)\cos\alpha\\ y&=f(z)\sin\alpha \shortintertext{with} f(z)&=\ldots \end{align*} However ...
2
votes
2answers
116 views

TeX code of equations from IEEEXplore

Recently IEEE gives the TeX code for most of equations in the HTML full text view of the papers. This is very interesting for me that I can skip rewriting some long equations and use TeX code from the ...
3
votes
1answer
114 views

english number and ltr direction in xetex

I'm writing a document using xepersian and the text direction is right to left. Also I need to add formulas in the document. My problem is that all numbers in the formula are persian and if I add text ...
1
vote
1answer
227 views

Long Subequation in LaTeX

I'm using the amsmath package, in the subequations environment I have the following set of equations \begin{subequations} \begin{align} &\rho\left(u\frac{\partial u}{\partial x}+v\frac{\partial ...
3
votes
1answer
91 views

Aligned equation which can break through pages [duplicate]

I'm writing long sequences of aligned math equations, and LaTeX interprete them as single, unbreakable objects... which is Ok if the equation is nowhere near the end of the page. Q: Is there a way to ...
4
votes
2answers
2k views

On \atop again: how to obtain the same result without warning

I know this question has been already discussed but the answer does not seem to work in my case. I am using the \atop command with the amsmath package to stack two symbols (more specifically $a=x$ ...