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

learn more… | top users | synonyms

15
votes
3answers
5k views

Why doesn't lineno number a paragraph when it is followed by an “align” equation environment without a space?

lineno skips the line numbering in this case: \documentclass[12pt]{article} \usepackage{amsmath} \usepackage{lineno} \linenumbers \begin{document} Lorem ipsum dolor sit amet, consectetur adipiscing ...
2
votes
0answers
51 views

Spoilers in Web-Accessible Pdf Documents?

A highly regarded professor of mine is currently writing a graduate mathematics textbook in which he has given the book a theme of ``do it yourself'' mathematics. He has asked me to review the book ...
2
votes
1answer
39 views

Theorem environment with a line break after label and before an enumerate environment

What I want to achieve is very similar to this question, but the solution offered seems not to work in precisely the cases I need it to work! I'm placing enumerate and itemize environments inside a ...
6
votes
2answers
101 views

vertical spacing in nested fraction

I have complicated math expression: Vertical spacing between text and fraction line is too small. I tried to define new \frac command (with amsmath package) with adjustable vertical spaces. As you ...
4
votes
2answers
84 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 ...
2
votes
2answers
179 views

How to add a massive bar on the letters?

At the moment I have an output with \bar{...} command as and I want something that extends over the entire term preferably without redefining the original command.
1
vote
1answer
41 views

Alignment within the equation environment

This is the state of affairs: The goal is to horizontally center the symbols over their expressions within an equation environment. So A is centered over the first matrix, x centered over the first ...
3
votes
1answer
63 views

EB Garamond and amsmath \text

On my system (OSX 10.10.5; LuaTeX, Version beta-0.80.0 (TeX Live 2015); LaTeX2e <2015/10/01> patch level 2) I run the following MWE: \documentclass{article} \usepackage{fontspec} ...
0
votes
0answers
21 views

How to typset $:\iff$ (logical equivalence)? [duplicate]

How shall I typeset ":<=>" in Latex which means "is logical equivalent"? After typing A :\iff B I get Comparing it with A \coloneqq B (cf. How to typeset $:=$ correctly? ): We see that there ...
4
votes
2answers
53 views

How do I change font in array environment inside an equation?

I have the following code to define a piece-wise equation as shown in the following figure: \begin{equation} \label{xput_vc} Throughput_{VC} = \begin{array}{cc} 1 & N_{VC} \leq N_{slave} \\ ...
23
votes
2answers
5k views

mathtools vs amsmath

I read on http://en.wikibooks.org/wiki/LaTeX/Mathematics: The mathtools package fixes some amsmath quirks and adds some useful settings, symbols, and environments to amsmath. It sounds like ...
2
votes
1answer
99 views

Horizontal space after =& in aligned environment is too small compared to &=

I ran into a very odd problem, which is illustrated in the following code sample: \documentclass{scrartcl} \usepackage{amsmath} \begin{document} \begin{equation} \begin{aligned} a=&b\times ...
6
votes
1answer
90 views

pmatrix not rendering correctly — possibly a wileySix problem

Original post below A couple of people asked for a whole document: \documentclass{wileySix} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \begin{document} \[ \mathbf{y}= ...
0
votes
1answer
24 views

LaTeX package for Stackrel without AMSTeX

The section 2.1 of this Wikibook chapter on LaTex states: Without AmsTex the same result of \overset can be obtained with \stackrel. But I've not been able to use Stackrel without amsmath package. Is ...
0
votes
1answer
70 views

Absolute value size! (\lvert doesn't scale) [duplicate]

Everyone seems to ask about this and the usual solution seems to be to use \lvert and \rvert with the amsmath package, but that doesn't work for me either. example: f_{3,2} = ...
5
votes
3answers
165 views

Order of words disturbed by using polyglossia with rtl language?

When having \setotherlanguage{hebrew} active, then even in an english environment it reverses the order of words in a \text{} and scrambles the labels for equations. Here is a minimal working example ...
15
votes
2answers
394 views

Strange behaviour of binomial coefficient's delimiters

This question led to a new package: fixcmex While writing down my Combinatorics exercises I found that the binomial coefficient's delimiters weren't displayed as indicated inside the amsmath ...
5
votes
1answer
116 views

How can I redefine \int to put a negative space after the integral sign, but keep the limits properly set?

I'd like to modify the \int command such that it adds an automatic negative space, e.g. \! after the integral sign. Preferentially, I'd like to be able to not edit any of my code, so cleverly ...
4
votes
1answer
84 views

Impossible to overwrite a dot in subsection title

I am using a class from EMS (European Math. Society), which is largely based on amsart.cls but which has a specific line saying (so I read in the comments) that they redefine sub(sub)section(*) so ...
3
votes
3answers
162 views

Using \cal font in LateX2e. Is it possible?

I've been searching far and wide to try and find a solution to this but no luck yet - I have to create a table which looks similar to this but with a few changes: and I was told the source uses ...
4
votes
1answer
40 views

Is renaming \dots as \ellipsis or \etc semantic overkill?

In the Wikibook about LaTeX's section on dots, it's suggested that "Instead of using \ldots and \cdots, you should use the semantically oriented commands." The author then goes on to list amsmath's ...
4
votes
2answers
7k views

Help me input a column vector

I'm trying to input an arrow vector (a column vector, see the picture) in an align environment, but it reports an error. Can someone show me the TeX code of it in an align environment?
3
votes
2answers
55 views

pmatrix with \left( \frac \right)

The following MWE results in the Matrix shown in the picture. I would like the braces of the cos- and sin-functions in the first column not to touch each other. How can I achieve that? ...
3
votes
1answer
46 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
256 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
47 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
34 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} ...
2
votes
0answers
18 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 ...
6
votes
1answer
214 views

Standard for typesetting mathematical objects other than variables

Is there a standard in mathematics for typesetting the textual (not symbolic) identifiers of mathematical objects other than variables? Textual identifiers of mathematical objects other than ...
3
votes
2answers
31 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 ...
5
votes
3answers
786 views

Any way to change color of \not

I often use command \not just to cancel off symbols in my equations and i would need an advice on how to change the color of this command.
2
votes
1answer
96 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? ...
5
votes
2answers
230 views

About \def\b*{\begin{align*}}

I want to make the code shorter. I defined the following pair of macros: \def\b*{\begin{align*}} \def\e*{\end{align*}} My point is that I saw this is a document, with \def\b*{\begin{eqnarray*}} ...
7
votes
2answers
470 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
93 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} ...
13
votes
1answer
4k views

How can I write multi line equations with alignment in inline math mode?

Is there any way to override the fact that certain environments in LaTeX are automatically "displayed"? One such example is the align* environment. I want to keep my aligned equations inline. So ...
6
votes
5answers
319 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
159 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
57 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
42 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
448 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
111 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} ...
4
votes
3answers
86 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 ...
2
votes
1answer
60 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 ...
3
votes
2answers
77 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 ...
9
votes
2answers
162 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} ...
2
votes
2answers
67 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} ...
3
votes
1answer
99 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} ...