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

learn more… | top users | synonyms

3
votes
3answers
24 views

Error with ifacconf.cls and subequations with more than twelve equations

I'm working on a paper for an IFAC conference for which you're supposed to use their ifacconf.cls, resulting in a fairly standard layout. However, you get an error when you use subequations (amsmath) ...
2
votes
0answers
40 views

too much spacing between equations and text if line before equation is full [duplicate]

I have a problem when equations appear in the text without a linebreak. It seems like an additional spacing before an equation is inserted, when the line before the equation is just full until the ...
4
votes
2answers
42 views

Not getting alignment that I want in an alignat environment

In the following display, $+ \frac{1}{4!}$ in the third line of the alignat environment should be aligned directly below $+ \frac{1}{2!}$ in the second line. Depending on the spacing in the corrected ...
1
vote
1answer
98 views

TeXworks compilation error when using ^ as a plain text

In my TeXworks (MikTeX 2.9) editor, the following file compiles correctly. But when I change sin-1(x) to sin^-1(x) the following error occurs. I thought TeXworks would treat sin^-1(x) just as a plain ...
5
votes
1answer
35 views

Underbrace overlapping text

I am trying to type the equation in the figure below. The text on the brace is long and it does not wrap around. Can you help me to solve the problem? Thanks. Equation: \documentclass{article} ...
3
votes
1answer
30 views

prevdepth related error only in case of abscence of whitespace

In the file given below, I am using macros for equations and their environment. The equations use breqn package for breaking them when the width available is not sufficient. I am getting the error ...
8
votes
1answer
66 views

How to raise the output of \genfrac?

I want to write rational numbers in mixed-numeral notation. To do so, I currently use \tfrac (AmSLaTeX): \frac{5}{4} = 1\tfrac{1}{4} But the fractional part is still too big for my taste. Therefore ...
2
votes
1answer
48 views

Monospace font in cases environment

