Code: Select all
\begin{align*}
y = & \frac{1}{x}\\
x = & 2z\\
z = & 10
\end{align*}
Code: Select all
\begin{align*}
y = & \frac{1}{x}\\
x = & 2z\\
z = & 10
\end{align*}
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Either smash the height of the "\frac" (in which case it may overlap the other lines) or add something like "\vphantom{\frac{1}{x}}" to the other lines, to force the height.bpetersen wrote:I am using AMSmath package. When I have code like:It gives the y equation a little bit more vertical space then the x and z equation. How do I get all of the equations to have the same amount of vertical space?Code: Select all
\begin{align*} y = & \frac{1}{x}\\ x = & 2z\\ z = & 10 \end{align*}
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis