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

learn more… | top users | synonyms

2
votes
2answers
80 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
84 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
256 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
106 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
86 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
65 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
81 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
177 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
78 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
175 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
35 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
181 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
26 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
55 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
321 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
131 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
67 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
48 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
40 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
102 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
137 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 ...
1
vote
1answer
46 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
169 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
40 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
66 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
179 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
117 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
80 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
368 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
549 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
45 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
74 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
136 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
180 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
92 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
93 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
268 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: ...
3
votes
3answers
132 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
237 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 ...
2
votes
1answer
75 views

How to reset numbering every new math block?

In a paper/document with multiple math blocks, such as align, equation etc. every new block resumes numbering from the number it was left in the previous. How can we reset the numbering, that is, how ...
6
votes
2answers
231 views

Brackets not tall enough with smallmatrix from amsmath

The following MWE shows that when I typeset a matrix using the smallmatrix environment from amsmath, and wrap it in a \left( \right), the parentheses generated are not big enough to reach the ...
1
vote
0answers
28 views

Is there any difference between math mode and text mode for numbers? [duplicate]

Take the sentence: "The answer is 42". Is there any difference between The answer is $42$. and The answer is 42. In the final PDF I cannot see any difference. Does it make a difference whether I ...
1
vote
1answer
58 views

Double subscript error in align

What's the reason for the double superscript error? \nabla = \frac{\partial}{\partial r} \hat{\textbf{\r}} + \frac{1}{r} \frac{\partial}{\partial \phi} \hat{\textbf{\phi}} + ...