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

learn more… | top users | synonyms

2
votes
1answer
106 views

Spacing between equation and text inconsistent due to large equations

I've read through answers to similar question but I still have the same problem. Essentially, I have some large equations and they are in the form \documentclass{article} \usepackage{amsmath} ...
0
votes
0answers
53 views

Using split to break a long equation

I am trying to break a long equation over multiple lines. It is here as follows: \begin{equation} \begin{split} L(\textbf{q})=&\prod_{t=0}^{36}{q_{1}^{iB(t)sB(t+1)+iC(t)sC(t+1)}\\ &\quad\cdot ...
3
votes
1answer
70 views

Text inside Math

I tried doing this: \usepackage{amsmath} $x^2 \text{something} y^2$ but that just came out like: x^2somethingy^2 Anyone know how to fix this issue? I need to have text inside my math ...
3
votes
1answer
92 views

Emulating amsmath's \varGamma…\varOmega with unicode-math

While recompiling old documents with XeLaTeX and unicode-math I have run into the two problems: The amsmath \varGamma...\varOmega macros for slanted uppercase Greek math characters are not defined. ...
0
votes
0answers
118 views

\text{} command does not work [closed]

Text displaying command \text{} in the math mode does not work, although the package amsmath is used (\usepackage{amsmath}). Why? The command \mathrm{} works well. Is there any package or command ...
-1
votes
1answer
106 views

Vector Notation in optimization problems [closed]

I am typing optimization problems in latex. Half of the variables are vectors. First I used bold to mention vectors, but it looked ugly. Now I am using $\mathbbmss{p}$ but I am not sure if this looks ...
2
votes
5answers
267 views

Real numbers symbol in XeTeX

How can I get the 'real number' sign (something like \mathbb{R} with the amssymb package in LaTeX) in XeTeX?
1
vote
0answers
33 views

split problem between \left( and \right) [duplicate]

I have this equation, and strangely enough I can not split the equation from somewhere in between \left( and \right) If I use the \\ to split the equation after \right) then it works, I did not really ...
6
votes
1answer
107 views

Integral limits with amsmath in LuaLaTeX

Also reading the thread about Making integral ∫ use \limits by default with unicode-math I'm not quite happy with the solution. With pdfLaTeX I use the code \documentclass{article} ...
4
votes
1answer
133 views

Multiple labels in aligned environment

I would like to format an optimization problem by \documentclass{article} \usepackage{amsmath} \begin{document} We want to label each line separately. The inserted text and formulas have to be ...
6
votes
1answer
132 views

“Extra \fi” errors in equation environment with savetrees

I get the Extra \fi error for the \end{equation} line in the following code. \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{savetrees} \usepackage{amsmath} \begin{document} ...
1
vote
1answer
53 views

change tag position in amsmath and xy-package

I use the amsmath-package and xy. Now I have a formulae like this \[ \label{eq-name} \tag{$\ast$} \xymatrix{ & A & B & C \\ D & & E & & F \\ & G & & H } \] ...
7
votes
1answer
115 views

Why do math operators not behave like normal control sequences?

From my experience, most control sequences function as an implicit group, for example g^\textrm{th}. However, if we look at the example below, the first line throws an error while the second line ...
11
votes
2answers
111 views

Manually controlled size of delimiters in macros

I am using the amsmath package and I'd like to control the size of my delimiters manually, i.e. using the \bigl, \Bigl, ... , \Bigr, \bigr commands, instead of \left, \middle, \right. Now I want to ...
6
votes
4answers
135 views

Centering equations within alignat command

I want to centre the formula inside the equals. So far I have \begin{alignat*}{2} v_2(16)&=\frac{2}{5}[v_3(32)+v_3(8)] &&= 0, \\ v_2(4)&=\frac{2}{5}[v_3(8)+v_3(2)] &&= ...
4
votes
1answer
96 views

Naming equations with breqn

I know that the tag command from amsmath should be used to name equations (see below a mwe). \documentclass{article} \usepackage{amsmath} \begin{document} \begin{align} c^2 &= a^2 + b^2 ...
5
votes
1answer
63 views

