Re: [NTG-context] \blank[] doesn't work when nothing precedes it
On Thu, 5 Nov 2020 at 14:21, mf wrote: > \blank[.25\paperheight,force] > > A blank at the top of a page is ignored, because usually you use a blank > as a separator, that is useless at the top of a page, because the page > break is enough to separate two texts. > > Sometimes you need a blank on top anyway, i.e. at the start of a chapter. > In that case use "force". > Thanks Massi, this is exactly what I was looking for. Sylvain ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] \blank[] doesn't work when nothing precedes it
Hi Thomas, Thanks for sharing the trick, it did help me! Sylvain On Thu, 5 Nov 2020 at 13:55, Tomas Hala wrote: > Hi Sylvain, > > on my computer (TL2020) I am not able to compile \blank with any command > defining the dimension (2\paperheight, 0.25\paperheight, .25\paperheight). > I do not know why... > > But if I use another dimension, eg. 5*big or 20cc, it works with > \dontleavehmode: > > \starttext > \dontleavehmode > \blank[5*big] > %\blank[20cc] > foo > \stoptext > > Maybe it will help you. > > The best, > > Tomáš > > > Thu, Nov 05, 2020 ve 01:26:02PM +0100 Sylvain Hubert napsal(a): > #Dear List, > #I'm trying to put the document title at around .25\paperheight by > #inserting a \blank: > #\setuplayout[topspace=0cm, header=0cm, height=\paperheight] > #\starttext \blank[.25\paperheight] foo \stoptext > #But the "foo" still appears at the very top. > #Does anyone know why it behaves like that, or whether there is a more > #authentic way to put the first word at .25\paperwidth than inserting a > #tiny invisible space before the \blank? > #Thanks! > #Best, > #Sylvain > > # > ___ > # If your question is of interest to others as well, please add an entry > to the Wiki! > # > # maillist : ntg-context@ntg.nl / > http://www.ntg.nl/mailman/listinfo/ntg-context > # webpage : http://www.pragma-ade.nl / http://context.aanhet.net > # archive : https://bitbucket.org/phg/context-mirror/commits/ > # wiki : http://contextgarden.net > # > ___ > > > ___ > If your question is of interest to others as well, please add an entry to > the Wiki! > > maillist : ntg-context@ntg.nl / > http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > > ___ > ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] \blank[] doesn't work when nothing precedes it
Il 05/11/20 13:26, Sylvain Hubert ha scritto: Dear List, I'm trying to put the document title at around .25\paperheight by inserting a \blank: \setuplayout[topspace=0cm, header=0cm, height=\paperheight] \starttext \blank[.25\paperheight] foo \stoptext \blank[.25\paperheight,force] A blank at the top of a page is ignored, because usually you use a blank as a separator, that is useless at the top of a page, because the page break is enough to separate two texts. Sometimes you need a blank on top anyway, i.e. at the start of a chapter. In that case use "force". Massi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] \blank[] doesn't work when nothing precedes it
Hi Sylvain, on my computer (TL2020) I am not able to compile \blank with any command defining the dimension (2\paperheight, 0.25\paperheight, .25\paperheight). I do not know why... But if I use another dimension, eg. 5*big or 20cc, it works with \dontleavehmode: \starttext \dontleavehmode \blank[5*big] %\blank[20cc] foo \stoptext Maybe it will help you. The best, Tomáš Thu, Nov 05, 2020 ve 01:26:02PM +0100 Sylvain Hubert napsal(a): #Dear List, #I'm trying to put the document title at around .25\paperheight by #inserting a \blank: # \setuplayout[topspace=0cm, header=0cm, height=\paperheight] # \starttext \blank[.25\paperheight] foo \stoptext #But the "foo" still appears at the very top. #Does anyone know why it behaves like that, or whether there is a more #authentic way to put the first word at .25\paperwidth than inserting a #tiny invisible space before the \blank? #Thanks! #Best, #Sylvain # ___ # If your question is of interest to others as well, please add an entry to the Wiki! # # maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context # webpage : http://www.pragma-ade.nl / http://context.aanhet.net # archive : https://bitbucket.org/phg/context-mirror/commits/ # wiki : http://contextgarden.net # ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] \blank[] doesn't work when nothing precedes it
Dear List, I'm trying to put the document title at around .25\paperheight by inserting a \blank: \setuplayout[topspace=0cm, header=0cm, height=\paperheight] \starttext \blank[.25\paperheight] foo \stoptext But the "foo" still appears at the very top. Does anyone know why it behaves like that, or whether there is a more authentic way to put the first word at .25\paperwidth than inserting a tiny invisible space before the \blank? Thanks! Best, Sylvain ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___