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

learn more… | top users | synonyms

2
votes
3answers
124 views

Vspace after amsmath aligned equation gets ignored

In the following MWE: \documentclass{article} \usepackage{amsmath} \begin{document} $\begin{aligned} A &B C \\ D &E F \end{aligned}$ \\ \vspace{2in} Vspace gets ...
0
votes
0answers
28 views

Diagram of a variation of the middle third Cantor set [duplicate]

I would like to construct a diagram which is a variation of the middle third Cantor set as described by: Suppose we start off with the unit interval $[0,1]$; let us call it $A_0$. Next, remove the ...
3
votes
2answers
262 views

Multiple results for equation

How do I define a equation e.g. x +y that shall be true for e.g. <5 and >0 in one equation? I was thinking of using a large brace, but I can't find any example of how to achieve this.
1
vote
0answers
72 views

What does “\!\!” mean? [duplicate]

For example, in the mathematical notation of a quotient space given an equivalence relation \sim, the rendering of X/\sim is different from X/\!\!\sim. In the former, there is a gap between the slash ...
2
votes
1answer
294 views

Multiple \label's error in align environment

Here is the minimal not working example: \documentclass[12pt,letterpaper]{article} \usepackage{lmodern} \usepackage[T1]{fontenc} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} ...
3
votes
1answer
592 views

Is there any way to use \ceil and \floor functions, without installing the mathtools package?

I can not install the mathtools package. Is there any way to create the \ceil and \floor functions without this package?
2
votes
2answers
426 views

Wrong Math Symbols - epsilon, varrho

I'm using the AMSMATH package but I'm getting the wrong representations for the (standard) epsilon and the varrho symbols. I'm not doing anything special. \documentclass[letterpaper, 11pt, ...
2
votes
1answer
59 views

Create a copy of the subsections counter

I'm writing a mathematics paper with \documentclass{amsart}, and I would like my theorems, definitions, propositions, etc., to be numbered "like subsections", i.e., if a given theorem is the fourth in ...
4
votes
2answers
196 views

makeindex doesn't work

I have a file statuts.tex, and I would like to add indexes. Somebody says indexes belong to ams packages, so I did the following: \documentclass[12pt]{article} \usepackage{amsmath} ...
4
votes
2answers
90 views

Subsequential numeration of theorems and equations

I'm writing an essay in Latex and I want to do the following thing, which I'll explain with an example. Suppose that I have a theorem 1.1 and inside it I have to specify an equation. Is there a way in ...
3
votes
1answer
54 views

Best way to make text appear in equations

I know there are a few questions on this, but I've found conflicting ideas and just wanted to know what people thought was best. By inputting the following: \documentclass{report} ...
7
votes
1answer
115 views

Switching from equation to align changes horizontal width

I am puzzled by why changing from an equation environment to an align environment should change the horizontal width of my equation. Below I provide an example. Sorry, it is not a minimal working ...
1
vote
0answers
75 views

how do I make latex allow breaking a line whenever reaching line boundary [closed]

I started writing my HW in latex, I use an online latex editor+compiler. Sometimes, when I write long math expressions, the expressions exceed the right boundaries of the page. I've seen that it has ...
4
votes
2answers
218 views

How to get a vertical bar which is the exact size of the object?

I wish to use two vertical bars to sandwich a whole object: What I found is that (Failure 1) if I use usual \mid or \rvert or |, it is too small. (Failure 2) if I use usual \left| or ...
1
vote
2answers
76 views

{cases} does not work while amsmath package is used

I tried the following: $P_{ijt}^{bool}$: \begin{cases} 1 & \mbox{if } P_{ijt} > 0 \\ 0 & \mbox{else} \end{cases} \usepackage{amsmath} is in the beginning of the file. This should work ...
19
votes
2answers
235 views

amsmath matrix vs loading the array package

Here is an interesting interaction. Consider the example below. Whenever the array package is loaded, extra space appears on the right in the output. Any ideas as to why? ...
18
votes
5answers
23k views

Real number symbol (UTF-8: ℝ) in XeTeX

How can I get the 'real number' sign (something like \mathbb{R} with the amssymb package in LaTeX) in XeTeX?
3
votes
1answer
181 views