I have this code: \[ text \begin{cases} text, text \rightarrow text\\ text \rightarrow text, text, text, text text \end{cases} \] ... \[ text \begin{cases} text text \rightarrow text, text text, ...
3
votes
4answers
179 views

“Such that” typesetting for multi-variable equation having two variables after the pipe

What if I have a multi-variable equation and I want to put two 'given that' conditions? For example, say an equation contains two variables 'x' and 'y' and I want to state its values after the pipe, ...
6
votes
1answer
61 views

Having regular text within a lemma

I want the following lemma: Given k\"ahler metric $g_{\al \overline{\be}}$ with associated Ricci curvature $ \text{Ric} =R_{\al \overline{\be}}$ the Ricci form defined by \begin{equation*} \p ...
2
votes
0answers
29 views

What is the difference between \begin{gather} and \begin{gather*}? [duplicate]

I guess the asterisk has a general meaning at that position and probably should know it, but I just can't find it in amsmath manual.
1
vote
1answer
40 views

Using background color in AMSmath

I'm using \(\frac{\colorbox{yellow}{a-b}}{c-d}\) to highlight numerator only. But (as suggested in this post) how do we use \colorbox{<color>}{\(<math content>\)} format to achieve the ...
5
votes
3answers
128 views

Split equation using alignat*

Consider the following MWE \documentclass{article} \usepackage{amsmath} \begin{document} \begin{alignat*}{2} (b_{t+1}) &:\quad & \left(\frac{\beta}{1 + \gamma}\right) ...
5
votes
1answer
71 views

How to get the straight vertical line next to derivatives?

I am trying to get this to display: My current attempt is : \begin{equation} \begin{align} \frac{\dd{x_c^{*}(t,u)}}{\dd{u}}=\gamma + \alpha \lambda \{[r(t)-x(t,0)]\\ + ...
3
votes
2answers
153 views

How to display an integral equation in LaTeX?

I want to display something like: My current attempt is : \begin{equation} Z=min E \int_{0}^{\infty} exp(-\rho t)\{ \alpha^2[r(t)-x(t)]^2+[\lambda ^ {-1}\frac{\dd{x(t)}}{\dd{t}}]^2 \} \dd{t} ...
2
votes
1answer
45 views

Spacing before parenthesis in math mode

Suppose, I have something like \overline{q}_{l m_1}'(i) \overline{q}_{l m_2}'(i) \overline{q}_{l m_3}'(i) Now, this renders to which looks rather unpleasant. How can I reduce the spaces in front ...
8
votes
1answer
44 views

How to define ReDeclareLargeMathOperator

I want alter an existing math operator by applying a macro to it. In the MWE the \ReDeclareLargeMathOperator applies the \ProcessSymbol macro which in this example changes the color of the symbol as ...
5
votes
4answers
167 views

Annoying long equations in LaTeX

I am giving up on this long and annoying equation. I tried in so many different ways to try to fit into my page, but no success so far...Any suggestions, please? How to break down this long equation ...
2
votes
1answer
45 views

Equations not properly centered when using \tag in gather* environment

Consider the following MWE: three boxes, all the same width, in a gather* environment. I expect that all boxes will be centered around the same vertical line. However, the length of the tags messes ...
4
votes
1answer
58 views

Amsmath Cases syntax

The amsmath cases environment seems to require being placed within \[...\]. What is that syntax? Amsmath documentation does not include these square brackets, yet cases won't compile without them.
0
votes
1answer
20 views

How to used aligned environment and enable equation number

How is it possible to use the aligned environment and enable equation numbering for both equations in the example below: \documentclass{article} \usepackage{amsmath} \begin{document} \begin{align} ...
3
votes
1answer
65 views

Why does whitespace above \vdots disappear in bmatrix?

While creating presentations with beamer, I have the problem described in broken matrix gaps in brackets. Using the solution proposed by Loop Space, I discovered that \vdots have an annoying ...
3
votes
2answers
68 views

write [2] next to an equation [duplicate]

I have a code that looks like this : \[\Omega_\Lambda{}_0 = 0,6911 \tag {2}\] in the pdf the (2) has round parentheses. I would like square brackets [] to figure instead : [2] Can you give me the ...
3
votes
2answers
86 views

Is there an environment similar to alignat, but embedded in a single equation?

As explained in this answer, the difference between align and alignat lies chiefly in the presence of some spacing between even and odd columns. I would like to get the same result as with alignat ...
3
votes
1answer
53 views

colored underline with vertical spacing

How can I add a vertical spacing between the underline and other items by adjusting the \colorunderline command? \documentclass[12pt,b5paper]{article} \usepackage{amsmath} \usepackage{color} ...
4
votes
1answer
31 views

Reference to longtable wrong if \numberwithin{table}{section} is activated

I've encountered something weird while using the longtable package together with \numberwithin{table}{section} or \counterwithin{table}{section}: if a longtable is the first table in a section, it ...
4
votes
1answer
26 views

Compatibility of musixtex with amsmath

I've been using musixtex and amsmath in the same document (article class) up until I today encountered the problem that whenever I type \cup for a set union, a quaver appears instead (or sometimes ...
0
votes
0answers
54 views

\hat, \tilde and \bar with beamer-package

When using \hat{}, \tilde{} and \bar{} in formulas while also using the beamer-package, instead of a bar over the sign I want to use a \Phi is drawn, and instead of a hat over the letter a \Theta is ...
1
vote
0answers
43 views

math equation tags below empheq box?

I have the following macro: \newcommand{\egan}[1] {\begin{empheq}[box=\mybox]{gather} #1 \end{empheq} } Which make a box around an gather environment. If the box is big (fills the whole ...
2
votes
1answer
54 views

Aligning amsmath and mhchem equtions

I am using the amsmath & mhchem package to get the two equations below which should be aligned properly using the \begin{align} command. However after trying several constellations of &, I ...
3
votes
2answers
188 views

latex equation is logging a "missing $ inserted. <inserted text> $

I have a big document and all was working good. I made a change into the parameters of the equation and now this is not compiling. I use XeLaTeX to compile normally. \begin{equation} ...
2
votes
1answer
49 views

Vertical space command which is between \intertext and \shortintertext

Is there a way to define a command like \notsoshortintertext with two parameters to define the vertical space before and after it? The problem I have is that \intertext is to wide on a specific page ...
2
votes
1answer
42 views

Using `\mathcal` With and Without Package

This is going to seem like a simple question. However I hope it gets answered nonetheless. So, I want to be able to use the default \mathcal font setting AND the eucal-package font setting as well. ...
3
votes
1answer
36 views

Using \textstyle with \pmod

If I'm in a displayed equation but I want the \sum symbol to appear as it does in inline formulas, I can just put \textstyle in my equation. I thought that writing \textstyle would also force \pmod to ...
1
vote
1answer
24 views

Error when using \align from amsmath

I am trying to add a block equation to my paper with an equation number 12. When I try the following in https://www.codecogs.com/latex/eqneditor.php, I get an invalid equation error. I am new to ...
2
votes
2answers
43 views

Remove indent from proof in IEEEtran

I use proof of amsmath package. With IEEEtran by default there is an indent before proof. Is there a way to remove it?
8
votes
2answers
370 views

How to make curly braces with several equations?

I am trying to type the following equations in LaTeX: What I currently have is: \documentclass{article} \usepackage{amsmath} \begin{document} \begin{align*} \left.\begin{aligned} ...
4
votes
1answer
64 views

How to disable math packages in XeLaTeX?

I'm using musixtex in xelatex, and there's a problem: command \breve is defined in musixtex and in "math mode" (is it a package "amsmath"?). So, I have a warning due compilation: LaTeX Error: ...
1
vote
1answer
52 views

Use \Updownright between two vertical expressions

I have a long equation \ldots - m \neq 0 \Leftrightarrow \ldots \neq m where \ldots is a long expression. Instead of having this on one line, can I instead format it to obtain \ldots - m \neq 0 ...
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
40 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 ...
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.
6
votes
2answers
106 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 ...
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 ...
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 ...
3
votes
1answer
66 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} ...
4
votes
2answers
54 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} \\ ...
2
votes
1answer
102 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
92 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
25 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 ...