Thanks Wolfgang! Bart On Monday 15 December 2008 04:48:03 pm Wolfgang Schuster wrote: > Am 16.12.2008 um 00:29 schrieb Bart C. Wise: > > I'm trying to create a section at the bottom of a page that has a > > number of > > blank lines for writing notes. However, I want the frame and the > > lines to be > > automatically generated from the remaining space on the page. How do I > > control the number of lines and the frame height to achieve the > > desired > > results? > > > > \starttext > > \input tufte > > \blank > > \framed[ > > corner=00 > > ]{ > > \vbox{ > > Notes:\crlf > > \dorecurse{4}{\crlf\thinrule} > > }} > > \stoptext > > Thanks, > > Bart > > %\showframe > > \starttext > > \input tufte > > \blank > > \framed[corner=00,align=right,width=\textwidth] > {\getnoflines{\dimexpr\pagegoal-\pagetotal-2\lineheight\relax}% > Notes:\crlf > \thinrules[n=\noflines]} > > \stoptext > > Wolfgang
___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________