1
\begin{align}
\frac{1}{2} \geq \frac{1}{2^k} \\
\frac{3}{2} \geq 1 + \frac{1}{2^k} \\
\frac{3}{2} -  \frac{1}{2^k} \geq 1 \\
\frac{3}{2} - \frac{1}{2} - \frac{1}{2^k} \geq 1
\end{align}

How do I align each inequality along the inequality signs?

2
  • Welcome to TeX SX! You just have to add an ampersand before the alignment points.
    – Bernard
    Mar 15, 2018 at 23:00
  • 1
    align requires you to mark the alignment points, put a & before the \geq Mar 15, 2018 at 23:00

1 Answer 1

2

you need to add anchors -- ampersands before inequality signs:

enter image description here

mwe:

\documentclass[12pt,margin=3mm]{standalone}
\usepackage{amsmath}

\begin{document}
    \begin{align}
\frac{1}{2}                                 & \geq \frac{1}{2^k} \\
\frac{3}{2}                                 & \geq 1 + \frac{1}{2^k} \\
\frac{3}{2} -  \frac{1}{2^k}                & \geq 1 \\
\frac{3}{2} - \frac{1}{2} - \frac{1}{2^k}   & \geq 1
    \end{align}
\end{document}

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .