Re: [NTG-context] after with fixed position
On 05/01/2016 04:32 PM, Aditya Mahajan wrote: > On Sun, 1 May 2016, Pablo Rodriguez wrote: > >> For future reference (and replying to myself), the solution may read: > > OT, but ... > >>\define[2]\chapterframe{\framed[frame=off, height={10em}, >>align=high]{#2}} > > you can define a new frame using: > > \defineframed[chapterframe][frame=off, height=10mm, align=high] Many thanks for the tipp, Aditya. Pablo -- http://www.ousia.tk ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] after with fixed position
On Sun, 1 May 2016, Pablo Rodriguez wrote: For future reference (and replying to myself), the solution may read: OT, but ... \define[2]\chapterframe{\framed[frame=off, height={10em}, align=high]{#2}} you can define a new frame using: \defineframed[chapterframe][frame=off, height=10mm, align=high] Aditya ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] after with fixed position
On 03/16/2016 03:35 PM, Pablo Rodriguez wrote: > Dear list, > > I have the following sample: > > \showgrid > \setuphead[chapter][after={\blank[10*big]}] > \starttext > \chapter{Knuth} > \input knuth > \chapter{Zapf} > \input zapf > \chapter{Knuth\\\&\\Zapf} > \input zapf\par\input zapf > \stoptext > > How could I have the text after the chapter heading with a fixed > distance, no matter how many lines the title itself has? For future reference (and replying to myself), the solution may read: \showgrid \define[2]\chapterframe{\framed[frame=off, height={10em}, align=high]{#2}} \setuphead[chapter][command={\chapterframe}] \starttext \chapter{Knuth} \input knuth \chapter{Zapf} \input zapf \chapter{Knuth\\\&\\Zapf} \input zapf\par\input zapf \stoptext The code comes from the user that reported the issue at https://github.com/ousia/context-critica/issues/1. Just in case it may be useful to anyone, Pablo -- http://www.ousia.tk ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] after with fixed position
Dear list, I have the following sample: \showgrid \setuphead[chapter][after={\blank[10*big]}] \starttext \chapter{Knuth} \input knuth \chapter{Zapf} \input zapf \chapter{Knuth\\\&\\Zapf} \input zapf\par\input zapf \stoptext How could I have the text after the chapter heading with a fixed distance, no matter how many lines the title itself has? Many thanks for your help, Pablo -- http://www.ousia.tk ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___