TransWikia.com

amsmath equal row spacing

TeX - LaTeX Asked on December 20, 2020

I would like to display these equations in an alignment:

begin{align}
%setlength{jot}{20pt}
V_text{SET} &= min Bigg( frac{dV}{dI} Bigg) &text{for } V<0 [1em]
I_text{SET} &= I(argmin Bigg( frac{dV}{dI} Bigg) -3 ) &text{for } V<0[1em]
V_text{RESET} &= V(arg(grad(smooth(I)) leqslant 0)(0)) &text{for } V>0[1em]
I_text{RESET} &= I(arg(grad(smooth(I)) leqslant 0)(0)) &text{for } V>0[1em]
V_text{SET,stop} &= min(V) [1em]
V_text{RESET,stop} &= max(V) [1em]
I_text{cc} &= min(I) [1em]
Lin &= I(V=pm 0.4)/I(V=pm 0.2)
end{align}

I already tried setting the length of jot and using [1em]. However due to the fractions the spacing between the lines is not equal and I can not get it to be equal. This is what it looks like now:

enter image description here

Also due to [1em] the equations are now longer than the page and are over the page number, as you can see on the right bottom (13).
I am relatively new to Latex so I hope this not very obvious. Any help is appreciated.
Thanks so much in advance 🙂

One Answer

In the case of your equations, it suffices to change Bigg to Big and to smash the expressions involving tall parentheses in order to get a more compact display in the vertical dimension. With this change, one can dispense with the [1em] spacing directives. To get more compactness in the horizontal dimension as well, it's a good idea to employ an alignat environment rather than an align environment.

A separate comment: the terms "max", "min", "arg" etc are math operators; to typeset them using an upright font face, input them as max, min, arg, etc.

enter image description here

documentclass{article}
usepackage{amsmath,amssymb,array}
DeclareMathOperator{argmin}{arg,min}
DeclareMathOperator{grad}{grad}
DeclareMathOperator{smooth}{smooth}
begin{document}

begin{alignat}{2}
V_{textrm{SET}}   &= min smash[b]{Bigl( frac{dV}{dI} Bigr)} 
   &quad&text{for $V<0$} [1em]
I_{textrm{SET}}   &= Ismash{Bigl(argmin Bigl( frac{dV}{dI} Bigr) -3 Bigr)} 
   &&text{for $V<0$}[1em]
V_{textrm{RESET}} &= Vbigl(arg(grad(smooth(I)) leqslant 0)(0)bigr) 
   &&text{for $V>0$}[1em]
I_{textrm{RESET}} &= Ibigl(arg(grad(smooth(I)) leqslant 0)(0)bigr) 
   &&text{for $V>0$}[1em]
V_{textrm{SET,stop}}   &= min(V) [1em]
V_{textrm{RESET,stop}} &= max(V) [1em]
I_{textrm{cc}}    &= min(I) [1em]
L_{textrm{in}}    &= I(V=pm 0.4)big/I(V=pm 0.2)
end{alignat}
end{document}

Correct answer by Mico on December 20, 2020

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP