Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [amsmath]

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

0
votes
1answer
27 views

How should I represent the conjugate of a term in the denominator?

Using \overline for a term in the denominator creates a cluttered look, and \Bar results in a really faint line. Also I only know how to use \Bar over one letter at a time. \documentclass{article} \...
0
votes
2answers
58 views

Why do I get a “! Missing \right. inserted.” message?

What's wrong with this? Error message: "! Missing \right. inserted." (But I don't see it. Everythink works!) \begin{multline} U=\sum\limits_{n=0}^{\infty}\sum\limits_{k=0}^{\infty}\left[(a_{nk}\cos ...
2
votes
2answers
24 views

Why do I get an “Extra alignment tab has been changed to \cr” error message?

What's wrong with the following equation? \begin{multline} D^n(uv)=uD^nv+\frac{n}{n!}DuD^{n-1}v+\frac{n(n-1)}{2!}D^2uD^{n-2}v+\ldots \ &+\frac{n(n-1)\ldots (n-m+1)}{m!}D^muD^{n-m}v+\ldots + D^nuv,...
1
vote
2answers
20 views

Aligning two separate equations without \intertext

How do I align the \Rightarrow commands of these separate equations? Please note that the \hspace{7.5cm} commands of the second equation are my attempt at manual adjustment. Also, I know that there ...
0
votes
2answers
31 views

left and right subscript and arrow beneath variable

Alright, here goes, first I know that my title is somewhat vague, but an image is worth a thousand words, here's what I'm trying to achieve : Now this is the code that I came up with : \...
1
vote
2answers
38 views

left align an alignedat environment

now I am trying to get this output aligned to the left of my document This is the code that I am using to achieve it : \documentclass{article} \usepackage{amsmath} \begin{document} \begin{flalign*} ...
7
votes
3answers
224 views

Force placement of sum operands over index

I want to force the operands of a sum to be placed above an "extended" (longer than usual) index, instead of increasing the width of the sum (in the example, see the sums in (2), which are much wider ...
1
vote
0answers
19 views

Error when including letters in Math environment in beamer [duplicate]

I am trying to make a presentation in beamer. However when I include letters in the math environment I get the following error message: !pdfTeX error: pdflatex (file mathkerncmssi8): Font ...
9
votes
1answer
408 views

Why are there no \dint or \dsum like \dfrac?

This was inspired by How to have nice-looking symbols within an \itemize environment? and Sigur's comment which remind me about the display style of math formulas and the fractions. I know that, in ...
3
votes
0answers
31 views

How to issue a \cr within a group in amsmath `align` and friends

I would like to enclose multiple lines in an align in a group. Because of the group, the \\ delimiting the rows generates a mistake (if I'm guessing right the group is broken at \\ and latex complains ...
3
votes
1answer
23 views

BibTeX alphebetizes author by “von” rather than last name

I have a BibTeX entry with author=Julius von Braun which is sorted under v rather than B. It doesn't matter whether I write it as above or as author=von Braun, Julius or with various quotings. ...
2
votes
1answer
41 views

Trouble with complex fractions and parentheses [duplicate]

I'm having trouble finding a way to express this fraction with the amsmath package. The result I'm getting isn't quite nice. Are there alternative ways to write this fraction? \documentclass[10pt,...
2
votes
1answer
64 views

Less-than OR Less-than-equal with one symbol

I want to write a less-than-equal sign with a brace around the equal sign. Something like this, but in "nice" (at the moment, it doesn't really look as expected): \documentclass{article} \usepackage{...
0
votes
0answers
18 views

Horizontal spacing in matrix

I have installed and used amsmath package, however row entries in matrix are not separated. I can't use a dollar sign to do it, because the code is not compiled and I don't get printed matrix in pdf. ...
0
votes
0answers
16 views

How to redefine environments using other symbols (such as using \[ \]) [duplicate]

I use the \begin{align} environment a lot, so I was wondering if there is a way to redefine it using something similar to how \begin{displaymath} is redefined as [ ].
9
votes
3answers
112 views

Underbraced under transposed vector/array

How do i insert an underbraced under a transposed vector that spans over 2 elements in vector? So for instance the first two elements under one underbracket with text "node 1", and ect.. the code ...
3
votes
4answers
32 views

Customize subequation numbering

I need to customize equation numbering as follows: Some text ... a+b (5) 3+2 (5') ... some more text.... c+d (6) The idea is that (5') is an example of (5). I thought of using ...
3
votes
1answer
63 views

Spacing *inside* \left and \right

The simple formula \[ \left(\sum_{k=0}^\infty a_k\right) \] produces an irksome, asymmetrical hiccup. The left paren is just a hair too close to the subscript of the summation and the right paren is ...
1
vote
0answers
32 views

Difference in horizontal space taken by align* and aligned

\begin{align} A && B \end{align} and \[\begin{aligned} A && B \end{aligned}\] result in different alignments. align seems to use all available space to split two columns, but aligned ...
7
votes
1answer
124 views

How to fix the mismatch of font size of following?

I want to generate the cases in the picture. However, the Symbols T1, T2 on LHS and RHS are different in size. \documentclass[a4paper, 12pt]{report} \usepackage[utf8]{inputenc} \usepackage[...
4
votes
1answer
27 views

horizontally align same variables among equations in align

I want to align same texts between equations, like ET, E, and T in this situation. \documentclass[12pt]{article} \usepackage{mathtools} \begin{document} \begin{align} ET &= E+ T &\\ ...
1
vote
0answers
57 views

How to improve the visual appearance of my document? [closed]

Introduction I typed out some definitions from our theoretical computer science lecture for the fun of it. Unfortunately I noticed, that it didn't look very professional and clean . The reason for ...
4
votes
1answer
28 views

Automatic “subequations” for amsmath environments?

Is it possible to have amsmath automatically number equations in "subequations" style, when a multiline construct like \begin{align} E &= m c^2 \\ c^2 &= a^2 + c^2 \end{align} is ...
3
votes
2answers
76 views

How may we properly format choose within fraction?

I am trying to format the document below. My original goal was to have the choose notation within the fraction notation which a user has helped me solve. Is there a better way to format this ...
2
votes
1answer
36 views

Arrow position should be changed to the center of the formula line

I have another problem :) But I think for you experts it shouldn't be that hard. \documentclass{article} \usepackage{amsmath,mathtools,amssymb,array,arydshln} \usepackage[german]{babel} \usepackage[...
0
votes
3answers
30 views

How to align an equation using amsmath

Can somebody explain to me how to put this in proper LaTeX-Code? I am really not sure... let's see: \documentclass{article} \usepackage{amsmath} \begin{document} \begin{align} \sum_{(i,j)\el E} x_(...
0
votes
0answers
35 views

Special algebraic symbol in Latex [duplicate]

how can I use following symbol in Latex: I don't know how to write this symbol (red arrow shows it) in Latex. Thanks for your help
4
votes
1answer
51 views

amsmath intlimits option doesn't work with STIX2 fonts when compiling usinf XeLaTeX or LuaLaTeX

\documentclass{minimal} \usepackage[intlimits]{amsmath} \usepackage{unicode-math} \setmathfont{STIX Two Math} \begin{document} \[ \int_{a}^{b}\qquad% doesn't work \int\displaylimits_{a}^{b}% ...
0
votes
1answer
63 views

I need following table in LateX code including special symbols

I hope you can you help me. I am writing my homework with LaTeX (using TexStudio as environment). This table contains three columns: Syntax, Strictness and Semantics. For my homework, I need to ...
0
votes
2answers
27 views

flalign, leqno and equations left aligned. Overlapping of equations and tags

I'm using flalign to align equations flush-left to the page margin. I then stumbled on this Switch between leqno and reqno options (of amsmath) in the same document and used it. Now I have tags ...
3
votes
3answers
150 views

colored math with the align environment

I want different colors for the text and math environments. I use the align environment. The code below used to work, but very recently (matter of weeks at most) has broken. Quite frankly, I cannot ...
0
votes
0answers
16 views

Ignoring brackets when using multi-line equations [duplicate]

I don't know why the following code is not working, i. e. the last bracket is ignored. I want to have brackets spanning the whole multi-line equation. Thanks for any help! \documentclass{article} \...
1
vote
2answers
32 views

Huge white space in fraction [duplicate]

I'm trying to create an equation in LaTeX, however, there seems to be a gigantic white space that is rather unsightly. Here's the code I'm using: \[ x=a\sqrt[n]{1-\left(\dfrac{\sqrt[n]{\dfrac{\sqrt[2-...
1
vote
2answers
36 views

How to make equation spacing consistent in minipage regardless of horizontal alignment

Under ordinary circumstances with amsmath, when I wrap display equations in a minipage, they appear without any \abovedisplayskip spacing if the equation appears first in the minipage but with the ...
0
votes
1answer
15 views

How to make temporarily center-aligned math equation, when using option [fleqn] for amsmath

I am using fleqn for amsmath. So the euqation is default left-aligned. Now I want to teamporarily make one equation center-aligned. How to do this? Thank you all. MWE \documentclass{article} \...
1
vote
1answer
31 views

math mode align expressions too far apart

I am attempting to allow following expressions in math mode: \begin{flalign*} \Gamma_1 ; x : T ; \Gamma_2 \vdash{}& x &&\Rightarrow T & \\ \Gamma \vdash&{} \lambda(z : T).t ...
1
vote
4answers
40 views

Straight ladder layout without breqn

I would like to know how to obtain the Straight ladder layout as defined under 14.2.1 in the breqn package documentation. with the "normal" amsmath environments. I tried \documentclass{scrartcl} \...
2
votes
1answer
14 views

Proof environment with long header causes many problems. How to avoid them?

Suppose we have defined a lemma environment with the amstheorem package. And suppose the proof environment is available via the ams packages. Please consider this example. \begin{lemma} \label{lem:...
2
votes
1answer
24 views

Formatting of a star in the right upper corner of a product symbol [duplicate]

I'm trying to get a star in the right upper corner of a product symbol: \documentclass{article} \usepackage{amsmath} \begin{document} First variant in equation is bad: \begin{equation}\...
2
votes
1answer
48 views

Reverse an existing big math operator keeping same functionality (such as limits)

I would like to define an operator \rsum which has all the same functionality of \sum with the only difference being that \rsum displays a mirrored image of the sigma glyph. I have found the ...
0
votes
1answer
72 views

Can't find a command for actuarial angle [duplicate]

I'm trying to properly render the following formula: This is what I've got so far: aufgel"ost nach $B^A$ ergibt sich \begin{equation} \boxed{B^A = \mathit{VS} \cdot \frac{_{\textbar n}A_x + \...
1
vote
1answer
32 views

Rename appendix section in a single chapter

I want to add an appendix section to one chapter in a latex document of class book. I do not like the style of the subappendices package, where the appendices per chapter are quite highlighted. I ...
0
votes
1answer
46 views

I cannot use amsmath package

I try to compile my latex but it doesn't work. It shows the following error Command \iint already defined. ...d{\iint}{\DOTSI\protect\MultiIntegral{2}} The command that I'm using is as follows: \...
0
votes
0answers
27 views

Change the font style of a specific math block

Let's say I have some math block where I specifically want to write pseudocode. \begin{math} \end{math} Is there a way I can change the font so it's not cursive, and maybe a mono type font to look ...
9
votes
2answers
483 views

Is there something like cdots that uses less space?

Is there an alternative where I still have three dots but less horizontal space is required? For instance, s_1s_2 \cdots s_L results in: I would like something more compact
5
votes
2answers
199 views

How to have equation number at top with intertext in split environment

I have some split equations with intertext, like this: \documentclass{article} \usepackage{amsmath} \begin{document} \begin{equation} \begin{split} y_j &= \frac{1}{35}\left(-3y_{j-2}+12y_{j-...
7
votes
4answers
853 views

Vertical dots with same height as colon

How can I construct three vertical dots similar to \vdots but which span the same height as a colon :? \vdots is usually intended for use in matrices or a set of equations to indicate that there are ...
1
vote
2answers
86 views

Why does `\texttt` repeat and shrink my equation?

When I use \texttt with the caret symbol in an amsmath equation environment, I get a very weird result. Specifically, the text repeats itself four times while shrinking. MWE: \documentclass{article} ...
1
vote
1answer
15 views

How to properly use the align environment within a theorem environment in Tex while handling whitespace issues?

I currently am trying to use the align environment to display equations within a lemma using a theorem environment. My code goes like: \documentclass[10pt]{article} \usepackage[utf8]{inputenc} \...
2
votes
1answer
45 views

split subequations in two pages

I have this set of equations that I need to split into two pages. I'm working on beamer. I tried \allowdisplaybreaks but it didn't work: \allowdisplaybreaks \begin{frame} \frametitle{Problem ...