# Tagged Questions

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

188 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, ...
66 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 (X,Y)...
30 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.
63 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 ...
213 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) E_{t}\left\{\...
100 views

### How to get the straight vertical line next to derivatives?

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

### How to display an integral equation in LaTeX?

I want to display something like: My current attempt is : 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} \end{...
62 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 ...
50 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 ...
195 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 ...
53 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 ...
98 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.
29 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} \...
117 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 ...
74 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 ...
102 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 (...
56 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} \...
69 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 ...
31 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 ...
112 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 ...
66 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 \textwidth)...
65 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 ...
353 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. ...
130 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 ...
126 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. ...
43 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 ...
29 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 ...
76 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?
401 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} \dfrac{C}{V}=\sin\...
107 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: ...
68 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 \...
62 views

### Spoilers in Web-Accessible Pdf Documents? [closed]

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 ...
127 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 ...
182 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.
173 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 ...
56 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 ...
22 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 ...
84 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} \usepackage{...
92 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: \label{xput_vc} Throughput_{VC} = \begin{array}{cc} 1 & N_{VC} \leq N_{slave} \\ \...
143 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{aligned} a=&b\times ...
116 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}= \...
34 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 ...
177 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} = \left(\sqrt{13}-2-\...
131 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 ...
363 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 ...
51 views

### Use upright font (no italics) with svjour3 (springer)

I cannot find how to do that automatically for all the theorems in my latex document with the class svjour3 (provided by Springer). I use amsmath too in my document.
186 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 ...
60 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 ...