From: Stuart Jansen <sjansen@gurulabs.com>
Subject: Re: is it possible to add lengths?
Date: Sat, 09 Jul 2005 00:56:32 -0600 [thread overview]
Message-ID: <1120892192.3607.3.camel@localhost.localdomain> (raw)
In-Reply-To: <20050709055350.GB27726@localhost.localdomain>
[-- Attachment #1.1: Type: text/plain, Size: 487 bytes --]
On Sat, 2005-07-09 at 01:53 -0400, Paul Tremblay wrote:
> Is it possible to add lengths in ConTexT?
>
> backspace= 55m + 1in
I don't know enough about ConTeXt to declare this The Right Way(tm), but
here's one way that Works For Me(tm):
\starttext
\newdimen\mydimen
\mydimen=1in
\hbox{\framed[height=\mydimen,width=1in]{before}
\advance\mydimen by 55mm
\framed[height=\mydimen,width=1in]{after}}
\stoptext
--
Stuart Jansen <sjansen@gurulabs.com>
Guru Labs, L.C.
[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
[-- Attachment #2: Type: text/plain, Size: 139 bytes --]
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
next prev parent reply other threads:[~2005-07-09 6:56 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-09 5:53 Paul Tremblay
2005-07-09 6:56 ` Stuart Jansen [this message]
2005-07-09 7:55 ` Mikael Persson
2005-07-09 8:47 ` Hans Hagen
2005-07-09 8:52 ` Vit Zyka
2005-07-09 20:59 ` Paul Tremblay
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=1120892192.3607.3.camel@localhost.localdomain \
--to=sjansen@gurulabs.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).