Lyx handling of \begin{align} and duplicate \tag with amsmath?

I am trying Lyx. I started Lyx and asked it to import this plain Latex file: \documentclass[12pt]{article}% \usepackage{amsmath} \begin{document} \begin{align} A &= B+C \tag{33}\\ D &= ...
1
vote
1answer
102 views

Elegant way to typeset labels for matrix coefficients [duplicate]

In The Econometrics of Financial Markets by Campbell, Lo and MacKinlay -- a beautifully typeset book -- I have found gorgeous cross correlation matrices of the style below. What is an elegant way ...
1
vote
3answers
340 views

How to get non italic greek symbols with ams packages?

I need to use the following packages: \documentclass[aip, apl, twocolumn, reprint]{revtex4-1} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{graphicx} ...
5
votes
2answers
801 views

Number of Equation: 1, 1a, 1b

Following Problem: I have a PDE and two boundary conditions what i actually want is: PDE (1) BC1 (1a) BC2 (1b) and what i have is: PDE (1) BC1 (2a) BC2 (2b) is there something which provides a ...
1
vote
2answers
323 views

Locally change font style from sfmath to amsmath

I am using the package sfmath. It is rather hard to explain why, but the reason should not matter for my question. If it is required I can try to explain why I need sfmath. Nevertheless, the main ...
3
votes
1answer
84 views

Change the font used by \text

The \text macro can be used to embed text fragments in math formulas. However, if one uses separate math and text fonts (e.g. because the text font does not support math), \text of course uses the ...
5
votes
2answers
114 views

To get one line of equation disregarded during the alignment process in align environment

Couldn't find any answer to this question on anywhere. I have this one particular solution in my hands, which helps only if the equation to be disregarded for alignment is the first or the last of the ...
5
votes
1answer
150 views

Nested parenthesis automatic indentation in equation

