* Dynamic frame height @ 2008-12-15 23:29 Bart C. Wise [not found] ` <0B3F685D-6424-4F5E-A97B-2CC337ED2F5B@gmail.com> 0 siblings, 1 reply; 2+ messages in thread From: Bart C. Wise @ 2008-12-15 23:29 UTC (permalink / raw) To: Context Mailing List [-- Attachment #1.1: Type: text/plain, Size: 482 bytes --] 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 [-- Attachment #1.2: Type: text/html, Size: 3675 bytes --] [-- Attachment #2: Type: text/plain, Size: 487 bytes --] ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 2+ messages in thread
[parent not found: <0B3F685D-6424-4F5E-A97B-2CC337ED2F5B@gmail.com>]
* Re: Dynamic frame height [not found] ` <0B3F685D-6424-4F5E-A97B-2CC337ED2F5B@gmail.com> @ 2008-12-16 0:45 ` Bart C. Wise 0 siblings, 0 replies; 2+ messages in thread From: Bart C. Wise @ 2008-12-16 0:45 UTC (permalink / raw) To: Context Mailing List [-- Attachment #1.1: Type: text/plain, Size: 912 bytes --] 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 [-- Attachment #1.2: Type: text/html, Size: 7816 bytes --] [-- Attachment #2: Type: text/plain, Size: 487 bytes --] ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-12-16 0:45 UTC | newest] Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2008-12-15 23:29 Dynamic frame height Bart C. Wise [not found] ` <0B3F685D-6424-4F5E-A97B-2CC337ED2F5B@gmail.com> 2008-12-16 0:45 ` Bart C. Wise
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).