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

learn more… | top users | synonyms

3
votes
1answer
52 views

Geometry and Equation centering: strange behavior

I have found a strange "bug", where my equations do not seem to be aligned correctly when using the geometry package. I try to explain this behavior in more detail using this MWE: \documentclass[ ...
4
votes
2answers
292 views

How to Make My Equation Look Better With Text

I am creating a calculus study guide with LaTeX. I want my equations to be left aligned, but with the added text everything sort of looks terrible (not really left aligned and quite jagged in my ...
4
votes
1answer
54 views

Using pgffor and line breaks inside math environments

Today I decided to try to typeset a humorous list enumerating all 7! valid iterated integrals for a 7-dimensional integral (It takes 361 pages in the version that does compile) but I'm running into ...
2
votes
1answer
39 views

Adjust variable height in formula

I want to write the following expression \documentclass[12pt, a4paper]{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[english,ngerman]{babel} ...
1
vote
1answer
60 views

Obstinate empty line between ntheorem’s break environment and an amsmath environment

I’m using ntheorem to set my proofs, using the nonumberbreak style: \documentclass{article} \usepackage{amsmath} \usepackage[amsmath]{ntheorem} \theoremstyle{nonumberbreak} \newtheorem{proof}{Proof} ...
2
votes
0answers
24 views

Does amsmath treat double dollars and `\[' `\]' delimiters differently? [duplicate]

I ran into what I think is an anomaly. I was trying to add tags to my displayed math equations in a document, and I ran into the error message Package amsmath Error: \tag not allowed here which ...
3
votes
2answers
41 views

Submatrices with in a pmatrix

I have a matrix \documentclass{standalone} \usepackage{amsmath} $ P= \begin{pmatrix} 0 & \gamma & \gamma & \gamma \\ 0 & -2\tau -\gamma & 0& 0 \end{pmatrix} $ Which looks ...
2
votes
1answer
144 views

Create a notation summary in latex?

Hi guys I'm writing a report with a lot of math symbols that I would like to collect in a single table at the beginning of the document, like some math books do. Is there a simple way to do that? ...
7
votes
2answers
482 views

Is it possible to write `\left(` `\right)` in one command?

\documentclass{amsart} \DeclarePairedDelimiter{\pr}{\left(}{\right)} \begin{document} $\pr{x,y}$ \end{document} I found the commands \left( \right) quite flexible and hence useful; but I am not ...
0
votes
0answers
14 views

\ifmmode not set for first character in align environment [duplicate]

It seems that mmode is not set for each first character in the align environment. Can anybody explain why this is? \documentclass{paper} \usepackage[utf8]{inputenc} \usepackage{amsmath} ...
2
votes
1answer
31 views

How do I leftalign with amsmath?

I use the command \begin{align*} but the left column does not align at the left side. How can I rectify this? MWE: \documentclass{article} \usepackage{amsmath} \begin{document} \begin{align*} ...
4
votes
3answers
107 views

amsmath equation identation wrong with text

I have a problem creating an equation, where I first want to write it as text and then resolve it to numbers. This is a minimal example: \documentclass[headings=small,12pt,a4paper]{scrartcl} ...
6
votes
5answers
448 views

Square version of \cdot (small black square)?

I'm looking for the symbol that's similar to \cdot in math mode, but instead of a small circle, it's a square. Like this:
0
votes
1answer
315 views

How to write equations in beamer?

I'm having errors when I try to write an equation with beamer package. The rest of the document works fine, so I'm only posting the relevant part : \documentclass{beamer} \usetheme{Dresden} ...
4
votes
1answer
75 views

Conflicts between fleqn and gathered?

I want my document formatted with fleqn. I was previously having issues with a missing equation number using gather, so following Problem with cross referencing using gather environment I switched to ...
2
votes
1answer
56 views

Combining degree and \textsubscript

Is it possible to combine \textsubscript and the \degree fonction from gensymb to get the subscript perfectly underneath the degree sign ? Here is the MWE: \documentclass[10pt,a4paper]{report} ...
18
votes
2answers
451 views

Example in which `$$…$$` gets wrong spacing

The use of \[...\] vs. $$...$$ is discussed in Why is \[ ... \] preferable to $$ ... $$? and What are the differences between $$, \[, align, equation and displaymath?. It seems like \[...\] has ...
7
votes
2answers
152 views

package clash fontspec eulervm amsmath

This minimal working example doesn't compile under lualatex on my machine: \documentclass{article} \usepackage{fontspec} \usepackage{eulervm} \usepackage{amsmath} \begin{document} foo \end{document} ...
2
votes
1answer
72 views

Problem with aligned environments in an enumerate environment

I wonder how I can take this code $\begin{enumerate} \item $\begin{aligned} \int\frac{dx}{\sin x\cos x}&=\int\frac{d(\sin x)}{\sin x(1-\sin^2 x)}\\ &=\int\left [\frac{1}{\sin ...
4
votes
3answers
103 views

Aligning an element of an Array to a bracket

I am new to writing in Latex and I'm struggling with what is probably a simple formatting issue. In essence, what I would like is for the left square bracket to be in line with the comma after -a in ...
3
votes
2answers
83 views

Separate equations on separate lines

I'm new to laTex and I've started writing my first article with it. I have a number of equations to display, and I'm stuck at the most fundamental level. All the equations that I type are displayed in ...
0
votes
1answer
111 views

“Size substitutions” with amsmath, mathabx, mathpazo

The following example gives the warning shown below: \documentclass{book} \usepackage{amsmath} \usepackage[matha]{mathabx} \usepackage{mathpazo} \begin{document} $\text{$a$}$ \end{document} LaTeX ...
9
votes
2answers
215 views

Nested amsmath environments with \newenvironment

Using the amsmath environment, I'd like to create a short-cut for \begin{equation*} \begin{split} ... \end{split} \end{equation*} But saying \newenvironment{eqs} ...
3
votes
1answer
123 views

Change color of QED symbol

I wanted to know how to change the color of the QED symbol. Here is my code where I would like the QED symbol color to be changed to my defined color: \documentclass{book} ...
1
vote
1answer
45 views

How to specify theorem styles (amsthm) should use bold equations (bm)?

From other questions on this site, I've come to the conclusion that bm is the easiest (best?) way to get bold equations. I'm using amsthm to define a problem style, but the \bfseries doesn't make the ...
3
votes
1answer
75 views

order of bm and amsmath packages, why it makes difference which is loaded first?

when I put \usepackage{bm} after \usepackage{amsmath} I get errors in the following MWE. bm has to be before amsmath to remove the errors. I thought these packages can be loaded in any order. ...
2
votes
2answers
83 views

Vertical Spacing and Alignment for Equations [closed]

How can I set the vertical spacing for all equations at once? And how can I align them to the left without use \usepackage[fleqn]{amsmath} in preambule? \documentclass[a4paper,12pt]{article} ...
2
votes
2answers
85 views

Underbraces in formula pointing to text part 2

This post is building from the post found here developed by Gonzalo Medina. How to get the same equation to behave correctly on two different pages? In my code, the under braces do not fall in the ...
13
votes
2answers
262 views

Automatically replace environment align by equation+aligned combination

I would like to automatically replace the align environment by an equation + aligned combination. Specifically, whenever \begin{align} occurs, it should automatically read it as ...
3
votes
0answers
110 views

Wrong parentheses size in \binom with xelatex and unicode-math in displaystyle

I am writing thesis, using XeLaTeX with unicode-math, documentclass is modified memoir. I need to typeset equations with binomial coefficient, however I get wrong sizes of parentheses around them. ...
2
votes
1answer
94 views

Changing ref to eqref

I have plenty of equations in my Tex which were labeled with (\ref{eqn: bla}) which I now want to change to \eqref{eqn: bla}. Is there a fast way to do this rather than manually doing it?
2
votes
1answer
70 views

Customize proof environment in AMSART (from italics to boldface)

In amsart, I used \usepackage{amsthm} \let\oldproofname=\proofname \renewcommand{\proofname}{\rm\bf{\oldproofname}} to change the Proof heading from italics to boldface. However, when I write, for ...
0
votes
1answer
59 views

Need help to format text

Hello i just started to use LaTex a couple of weeks ago and i was wonder if it is possible to make a formatting like this : Ko=1 .......................................... Kn=? ...
3
votes
1answer
85 views

Is there a way to adjust the vertical position of accent above a greek letter in math mode?

I'm trying to write phi with a wide tilde on top in order to indicate an estimate in statistics, but the tilde are by default clear above the letter, like so: I'm wondering if there is a way to ...
2
votes
0answers
37 views

cleveref vs. IEEEtrantools/IEEEeqnarray [closed]

It seems that it is not that easy to get IEEEtrantools and cleveref to work together [1,2,3,4]. My question is of a somewhat more general nature: Is it actually worth the effort? cleveref clearly is ...
3
votes
2answers
178 views

! Missing $ inserted. -or- Display should end with $$

\begin{equation} \label{observer position} \textbf{R_\textbf{n}} =\left [\frac{R_e}{\sqrt{1-(2f-f^2)sin^2 \phi_n}}+H_n\right]cos\phi_n(cos\theta_n ...
4
votes
1answer
79 views

How do I make the brackets [ ] more dark for mathematical purpose?

When a work involves the brackets [ ] for mathematical purpose, say closed intervals [a, b], I always feel that, even with Amsart, the brackets [ ] are not that clear in output. The brackets just seem ...
4
votes
2answers
179 views

Creating truth tables using over/underbrace with array environment

Using the code \documentclass{article} \usepackage{amsmath} \usepackage{array} \newcolumntype{C}{>$c<$} \begin{document} \[ \begin{array}{C|C|C|C|C|C} $p$ & $q$ & $p\land q$ & ...
2
votes
1answer
41 views

\allowdisplaybreaks and \frontmatter

Based on this discussion, Allow displaybreak only from even to odd pages I use the macro \makeatletter \everymath{% \ifodd\thepage\allowdisplaybreaks[0]% \else \allowdisplaybreaks[4]% \fi ...
6
votes
2answers
182 views

Using \left and \right in math mode, but the display is not satisfied

I intended to use \left and \right command to display large parentheses in my paper, but the output is not exactly what I wanted. The output is as can be found, the parentheses and square bracket ...
1
vote
0answers
39 views

SWI Prolog documentation generator tags environment: tag not allowed

I'm trying to generate documentation using SWI Prolog PlDoc package, but I'm running into a problem with the environment defined in pldoc.sty: \newcommand{\tag}[1]{% \item[#1]} ... % ...
3
votes
1answer
27 views

Split within align* environment

Here's what I'm trying to achieve: Here's my MWE: \documentclass{article} \usepackage{amsmath} \begin{document} \begin{align*} \displaystyle\int_{-a}^{+a}f(x)e^{-i\frac{n\pi x}{a}}\; dx = ...
2
votes
2answers
58 views

Aligning the first line of an align environment on the baseline of the last line of text preceding it

This may be bad typesetting, but I'm working with limited resources where I both want and need to conserve paper. This is not something for publication, so the standards for a math paper need not ...
0
votes
1answer
350 views

Symbol for set of all polynomials of certain degree [duplicate]

The symbol I am looking for is something like a curvy P, where P_n(F) represents the set of all polynomials with coefficients in F and degree equal to or less than n. Any suggestions?
4
votes
2answers
142 views

How to place amsmath equations at top of page ignoring \topskip?

I need every amsmath equation to place at the top of the page. So I use \noindent to do that. Everything is fine except equation+split environment. Than formula is placed a bit higher (by ...
1
vote
1answer
68 views

Underbraces in formula pointing to text

In the MWE below, I wanted to get the formula to show up with underbraces and lines pointing to the text like this: Here is my code: \documentclass{book} ...
4
votes
1answer
52 views

Using amsmath, ntheorem and autonum together cause an overfull hbox

I'm trying to use the combination of amsmath + ntheorem + autonum with the thmmarks option enabled. This causes a bug. The minimal case to reproduce is \documentclass{article} \usepackage{amsmath} ...
1
vote
0answers
40 views

why should equation be preferred to gather for single-line equations? [duplicate]

There are numerous questions/answers on which equation-type environment to use under which circumstances. For a single-line equation, various people have expressed a preference of equation over ...
3
votes
0answers
36 views

brackets in equation environment (XeLaTeX) [duplicate]

I have some work to do in XeLaTeX, What's wrong with my code ? What's I get : Any advice? My MWE \documentclass{article} \usepackage{amsmath} \usepackage[framemethod=default]{mdframed} ...
2
votes
1answer
41 views

Moving the Labelling of an arrow up / Math mode

I have labelled an arrow and would like to steer the height of the labbeling. $\stackrel{ number one}{\Leftrightarrow}$ produces an arrow that is located very close to the labelling. Moving it ...