Tagged Questions

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

learn more… | top users | synonyms

0
votes
1answer
31 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
164 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 ...
9
votes
1answer
45 views

amsmath matrix vs loading the array package

Here is an interesting interaction. Consider the example below. When ever the array package is loaded, extra space appears on the right in the output. Any ideas as to why? ...
1
vote
1answer
72 views

Tag placing with amsmath

I'm using amsmath and its \tag command to tag equations. I remember having a situation where I liked having the tag on the left better than on the right. So I gave my class (which is report btw) the ...
1
vote
3answers
91 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 ...
3
votes
3answers
53 views

Center the second line of an equation

How do I get the following output? f a b c = <centered definition of f> g a b c d = <centered definition of g> These are definition of functions, but the bodies are big; I would ...
0
votes
1answer
39 views

Getting items above and below a compound math symbol

I'm trying to get information to appear above and below a math symbol such as \sum or \leftrightarrows. I've found information detailing \mathop and the syntax behind it but when I try to use it, it ...
1
vote
2answers
69 views

Different horizontal (!) spacing of delimiters with `\left`, `\bigl`, `\Bigl`,

I use \arrowvert as a middle delimiter. For example in the definition of sets, i.e. \lbrace x \arrowvert x < a \rbrace. Moreover, I try to avoid \left, \right and \middle but use the AMSmath macros ...
1
vote
1answer
28 views

ams math + AUCTeX + refTeX causing label references to always be \eqref not the desired \vref

As stated on the reftex documentation “Note that this is automatically done by the ‘amsmath.el’ style file of AUCTEX, see Section 7.8.2, page 38 – so if you use AUCTEX, this configuration will not be ...
1
vote
0answers
39 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 ...
1
vote
1answer
84 views

Incomplete \iffalse error in AMS alignment

