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

learn more… | top users | synonyms

9
votes
2answers
229 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} {\begin{equation*}\begin{...
3
votes
1answer
133 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} \usepackage{amsmath,...
1
vote
1answer
49 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
77 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
88 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
87 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
272 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 \begin{equation}\begin{...
3
votes
0answers
119 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
104 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
79 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
89 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
41 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
187 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 \hat{\textbf{I}}+sin\theta_n\hat{\textbf{J}})+\left[\...
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
194 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$ & $\...
3
votes
1answer
47 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 }...
7
votes
2answers
187 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
41 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]} ... % \begin{...
3
votes
1answer
28 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 = \sum_{n=-...
2
votes
2answers
61 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
391 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
154 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 \vskip-\...
1
vote
1answer
74 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} \usepackage{amsmath,amsfonts,amssymb,...
4
votes
1answer
55 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
41 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} \usepackage{...
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 ...
3
votes
2answers
116 views

Equation overlapping with body text

In the MWE below, my equation is clashing with the text of the body of the document and also the header. How can I get the equation to not clash/overlap with the document text? Here is my code: \...
10
votes
3answers
145 views

How to get limits aligned?

Assume the following MWE/Screenshot. How to get the "limits" x and y correctly vertically aligned? I tried already: \mathstrut and \vphantom{g} as discussed in How to align limits of double integrals?...
1
vote
1answer
48 views

Foonotes in multlined equations inside minipages

I am having the exact same problem as describe in this question. Unfortunately, however, the solutions listed there do not seem to work for the multlined environment as well. A MWE is the following. ...
6
votes
1answer
180 views

Nested Mathematical Functions

This question has bugged me for a while. I want to write a nested function, f(g(x)). If I naively enter it: \begin{align} f(g(x))=y \end{align} The problem is that each and every parenthesis ...
2
votes
1answer
41 views

Why does using \DOTSM in macro definitions cause an error?

I currently have the code \documentclass{article} \usepackage{amsmath} \newcommand*{\dotprod}{\DOTSM\cdot} \begin{document} $a\dotprod b$ \end{document} but when I try to compile it, I get the ...
2
votes
2answers
73 views

Redefining \pmb for nicer results

I want to use suetterlin font as a math alphabet (in a bold and medium version). This is how far I got (without any manual font conversions....) \documentclass[convert={density=10000}]{standalone} \...
7
votes
2answers
182 views

How can I make amsmath's \dots look ahead after macro expansion?

As explained by egreg, "amsmath redefines \dots so that it can do a lookahead in order to establish what kind of dots to use." However, I noticed that this feature of \dots doesn't work when I define ...
5
votes
2answers
127 views

Typesetting inline row vector

I have (another) question on typesetting inline row vectors. I'm using amsmath and mathtools. I'm aware of the smallmatrix environment. Unfortunately, the elements of the vector get scaled. This ...
7
votes
2answers
205 views

How to assign a single equation number/label to *n* equations?

I want to label \begin{align*} x\equiv & x_1(\text{mod } m_1)\\ x\equiv & x_2(\text{mod } m_2)\\ .\\ .\\ .\\ x\equiv & x_n(\text{mod } m_n) \end{align*} as one set of equations. How to ...
2
votes
2answers
89 views

Issue with displaying unit vectors

I am using the following command to display unit vectors for my report: \newcommand{\ihat}{\boldsymbol{\hat{\textbf{\i}}}} \newcommand{\jhat}{\boldsymbol{\hat{\textbf{\j}}}} This is my result: ...
5
votes
2answers
460 views

Vertical space in bmatrix

I have matrices with dense expressions in them and I'd like to loosen the matrix brackets a little. I'd like to be able to control the horizontal distance from bracket to first letter (both sides) and ...
6
votes
2answers
661 views

Ignore Greek letters using `\mathcal`

I want to define various styles using commands, so that I can globally change them later if necessary. For example I want all sets to written using \mathcal{...}. This worked until I needed to use a ...
2
votes
2answers
46 views

Reducing space between for some of the equations

I need to display a few equations as below The code I have written is :- \documentclass{report} \usepackage{amsmath} \begin{document} \begin{equation} \label{Equ. 3.9} x_{i+1}=\cos(a_i) \cdot [...
2
votes
1answer
75 views

`:` is set to `\colon`, but the spacing is still wrong - part 2

This question explains how to make : behave as \colon. It has two solutions. The present question concerns the second, less upvoted solution, egreg solution, as in this question of mine, it turned out ...
3
votes
2answers
162 views

\operatorname in amsmath: polish diacritic letters “ł” and “Ł” are not rendered

I am attempting to use a mathematical operator (by amsmath package) which would use the polish letter "ł" or "Ł" (defined either directly as a UTF-8 character or via the \l{}, \L{} commands). ...
3
votes
2answers
204 views

How can I make \eqrefs clickable?

I have modified the \eqref macro like this \let\originaleqref\eqref \renewcommand{\eqref}{equation~\originaleqref} as per this answer. I want to have the reference be typeset like equation x or ...
0
votes
3answers
101 views

How to display the word “AMS-LaTeX” in LaTeX? [duplicate]

How do I display the word "AMS-LaTeX" properly in LaTeX like in the image below? Is there a command for the "AMS" part similar to \LaTeX?
3
votes
1answer
97 views

gather: number each equations, even in a single line

My question is really similar to "How to place and number 3 short equations in one line?", except that I have more than one line of equations. So basically, I'd like to continue using {gather}, but ...
2
votes
1answer
278 views

How to horizontal/vertical combine two math symbols?

This is an absolutely minor/cosmetic problem. I can e.g. use stackrel so combine two math-symbols vertically. This is nice for \stackrel{!}{=}. But how to do this horizontally? I want to combine (only ...
0
votes
0answers
35 views

Character with indexes on every corner [duplicate]

I want to write characters in latex with indexes in every corner. For example to write a transformationmatrix from the basis B to the basis B' i need smth like this: https://de.wikipedia.org/wiki/...
3
votes
3answers
147 views

Amsmath equation align last line to the right

I'm trying to obtain something similar to: with the following code, using amsmath package: \begin{equation} \begin{split} Q_\nu(a,b) &= \frac{1}{2}\mathrm{erfc}\left ( \frac{b+a}{\sqrt2} \right ...
2
votes
1answer
307 views

How can I typeset this equation (standard model of physics)? [duplicate]

So, there's this picture Floating around on the internet for the standard model of physics in a relatively short form. I want to typeset this in LaTeX in order to print it. However, I can't find a ...