5 votes
Accepted

Aligning equations in math mode with different rules between lines

You can get what you want by putting in an extra alignment point: Code: \documentclass{article} \usepackage{amsmath} \begin{document} \begin{equation} \begin{aligned} &\text{...
Willie Wong's user avatar
  • 21.5k
4 votes

How to disable alignment of individual lines in an align environment?

You could nest an aligned environment (for rows 2 and 3) inside a gather* environment: Do also note that I've inserted a typographic strut (via a \vphantom directive) in row 2 in order to separate it ...
Mico's user avatar
  • 479k
2 votes
Accepted

Multiple equation alignments within cases environment in math mode

Since you're using similar characters (and therefore widths), using a \phantom would align the content the way you want it to. \documentclass{article} \usepackage{amsmath} \begin{document} ...
Werner's user avatar
  • 589k
2 votes

Aligning equations in math mode with different rules between lines

There is a specific package called optidef that generates examples like your code. \documentclass[a4paper,12pt]{article} \usepackage{optidef,amsmath,amssymb} \begin{document} \begin{mini}<b> {}...
Sebastiano's user avatar
  • 51.5k
1 vote

Multiple equation alignments within cases environment in math mode

Isn't the "every" qualifier implied in the conditions stated in rows 1 and 3? I don't think you need it. \documentclass{article} \usepackage{amsmath} \begin{document} \begin{equation*} ...
Mico's user avatar
  • 479k
1 vote
Accepted

Reduce horizontal spacing of aligned equations with normal text in math mode

If you don't want the automatic spacing inserted by align, you should have a look at alignat. (Others have done a better job than I can explaining how to use it, so I will just include an example ...
Willie Wong's user avatar
  • 21.5k

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