But why are the two sets of absolute parentheses different sizes?

Silly question maybe - but why are the two sets of absolute different sizes? Is there an easy way to set the size locally - or globally? \documentclass{article} \usepackage{amsmath} ...
5
votes
2answers
159 views

Writing math formula

Currently I'm having to write something like: I'm writing "q" in the denominator as |\vec{q}| using the "pipe"; is it the proper way to do it?
2
votes
1answer
278 views

How to fix this amsmath warning about redefining \vec

I am using the pss(b) template, which starts with, \documentclass[pss]{wiley2sp} % provides pss two-column style \usepackage{amsmath} %\usepackage{bm} % uncomment these two packages if ...
4
votes
1answer
65 views

Breqn and amsmath intlimits option clash

When the intlimits option of the amsmath package is set along with breqn package, the subscripts and superscripts of integral symbols are not placed above and below in displayed equations as they ...
23
votes
1answer
212 views

Please explain a strange interaction between bytefield, unicode-math, and mathtools

bytefield gives me different results when used in association with mathtools and unicode-math when used together. Here's my 'good' MWE: % !TEX TS-program = XeLaTeX \documentclass[a4paper]{article} ...
3
votes
1answer
200 views

Using `\allowdisplaybreaks` locally for a single chapter / single equation

I do have a longer paper. In one chapter I got several multiline equations, which I wrote using the align environment from amsmath-package. Actually those are quite long computations which should ...
8
votes
3answers
151 views

\qed or \qedhere at the end of split environment

While I was trying to improve my latest document with respect to its \qed symbols at the end of amsthm's proof environment i came across an interesting point. Assume the proof ends with some formula, ...
2
votes
2answers
84 views

Problem with cross referencing using gather environment

I am using gather environment to write bunch of equations. When I try to cross-reference those equations, the equation number doesn't show up. Here is my code \documentclass[12 pt]{article} ...
2
votes
1answer
65 views

Enforcing baseline alignment for multiple overbraces in math mode

