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

learn more… | top users | synonyms

1
vote
0answers
64 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)...
2
votes
1answer
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 ...
3
votes
2answers
324 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
116 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
86 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
42 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
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 ...
2
votes
2answers
69 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
396 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\...
5
votes
1answer
102 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
66 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
60 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 ...
2
votes
1answer
109 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
181 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
160 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
53 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
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 ...
3
votes
1answer
83 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{...
4
votes
2answers
83 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
136 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
112 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
32 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
160 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-\...
4
votes
1answer
123 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
324 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 ...
0
votes
1answer
44 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.
5
votes
3answers
184 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 ...
4
votes
1answer
57 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 ...
3
votes
2answers
70 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
53 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
300 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
55 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
40 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} ...
1
vote
1answer
61 views

Obstinate empty line between ntheorem’s break environment and an amsmath environment

I’m using ntheorem to set my proofs, using the nonumberbreak style: \documentclass{article} \usepackage{amsmath} \usepackage[amsmath]{ntheorem} \theoremstyle{nonumberbreak} \newtheorem{proof}{Proof} ...
2
votes
0answers
25 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 ...
3
votes
2answers
42 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 ...
2
votes
1answer
154 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? ...
7
votes
2answers
484 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*} Pro^...
4
votes
3answers
107 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} \...
6
votes
5answers
508 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
364 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
75 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
59 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
452 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
158 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} ...
2
votes
1answer
73 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 x}-\...
4
votes
3answers
105 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 ...
3
votes
2answers
85 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 ...