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

learn more… | top users | synonyms

2
votes
0answers
17 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
201 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
33 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
51 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
104 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
47 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
59 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
40 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
68 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
70 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
54 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
36 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
54 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
27 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
65 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
57 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 ...
5
votes
1answer
901 views

Difference between align and alignat environments

What is the difference between align and alignat environments?
0
votes
0answers
33 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
105 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
91 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
114 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
115 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
71 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
61 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
77 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
57 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
56 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
71 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
67 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
149 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
44 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
53 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
106 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
111 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
224 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 ...
6
votes
1answer
163 views

How to achieve no indentation for a single equation?

I'd like to have a single equation without indentation at all. I know I can set it globally with \setlength{\mathindent}{0cm} But I don't know how to return to the default value after the ...
4
votes
4answers
126 views

Dividing Long Equation using Split

I have a long equation as below, As the equation is too long, I am working to split it. Unfortunately it was not successful. Confused where could be the mistake. Could you assist to point it. MWE: ...
6
votes
1answer
127 views

Opposite of \allowdisplaybreaks

If i load the amsmath package it doesn't allows to break by default alignments across the pages in the multline, align, gather, alignat environments and their starred versions. Howewer it exists the ...
4
votes
3answers
68 views

Alignment using an alignat{2} environment

In the following code, I have the appropriate alignment. All the equal signs are aligned. There is one expression that is written on two lines; I wanted the first plus signs aligned. I used an ...
1
vote
1answer
70 views

How to align numbering for equations

I can't seem to align the numberings on my equations. If anyone can help that would great! Here are my codes: \begin{multialign} \item 4x - 2 &< 3 && \\ 4x - 2 + 2 &< 3+2 ...
4
votes
3answers
160 views

Align without display math?

Is it possible to use the align environment without the display math? For example, I would like \sum to look as if it were inline. The solution given here does not work, insofar as the summation ...
2
votes
1answer
40 views

aligning equations with a tag

\documentclass{article} \usepackage[a4paper, total={6in, 8in}]{geometry} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{fourier} \usepackage{mathtools} \usepackage{amsmath} ...
9
votes
2answers
166 views

Kerning and long subscripts or superscripts

For really long sub(super)scripts, does it look bad to decrease the kerning? i.e. \lim_{n\to\infty}{\dfrac{1}{s_n^2}\sum_{i=1}^n \int_{|x-\mu_i|>\varepsilon s_n} (x-\mu_i)^2f_i(x)dx}=0 ...
6
votes
1answer
235 views

Typesetting mathematical constants

Is there any command for typesetting constants in mathematical formulas? I would imagine something similar to \operatorname or \DeclareMathOperator, but for constants. I want the constant to be ...
3
votes
2answers
93 views

break an long line in an algorithm

I have a long line in an algorithm and want to break it into two lines. For similar case in equations, split can be used. How do I do this within an algorithm? \documentclass{article} ...
4
votes
2answers
112 views

Change numbering level for one chapter only

Apologies if this is duplicate but couldn't find it. I have a document using amsmath for chapter, section & subsection numbering, & everything (theorems, lemmas etc) uses the same numbering ...
4
votes
1answer
183 views

Change vertical space in overset

How can I decrease the space in overset? I found this solution online, but it doesn't look quite like the original overset (note I know it is difficult to come up with a solution to handle all cases ...
5
votes
1answer
121 views

Define certain letter in math-mode to be always non-italic

Imagine I have a 500 page book about complex numbers. But I always wrote just j in math-mode as the imaginary unit. But I should have written \mathrm{j}. Is there a command I could write into my ...
0
votes
0answers
36 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 ...
1
vote
0answers
19 views

Separate labels in cases to then reference [duplicate]

How can I label each of these equations separately so that I can refer to each of them later on? \[ \begin{cases} u_t+uu_x=-p_x, \\ H_t+(uH)_x=0, \end{cases} \]