[NTG-context] \vfill shifts content off grid

Hans Hagen pragma at wxs.nl
Thu Sep 1 13:53:06 CEST 2016


On 9/1/2016 1:22 PM, Henri Menke wrote:
> On 09/01/2016 09:33 AM, Hans Hagen wrote:
>> On 8/31/2016 7:45 PM, Henri Menke wrote:
>>> Dear list,
>>>
>>> when I use a body font size other than the standard, issuing \vfill will move the content off the grid.  MWE is below.  How do I fix this?
>>
>> that's how vfill works, you can try \vskip30\lineheight with a value you like
>
> Hm.  Then I'd like to reformulate my question:  How do I flush content to the bottom of the page when grid is enabled without having to specific how many lines to clear.

trial and error:

\vfilll \strut World \par \removedepth \page


>>
>>> Cheers, Henri
>>>
>>> ---
>>>
>>> \setupbodyfont[9pt]
>>> \setuplayout[grid=yes]
>>> \showgrid
>>> \starttext
>>> Hello
>>>
>>> \vfill
>>>
>>> World
>>> \stoptext
>>> ___________________________________________________________________________________
>>> If your question is of interest to others as well, please add an entry to the Wiki!
>>>
>>> maillist : ntg-context at ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
>>> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
>>> archive  : http://foundry.supelec.fr/projects/contextrev/
>>> wiki     : http://contextgarden.net
>>> ___________________________________________________________________________________
>>>
>>
>>
>
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
>
> maillist : ntg-context at ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : http://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________
>


-- 

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the ntg-context mailing list