ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Matthew Baker <Matthew.Baker@gmd.de>
Subject: Re: Fixed width form field
Date: Fri, 15 Oct 1999 15:16:14 +0200 (MEST)	[thread overview]
Message-ID: <Pine.LNX.4.10.9910151514550.523-100000@ahania.gmd.de> (raw)
In-Reply-To: <38037150.3618B501@wxs.nl>

On Tue, 12 Oct 1999, Hans Hagen wrote:

> A quick tip (untested)
> 
> \setbox0=\hbox{#1}% label
> \dimen0=60mm
> \advance\dimen0 by -\wd0 
> \advende\dimen0 by <offsets> % try some 2ex  
> <set width of field to \dimen0> % if needed \edef\TheWidth{\the\dimen0}
> ... width=\TheWidth

Yes, that worked.  I should be able to incorporate this into my putfield
macro now.  Thanks!

- Matt

--
Dr. Matthew Baker           matthew.baker@gmd.de
GMD - FIT.MMK               http://fit.gmd.de/hci/pages/matthew.baker.html


      reply	other threads:[~1999-10-15 13:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-10-12 14:09 Matthew Baker
1999-10-12 17:35 ` Hans Hagen
1999-10-15 13:16   ` Matthew Baker [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=Pine.LNX.4.10.9910151514550.523-100000@ahania.gmd.de \
    --to=matthew.baker@gmd.de \
    /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).