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