# [NTG-context] vertical alignment in simpleslides

Curiouslearn curiouslearn at gmail.com
Sun Mar 6 06:31:42 CET 2011

```Thanks very much!! That makes it very clear.

On Sun, Mar 6, 2011 at 12:28 AM, Aditya Mahajan <adityam at umich.edu> wrote:
> On Sun, 6 Mar 2011, Curiouslearn wrote:
>
>> Awesome!! This worked great. I need to understand what 2fill and 3fill
>> does. I will try looking at Victor Eijkhout's book. But if you know of
>> any other easy reference, please let me know.
>
> Think of fill as a "spring" that pushes both sides. 2fill is a spring that
> pushes twice as hard. With a \vskip 1ex plus 2fill at top and \vskip 1ex
> plus 3fill at bottom, 2/5 th of the total blank space is on the top, and 3/5
> th is at the bottom.
>
> With inbetween=\vfill, and two items, the equation changes to
>
> 2/6th of the empty space on top
> 1/6th of the empty space inbetween the two items
> 3/6th of the empty at the bottom
>
> ___________________________________________________________________________________