Skip to main content
9 votes
Accepted

Aligning equation at the \middle| of a \left ... \middle ... \right triple

If you don't mind using LuaLaTeX, then luamathalign can help. \AlignHere instead of & can be used inside \left\right blocks: \documentclass{article} \usepackage{amsmath} \usepackage{physics} \...
Sergei Golovan's user avatar
7 votes
Accepted

Reduce spacing between equations

Use a single align environment: \documentclass[lettersize,journal]{IEEEtran} \usepackage{amsmath} \usepackage{mathtools} \NewDocumentCommand{\ubracetext}{smm}{% {% avoid bad spacing \underbrace{#...
egreg's user avatar
  • 1.1m
7 votes
Accepted

Defining a functional map

Use aligned inside align*: \documentclass{article} \usepackage{amsmath} \usepackage{amssymb} \begin{document} \begin{align*} \Psi: C([0,1],\mathbb{R}) &\longrightarrow C([0,1],\mathbb{R}) \\ ...
Stephen's user avatar
  • 4,454
5 votes

Unable to split the long equation

This is really more of a math problem than a TeX problem. You have really long expressions that you're trying to fit into a page: you need to figure out how they'll fit and then tell TeX what to do. ...
Teepeemm's user avatar
  • 7,113
4 votes
Accepted

Center Set of Equations Using Align

You're adding a second pair of columns with the trailing &, which LaTeX reserves space for. Remove it. I changed \text{a} and the similar constructs into a, because the traditional method for ...
egreg's user avatar
  • 1.1m
4 votes
Accepted

Non-standard alignment of multiline equation

Use aligned inside aligned inside equation. With bottom alignment we get the number attached to the last line. I also add some vertical separation between the blocks. \documentclass[12pt]{article} \...
egreg's user avatar
  • 1.1m
3 votes

I want to number two formula in equation, aligned and split environment

Use align instead of equation if you want multiple tags. \documentclass{article} \usepackage{amsmath} \begin{document} \begin{align} & \begin{aligned} \max\,\, z ={} % note the ...
Stephen's user avatar
  • 4,454
3 votes

Non-standard alignment of multiline equation

I suggest you nest an aligned environment inside an align* environment. \documentclass[12pt]{article} \usepackage{amsmath} \begin{document} \begin{align*} &\nu (\nu_1,\dots, \nu_{t-1},c\nu_t+d\...
Mico's user avatar
  • 514k
3 votes

Defining a functional map

Using alignat enviroment and text and math font Cambria with XeLaTeX engine. \documentclass[12pt]{article} \usepackage{fontspec,unicode-math} \setmainfont{Cambria} \setmathfont{Cambria Math} \begin{...
Sebastiano's user avatar
  • 56.7k
3 votes

Non-standard alignment of multiline equation

Just for fun. Thinking a bit as with the typewriter, we can just add the amount of \qquad needed here. \documentclass[12pt]{article} \usepackage{amsmath} \begin{document} \begin{align} &\nu (...
mickep's user avatar
  • 9,325
3 votes

Avoid underset text overlaping

I suggest you shift the text of the middle \lunderset directive down, by inserting a \substack directive. I can't help but remark that I don't find this setup easily readable. \documentclass[12pt]{...
Mico's user avatar
  • 514k
2 votes

Unable to split the long equation

Here's a variation on @Teepeemm's fine answer. I mainly suggest (a) using inline-fraction notation in the first three rows to further compactify the expressions and (b) getting rid of all unnecessary ...
Mico's user avatar
  • 514k
2 votes

Unable to split the long equation

Another possibility by use of the \splitfrac and multlined of mathtools package: \documentclass{article} \usepackage{geometry} \usepackage{mathtools} \begin{document} \begin{align} \sin^2 \theta_{...
Zarko's user avatar
  • 300k
2 votes

Aligning definition of terms of a sequence

I'd use array: \documentclass{article} \usepackage{amsmath} \usepackage{array} \begin{document} \[ z_k=\left\{ \setlength{\arraycolsep}{0pt} \begin{array}{l @{\qquad} r >{{}}c<{{}} c >{{...
egreg's user avatar
  • 1.1m
2 votes

Aligning definition of terms of a sequence

You need to mark the alignment points on the inequalities with &, then use alignedat rather than aligned so that extra space is not inserted between the columns, and finally $$ is not supported ...
David Carlisle's user avatar
2 votes

I want to number two formula in equation, aligned and split environment

You must use an environment allowing multiple equations, in this case align. Since the second part doesn't actually have an alignment point with respect to the first part, I set the alignment point at ...
egreg's user avatar
  • 1.1m
1 vote

Why does Latex produce this error and how to fix it?

It's a hmm feature of the amsmath nested accent handling. \documentclass{article} \usepackage{amsmath} \begin{document} \begin{align} \dot{\hat{a}}&=...\\ \dot{\hat{a}\ExpandArgs{c}\...
David Carlisle's user avatar
1 vote

Avoid underset text overlaping

I did it \documentclass{article} \usepackage{amsmath} \usepackage{mathtools} \usepackage{calc} \newcommand{\lunderset}[2] {\underset { \parbox{\widthof{\scriptsize{#1}}}{\scriptsize{#1}}} { \parbox{\...
user3204810's user avatar
  • 1,539
1 vote

Avoid underset text overlaping

The problem is not \underset, it is \mathrlap the only purpose of that command is to make the text overLAP on the Right, which is what you show. If you must do this, I'd give yourself a bit more room ...
David Carlisle's user avatar
1 vote

Avoid underset text overlaping

Just for fun. It still can do nothing about text which is too wide for the box (unless you add hyphenation). \documentclass[14pt]{article} \usepackage{amsmath} \usepackage{mathtools} \usepackage{...
John Kormylo's user avatar
  • 81.2k
1 vote

Defining a functional map

Nest aligned[t] inside aligned inside equation. I provide two realizations; in the bottom one there are a couple of improvements: the arrows are shorter (and nicer); the parentheses around [0,1],\RR ...
egreg's user avatar
  • 1.1m
1 vote
Accepted

Latex newline for equations without requiring align

You can use multline or, probably better, aligned with three lines. To get the second picture I added \usepackage{newtx}. Beware that lettersize is not a recognixed option. Worth noting is the ...
egreg's user avatar
  • 1.1m
1 vote

align* but show one equation number at the end

The environment {DispWithArrows} of witharrows, which is similar to {align} provides a key tagged-lines to control which lines will be tagged. With tagged-lines=last, only the last line is tagged. \...
F. Pantigny's user avatar
  • 43.2k

Only top scored, non community-wiki answers of a minimum length are eligible