What is the easiest way to vertically align overbraces in math? In the following example... \documentclass{article} \usepackage{amsmath} \begin{document} \begin{math} *(m, n) = (\overbrace{n - ...
4
votes
1answer
92 views

Amsart: footnote for the author

Assume the following code: \usepackage{amssymb} \usepackage{graphicx} % if you want to include graphics files \usepackage{amsmath} \usepackage{amsthm}\begin{document} ...
4
votes
2answers
73 views

Spacing numbers in two equations equally

I have this weird requirement, to align two sets of numbers, one under another, in groups of three. Here is how it should look: I tried the following: \begin{align*} x_F &= 1.368 &808 ...
1
vote
1answer
62 views

alignat not correctly aligning

I have the following code: \begin{alignat}{4} \sum_{r}\sum_{p} & X_{i,m,r,p} & = d_m \quad & \forall i, m\\ \sum_{q=0}^{d_{m}-1} & X_{i,m,r,(p+q)} ...
6
votes
1answer
118 views

amsmath “\substack”-command in section title

I do use the \substack-command in text for creating a small (2,1)-Vector. Unfortunately it does not work in the title of a section. Here a minimal example, which does not work: ...
2
votes
1answer
85 views

Showing labels for equations with eqnarray

I am using \usepackage{showlabels} to show the labels in the pdf-file but it turns out that I only see the labels coming from align or equation environment and not the ones from eqnarray. Why? I ...
4
votes
1answer
118 views

Equations inside tabular environment, no vertical spacing

I have a problem with the spacing of my equations. According to this http://tex.stackexchange.com/a/50348/15360 booktabs one should rarely have to regulate the spacing. But the result of the code ...
9
votes
2answers
118 views

Compute remaining horizontal space in align environment

I use align* often and sometimes it is preferable to add text to the right hand side of an equation instead of using \intertext, or \shortintertext, which tends to interrupt the math flow. This is ...
3
votes
3answers
155 views

Resize CD output from amscd

I am using the package amscd to make commutative diagrams, with CD environment and I want to know how can I change the size of the result (especially make it bigger). I try this \[ ...
5
votes
1answer
149 views

Checkmark error in amsmath [duplicate]

This page says that amsmath supports the \checkmark symbol. However, when I try to implement this \documentclass[12pt]{article} \usepackage{amsmath} \begin{document} $\checkmark$ \end{document} ...
2
votes
1answer
127 views

amsmath split environment results in error “Missing } inserted.”

The following compiles fine, but outputs a pdf with a line too long. \documentclass{article} \usepackage{amsmath} \def\group#1{\left ( #1 \right )} \begin{document} $$ %\begin{split} \group{\neg ...
5
votes
2answers
135 views

What is wrong with the following definition?

I'm trying to define two commands \bal and \eal instead of inserting \begin{align} and \end{align} in my document, but in the code below, I'll get some errors. What is wrong with it? ...
5
votes
0answers
100 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} ...
1
vote
1answer
88 views

Making the entries of bordermatrix smaller

How do I make the entries in bordermatrix smaller? \documentclass[reqno]{amsart} \usepackage{amssymb} \usepackage{mathrsfs} \usepackage{amsmath} \usepackage{amsthm} \usepackage{stackrel} ...
0
votes
1answer
74 views

Type of file to select for writing Math Thesis if I use latex from Kile

if I write a math. thesis using latex from Kile, then, while opening a new file in Kile, what is the option should I choose: article/book/report? Thank you!
5
votes
1answer
105 views

Styling definitions

In the current paper I am writing I make an extensive use of definitions, therefore I've added the amsthm package to my document and I've defined a new command: \newtheorem{definition}{Definition} ...
27
votes
2answers
305 views

Why is there a \, space at the beginning of the “aligned” environment?

Near the beginning of the definition of the amsmath environments aligned and gathered (and also mathtools' multlined) there's an explicit thin space \,. This often has to be cancelled with \!, as ...
2
votes
2answers
103 views

Aligned multline

I want to show the derivation of a formula where I encounter long formulae. Unfortunately the derivation is very complex, so I have to show some intermediate steps. My problem is, that I want to mix ...
3
votes
1answer
52 views

Error with dcases*

I'm using LaTeX to write up my math notes and have been fairly successful implementing most of the styles I'm trying to figure out. I seem to be having trouble with the environment dcases* though. ...
1
vote
1answer
75 views

Problem with text mode in \substack

I have defined a differential command in this way \let\underdot\d \renewcommand{\d}{\ifmmode\mathop{}\!\mathrm{d}\else\expandafter\underdot\fi} so that I don't loose the text accent (I don't know ...
1
vote
1answer
163 views

Equation numbering problem, `alignat`

When using the alignat environment I encounter a strange equation numbering problem. It's rather hard to describe, but here is an MWE. I describe the output below. \documentclass[]{memoir} ...
0
votes
1answer
69 views

Expansion of single line vs multiple line gather

As described in Multiple split equations I want to create an equation environment that inserts aligned and lets me split equations with \n. The solution I found there is a bit hackish I guess, but ...
1
vote
1answer
252 views

Package or command for inverse hyperbolic trig functions?

What are the commands for all the: inverse trig functions (arcsec(x), arcCsc(x), arcCot(x)); hyperbolic trig functions (sech(x) and csch(x)), and inverse hyperbolic trig functions?
2
votes
2answers
150 views

Line spacing with inline formula including fraction

I have a fraction in an inline formula as can be seen in the picture. \dfrac from the amsmath package was used. (This is article class with 14pts and linespread 0.9.) Though the space between the ...
4
votes
1answer
99 views

Nicely formatted 'where' statement for Maths [duplicate]

Is there any way to accomplish this nicely in latex: See how there is a 'where' clause afterwards that specifies what all of the variables represent? Is there a nice way of typesetting that inside ...
23
votes
5answers
4k 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?

1 2 3 4 5 11