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

learn more… | top users | synonyms

3
votes
2answers
33 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
69 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
76 views

Confusing missing $ [on hold]

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
146 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
0answers
25 views

Command \newtheorem* not working [on hold]

In my document I can't use the command \newtheorem* because I get the error: *! LaTeX Error: Command \ * already defined.* By the way the command \newtheorem is working well, so I can't understand ...
0
votes
1answer
48 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
40 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
42 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
88 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
45 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
27 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
33 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
27 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
21 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
76 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
13 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
162 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
26 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
41 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
92 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
43 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
44 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
36 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
42 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
43 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
36 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
28 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
22 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
58 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
26 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 ...
4
votes
1answer
176 views

Difference between align and alignat environments

What is the difference between align and alignat environments?
0
votes
0answers
19 views

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

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 ...
4
votes
2answers
74 views

Smashoperator for the vertical space?

I would like to vertically smash a summation sign in a way that the line has a vertical space as if the summation sign wouldn't be there. To illustrate it please see the MWE. The space between the ...
2
votes
1answer
83 views

Can I write $\log^2{x}$ in skmath?

Standard LaTeX has the opportunity to write things like $\log^2{x}$. This is however no longer possible when loading the skmath package, because skmath expects the logarithm to be entered ...
1
vote
1answer
87 views

problem with math equations

I want to use calibri in text and cambria math fonts for equations, with lualatex. When there are no equations to my file everything works ok, but when I add an equation I get an error message ...
7
votes
2answers
107 views

Defining new split environment with reduced spacing

this is my first stackexchange question so apologies for any bad etiquette. I'm writing a document in double spacing. I don't wants the gaps between the lines of a multi-line equation to be that ...
0
votes
0answers
67 views

Help with Australian Method Coding

Hi I want to write a topic on factoring by using the Australian method. Do anyone know how to code that in latex? A picture of what I mean:
3
votes
1answer
52 views

Spacing around align environments

I first learnt to use LaTeX using the equation environment, and liked to set out my .tex document with spacing around equations. Now that I use the align environment, putting this additional space ...
5
votes
1answer
73 views

How can I align the first row of these equations?

\documentclass[ngerman]{scrartcl} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{babel} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \begin{document} ...
0
votes
1answer
51 views

Align environment immediately after section break

When I use an align environment immediately after a new section, there is a significantly increased line break between the section and the equation, too large for my taste. Is there a way to make this ...
1
vote
0answers
47 views

Displayed equation is not centered

I'm planning to send my research paper to a journal using the provided template. However, i found that displayed math is not centered (paper publish in the journal have equation centered). Below i ...
4
votes
1answer
49 views

Center some lines within an alignat environment nested in subequations environment

For typesetting a mathematical program I use the subequations environment to number the equations. The restrictions are aligned using the alignat environment (see MWE1). What I would like to achieve ...
4
votes
1answer
47 views

math subarray/substack environment not working

I am trying to get stacked indices using subarray/substack using the following snippet, but I am not seeing stacking beneath the sum symbol. This is the type of output I am expecting, but this is ...
6
votes
2answers
131 views

Align equations over multiple sections

Is there a way to make the math mode "align" work over multiple sections? Here is the code example: section*{Polynomials} Do the following polynomial devisions \begin{align} &(x^7 - x^4 - 21x^2 + ...
1
vote
0answers
40 views

hyperref package within AMS latex environment

How can I use link references using hyperref package within AMS latex environment? Is it possible to use it with \cite{} or need to use anything else? When i try to create a dvi file I have an error ...
2
votes
3answers
47 views

Adjust spacing between linebreaks

I would like to adjust the spacing between two lines within a gather environment. My MWE is this: \documentclass[]{scrreprt} \usepackage{amsmath} \begin{document} \chapter{Chapter 1} Lorem ipsum ...
2
votes
2answers
92 views

Keep margins in latex when using inline maths equations for small equations

So say I have the following paragraph \documentclass[12pt]{article} \usepackage{amsmath} \begin{document} xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx $\hat{\sigma}_w(kn)$ Here are some ...
3
votes
2answers
98 views

returning maths values in a new command

So I'm trying to construct a command which calls another command to make typing easier, but for some reason I'm not able to get the commands to return things properly. Here is what I have ...
4
votes
1answer
94 views

amsmath undefined control sequence

I am using \documentclass{report} and \usepackage{amsmath}. My problem is relation symbols such as \backsim \lesssim \gnsim are not working. Everytime I try to use such symbols error ...