From: "Bart C. Wise" <bntgcontext@wiseguysweb.com>
To: Context Mailing List <ntg-context@ntg.nl>
Subject: Re: Dynamic frame height
Date: Mon, 15 Dec 2008 17:45:00 -0700 [thread overview]
Message-ID: <200812151745.00916.bntgcontext@wiseguysweb.com> (raw)
In-Reply-To: <0B3F685D-6424-4F5E-A97B-2CC337ED2F5B@gmail.com>
[-- 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
___________________________________________________________________________________
prev parent reply other threads:[~2008-12-16 0:45 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-15 23:29 Bart C. Wise
[not found] ` <0B3F685D-6424-4F5E-A97B-2CC337ED2F5B@gmail.com>
2008-12-16 0:45 ` Bart C. Wise [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200812151745.00916.bntgcontext@wiseguysweb.com \
--to=bntgcontext@wiseguysweb.com \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).