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*}
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
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
Code, edit and compile here:\begin{align*}y = & \frac{1}{x}\\x = & 2z\\z = & 10\end{align*}
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p