MWE: \documentclass[a4paper]{report} \usepackage{amsmath,xparse} \makeatletter \newif\ifinvd@lims\invd@limsfalse \newif\iflr\lrfalse \ExplSyntaxOn \newcommand{\delim}[3][lr]{ \begingroup ...
4
votes
1answer
53 views

Font size inside subequations environment!

How I can change the font size inside the subequations environment? See below: \begin{equation} \textstyle \xi_{1} = A + B + C; \end{equation} The command \textstyle works fine inside the ...
4
votes
1answer
46 views

Incorrect reference when combining amsmath, hyperref, and \tag

In the following MWE, I receive a warning and a reference points to the wrong element. \documentclass{article} \usepackage{hyperref} \usepackage{amsmath} \begin{document} \begin{equation} ...
4
votes
3answers
99 views

Why does \label not work in math mode when using [fleqn] with amsmath?

Try the following \documentclass[11pt]{article} \usepackage[fleqn]{amsmath} \begin{document} \newcounter{eqnthing}\setcounter{eqnthing}{0} \[a+b=c\refstepcounter{eqnthing}\label{maththing}\] \par ...
2
votes
1answer
35 views

Two column equation block with vertical separator

I have seen various examples in text books and web pages (like here) of two column equation blocks, where the left column has some equation(s) and the right column has some explanation on variable ...
3
votes
2answers
179 views

How may I write 'and generally' and the second equation on one line?

Please note that the two equations ought to be aligned; the text and generally should be flush left, but the second equation should be centred. \documentclass{article} \usepackage{mathtools} ...
1
vote
1answer
45 views

Amsmath's \binom looking weird

Using the MWE \documentclass[fontsize=8pt, a4paper, DIV12]{scrbook} \usepackage{amsmath} \begin{document} \[ e^t = x^{(5)} - 2x^{(3)} + \dot{x} = \sum_{k = 0}^{5} \binom{5}{k} p^{(k)}(t) e^t ...
3
votes
1answer
32 views

Subequation labeling inside an “aligned” environment

I can align several equations inside a single brace with the following code. \begin{equation} \left\lbrace \begin{aligned} k \cdot E &= 0 \\ k \cdot B &= 0 ...
3
votes
1answer
21 views

creating conditional array using iopart

I need to write a conditional equation using iopart.cls, a class that doesn't work with amsmath. Usually I'd use the cases environment from amsmath like so: \begin{equation} \mathrm{sgn}(t) 1, ...
1
vote
0answers
16 views

Horizontally align \vdots with equal signs in aligned environment [duplicate]

I have a number of equations aligned at the equal sign. I insert a line containing just \vdots to indicate a bunch of steps and then equations again. How I can make the \vdots align with the equal ...
3
votes
2answers
38 views

Putting a tag in aligned enviroment

I want to set a counter in the following two lines (to the right) \[ \left\{ \begin{aligned} & u_t = H(x,t,Du)&\text{ in }& \mathbb{R}^n\times (0,T) \\\\ & u(x,0)=u_0(x) & \text{ ...
3
votes
2answers
83 views

how to give some text an equation number

I want to be able to write the following in LaTeX: We make the further assumption that \begin{equation} \label{eqn:assumption} There is a bounded linear operator $B:X\to X^*$ such that ...
-1
votes
2answers
80 views

Confusing missing $ [closed]

Can anyone help with this. I'm not sure at all what I'm doing wrong but i get an error Missing $ inserted. $ on the 2nd line with c)\ The rest of the text works fine and there are ...
2
votes
2answers
177 views

How to make a table more vertically compact?

I finally managed to use the cases construct within a table: \documentclass{article} \usepackage{amsmath} \begin{document} \begin{table} \begin{tabular}{l p{7cm} ll} \hline a & b & c \\ ...
0
votes
1answer
55 views

How to make nested fractions bigger? [duplicate]

I have a nested fraction on the right-hand side of an equation. I use the LaTeX code as follows to produce the equation: \begin{equation} \frac{1}{T_{ex}} = ...
0
votes
1answer
49 views

Cant get theorems in an appendix

I get the error \begin{document} ended by \end{theorem}. \end{theorem} and Environment theorem undefined. \begin{theorem} when trying to compile this latex document. Here is the problematic ...
3
votes
1answer
46 views

Formatting an equation environment to fit within the margins

\mathcal{P}^s_{\delta}(F) = sup \Bigg\{ \sum_{i}|B_i|^s : \{B_i\} \text{is a collection of disjoint balls of radii at most $\delta$ with centres in F} \Bigg\} This piece of text wont stay in the ...
5
votes
1answer
107 views

Show integration limits above & below the integral

Well considering this code, the "E" is shown after the integral: \begin{equation} m = \iiint_E \rho \ \mathrm{d}V \end{equation} The limit is shown slightly behind the number, how can I place it in ...
1
vote
1answer
49 views

Strange artifact when using xrightarrow [duplicate]

When using xrightarrow, I sometimes gets weird artifacts on the arrow: it looks like the arrow is somewhat "doubled" in the middle. But this only happens when zoomed out; when I zoom in very close, ...
3
votes
2answers
36 views

Error: Extra }, or forgotten \right in split

Can someone tell me what's wrong with this? because i can't figure out where the missing \right( is. \begin{equation} \begin{split} Μ=&-\pi \rho \frac{c^{2}}{4} ...
1
vote
1answer
70 views

Wrong (too much) vertical space above \vdots in small matrix

If one uses \vdots in a smallmatrix-environment the vertical spacing above the dots is too large. It is the same spacing as in a normally sized matrix-environment. Minimal working example: ...
3
votes
1answer
32 views

Overfull hbox with fleqn and autonum

I am using autonum and amsmath with the fleqn option to left-align equations. However, this combination appears to generate Overfull \hbox warnings at the \begin{document} line. I am using the ...
1
vote
1answer
25 views

Weird autocompletion in vim-latex [duplicate]

I am trying to write some inline equations in vim-latex, but when I type \(( (To start an equation with a parenthesis), vim replaces it with \\left( \right)<++>. What is it doing, and how do I ...
6
votes
1answer
82 views

Align to top of box

This latex code (uses amsmath and proof) produces the image below: \documentclass{article} \usepackage{proof} \usepackage{amsmath} \begin{document} \begin{equation*} \infer[\forall x ...
2
votes
0answers
14 views

Space after Proof Environment to next Section

I am using a modified definition of a proof environment: \makeatletter \renewenvironment{proof}[1][\proofname]{\par \pushQED{\qed}% \normalfont \topsep1\p@\@plus3\p@\relax \trivlist ...
4
votes
3answers
175 views

Math equation with cases and division signs

\begin{equation*} \theta({P,\bar{Cl}}) = \begin{cases} S(P,\widehat{Cl}) + (S(P,\widehat{Cl}) \times ((\bar{R}-\widehat{R})/\bar{R})) & \widehat{Cl} \textless \bar{Cl} \\ ...
0
votes
1answer
30 views

Multiline equation in cases with special symbols

\begin{equation*} $\theta$ = \begin{cases} $\eta$ & \text{$\widehat{P} \textless \bar{P}$}\\ $\eta$ & \text{$\widehat{P} \textgreater \bar{P}$} \end{cases} \label{eq: ...
1
vote
1answer
45 views

Visually appealing subscripts with `\intercal`

From this discussion (What is the best symbol for vector/matrix transpose?) I like to use \intercal for matrix/vector tranpose symbol. However, when subscripts get involved it gets ugly: MWE: ...
1
vote
1answer
97 views

Write Mathematical Equation

Im writing fraction in an equation. But then when I inserted $\frac{1}{2}$ inside the align*, error says missing }. I don't get it. Removing the code fraction will make my code work. \begin{align*} ...
1
vote
0answers
46 views

Math symbols coming out blurry (bitmapped)

I am a LaTex beginner user and I am trying to compile a file for an IEEE publication and for some reason I get blurry (not vector format) math symbols, mostly brackets, \asterisks and integrals ...
2
votes
2answers
51 views

Getting Examples to look like Theorems/Lemmas/Corollaries

How do you get a latex document to present example in the same bold type face as you can for theorems/lemma/corollaries?
1
vote
1answer
37 views

How to obtain even space between variables in math mode?

When I combine numbers and several variables in an equation, the spacing between the numbers and variables are not even. What is the correct way to display the equation? The red box highlight the ...
1
vote
2answers
59 views

line break in math mode within longtable environment

I have a long mathematical expression within parenthesis which is larger than the column width that I have specified for my table. How do I force it to break the expression onto a new line? ...
2
votes
2answers
52 views

Aligning multiple column equation on left

I would like some equations aligned to the left, inline with text, with equation numbers aligned to the right, and with a middle column aligned with itself. The solution here and other solutions ...
5
votes
1answer
45 views

Align after \therefore

If I place my alignment ampersand after a therefore symbol (from amssymb), the proper spacing between the therefore and the rest of the equation is lost. Is there a way to prevent this from happening? ...
2
votes
0answers
30 views

Extra vertical space when using align and no numbering

I think I've found a small bug in the way the showonlyrefs=true option in mathtools works. Consider this semi-minimal example: \documentclass[12pt]{article} \usepackage[utf8]{inputenc} % UFT8 - ...
4
votes
1answer
51 views

Adjusting the size of round parenthesis in an equation

I am not sure what is the common rule in adjusting parenthesis in equations. Let me illustrate my question by the following example \documentclass{article} \usepackage[T1]{fontenc} ...
3
votes
1answer
23 views

Clash between amsmath, atbegshi, and texpower packages?

Consider this document: \documentclass{article} \usepackage{amsmath} \usepackage{texpower} \usepackage{picture} \usepackage{atbegshi} \setbox0\hbox{\textbf{TEXT}} \AtBeginShipout{% ...
3
votes
1answer
63 views

mathrm doesn't change back pdflatex (pre-install of texmaker)

I'm having the problem, that commands like \mathrm, \mathbf, ... change the look of the entire line of the equation and not only the code that is wrapped by the braces. I'm using the IEEEAerospaceCLS ...
2
votes
2answers
41 views

How can I use \underrightarrow command with iopart.cls class?

I would like to use \underrightarrow command which is included in amsmath.sty package. But, the publisher forces to use iopart.cls class, which is incompatible with amsmath.sty. Any alternative ...