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

learn more… | top users | synonyms

4
votes
2answers
801 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 ...
5
votes
3answers
103 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
83 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
439 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
176 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
87 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
79 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
91 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} ...
2
votes
2answers
409 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
129 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
95 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} ...
8
votes
2answers
186 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 ...
3
votes
0answers
160 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 ...
2
votes
1answer
76 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 ...
2
votes
1answer
132 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?
5
votes
3answers
105 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
137 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
120 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
124 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 ...
2
votes
2answers
110 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 ...
0
votes
1answer
172 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 ...
4
votes
3answers
104 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
548 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
59 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 + ...
30
votes
5answers
11k views

A MiKTeX update removed amsmath as obsolete – can I use another package or get it back?

I have a problem with amsmath package. After an update this package was removed because it was obsolete. But what package can use instead of amsmath?
2
votes
1answer
101 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
430 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 ...
5
votes
0answers
361 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 ...
9
votes
2answers
2k views

A medium dot in math mode

Is there a nice way to produce a medium-sized dot to use in a formula like this: $x_{i\cdot} = \sum_{j} x_{ij}$ The \cdot is not very visible.
6
votes
2answers
209 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
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} ...
15
votes
2answers
3k views

How do I do a one-shot MathOperator?

The amsmath packages helpfully define a macro \DeclareMathOperator which does what it says on the tin: it declares a mathematical operator such as \sin or \Null or whatever and typesets it all nice ...
16
votes
2answers
745 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
6
votes
3answers
226 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
177 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 ...
4
votes
3answers
99 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} ...
6
votes
1answer
259 views

Clickable hyperlink with \overset and XeLaTeX

I would like my document to have clickable hyperlinks inside \overset environments. I'm using XeLaTeX because of the fonts… This is a (rather) minimal example: \documentclass[a4paper, 12pt]{article} ...
8
votes
2answers
153 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} ...
4
votes
1answer
229 views

Underlining fractions

I need to be able to underline equations involving fractions, which are aligned using the alignedat environment from amsmath. To be able to underline at all, I'm using the solution from this question ...
1
vote
1answer
2k 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
101 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 ...
8
votes
4answers
362 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 ...
3
votes
1answer
84 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 ...
3
votes
1answer
93 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 ...
8
votes
1answer
143 views

Adaptively sized delimiters that don't go beyond the size of \bigl and \bigr

I would like adaptively sized delimiters, but only up to \bigl/\bigr-size. That is, there is variation only between ordinary/normal size and one size higher. \documentclass{article} ...
1
vote
1answer
142 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
78 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
944 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$ ...
1
vote
1answer
875 views

Undefined control sequence for equation

I am running into the error message !Undefined control sequence with the below explanation and can't figure out what I'm doing wrong. I am using Mactex and Texmaker. I am new to LaTeX and would really ...
1
vote
3answers
131 views

Equation line break up

\documentclass[12pt,a4paper]{article} \usepackage{amsmath}\usepackage{amssymb} \textwidth=16.5cm \oddsidemargin=-0.10cm \evensidemargin=-0.10cm \topmargin=-1.0cm \textheight=24.5cm ...