Here is some code that produces a display equation with nested parentheses indented to different depths. \documentclass{amsart} \begin{document} \begin{align*} (\exists d) &\biggl( ...
13
votes
2answers
2k views

Center one equation of many in align?

I have the following align enviroment: \documentclass[12pt]{memoir} \usepackage{amsmath} \begin{document} Here we see \begin{align} \text{cat} &= \text{dog}\\ \text{dog} &= cute ...
4
votes
1answer
81 views

Multiple subsequent connected equations exceeding line length

How to break a number of equations like in the following example? \begin{align} \lambda \cdot \lambda \cdot \lambda \cdot \lambda \cdot \lambda \cdot \lambda\\ \beta \cdot \beta \cdot \beta ...
2
votes
1answer
130 views

Standard AMS-Sum Operator using MnSymbols?

Because a professor who reads one of the lectures I attend this term writes so slowly, I typeset a lecture script for that lecture in TeX. For the use of some symbols and for better underbrace ...
5
votes
4answers
223 views

Increase row height in align* cases environment

I'm trying to use cases to present some equations with fractions, and finding that the lines are too compressed to be easily read. Is there a way to increase both the spacing between lines and the ...
1
vote
1answer
82 views

Does the align environment provided by amsmath not enter math mode?

I asked a question earlier today, where I learned that the subequations environment provided by amsmath does not enter math mode: Missing $ inserted error when using \frac inside subequations ...
5
votes
1answer
279 views

Missing $ inserted error when using \frac inside subequations environment?

Here's a MNWE (minimum not working example): \documentclass[12pt,letterpaper]{article} \usepackage{amsmath} \usepackage{amsthm} \usepackage{amsfonts} \usepackage{amssymb} \begin{document} ...
3
votes
5answers
106 views

Multi-line equation with split

I have the following problem: Obviously I want the = to be aligned and I need two lines for the equation following the third =. Also I'm not so sure whether I used the \big{[} and \big{]} commands ...
2
votes
3answers
272 views

How to define vectors when used in equation

So in short I want to have something that looks like this: So far I managed to get to the following output: with the code as follows: \documentclass[12pt, a4paper] {article} ...
2
votes
1answer
87 views

amsmath align* tampering with a counter of mine

\documentclass[a4paper]{report} \usepackage{amsmath,mathtools} \makeatletter \newcount\mw@shortcnt \mw@shortcnt=0 \newcommand{\short}[1]{% \global\advance\mw@shortcnt by +1% ...
2
votes
0answers
32 views

Correct typesetting of aligned (or multiline etc) equations after a pagebreak [duplicate]

I was writing a block of mathematical formulas using the align environment. While I was writing these aligned equations I reached a pagebreak and the whole block moved to the next page so it made me ...
0
votes
1answer
117 views

textit - undefined control sequence

I got a problem using \textit{}`. The error which occurs is "Undefined control sequence". It occurs in a formula. \texitit{P}_{int} = \int_{V^r} \textbf{\textit{P}}^{i+1} : ...
2
votes
3answers
260 views

Multi-Line Brackets

I can't seem to get the parenthesis to wrap around the RHS of the equality. I get the following error: Errors: ./review.tex:239: Extra }, or forgotten \right. [\end{split}] ./review.tex:239: Missing ...
4
votes
1answer
81 views

Amsmath double line equation alignment centered

I need an equation that consists of three parts (or one equation including 3 equations in total), it should look like this: My code for now gives me the following: So I would like to have the two ...
0
votes
1answer
66 views

Describing and referencing exercises in latex

I would be like reference the exercises have done such that it says Exercise 1 (Author [number], Chapter i, Exercise i.j ) \documentclass[a4paper, 11pt, notitlepage]{report} \usepackage{amsfonts} % ...
3
votes
1answer
46 views

Aligning Vertically Spaced Equations

This question is most likely a duplicate and trivial, but I ask nonetheless as it is causing frustration. I have written the following \begin{equation} \begin{split} \alpha_{a}\alpha_{b}+\alpha_{b} ...
2
votes
2answers
67 views

Is it possible to use \underbrace across align* environment?

I have two sets of equations in an align* environment and they are all just how I want them, but I want to draw an underbrace from the left bottom equation to the right bottom equation, but it throws ...
4
votes
1answer
5k views

What is the Latex convention for sign function?

What is the correct type for sign(x)(signum function)? I'm using: \documentclass[journal,transmag]{IEEEtran} \usepackage{amsmath} \usepackage{amssymb} \newcommand{\sign}{\text{sign}} Is that ...
2
votes
1answer
51 views

arrows with same length between spaces

I have a problem regarding code in latex. The problem is that the length of the arrows are different depending on the length of the labeling of the maps. e.g. the map {f_{x_0}} has an arrow which is ...
1
vote
0answers
57 views

Referring to a complete subequation environment. Is there a recommended style? [closed]

I have a subequations environment which is labelled and inside it I have an alignat environment which has a label for each line. Would you say it is ok to refer to the complete model as I do it in ...
8
votes
2answers
5k views

On \atop again: how to obtain the same result without warning

I know this question has been already discussed but the answer does not seem to work in my case. I am using the \atop command with the amsmath package to stack two symbols (more specifically $a=x$ ...
3
votes
1answer
143 views

What LaTeX math is not covered in the MathML specification?

Does anybody have an exhaustive list of what parts of the standard LaTeX math macros that are not covered by the MathML specification? By standard, ideally I mean the maths packages distributed with ...
5
votes
2answers
92 views

How to change the colour of a tag in align?

I'm having the following article: \documentclass{article} \usepackage{amsmath} \begin{document} \begin{align*} d(x, y) &= d(y, x) \tag{symmetry} \\ &\leq d(y, z) + d(z,x) ...
1
vote
2answers
293 views

How can I write a cursive letter k in math?

Using amsmath, writing $\ell$ produces a cursive lowercase letter l. I would like to have a reasonably matching cursive lowercase letter k, available through \kay e.g., so that I can write things ...
4
votes
2answers
346 views

How can I remove the qed symbols from all lemma proofs?

the following code will only make the qed not appear in the second proof. However, it it possible to make the qed symbol never appear at the end of the proofs without having to specify it locally ...
3
votes
3answers
664 views

Looking for stylized H-symbol

I'm wondering if LaTeX knows the following symbol (sorry for the hand-drawing, I didn't even find it online once): It's kind of a stylized H letter that is sometimes used to denote the Hilbert ...