From: "Martin Kolarík" <martin@mii.cz>
Subject: RE: values relative to \textwidth etc.
Date: Thu, 20 Mar 2003 08:43:28 +0100 [thread overview]
Message-ID: <000e01c2eeb4$6588e6f0$2197fac3@mii.cz> (raw)
In-Reply-To: <3E792F20.60406@zam.att.ne.jp>
> Is it possible to specify a value relative to a variable like \textwidth
> or \pageheight etc. For example, is there a way to get 1/3 of \textwidth?
You always can use TeX's multiplying of dimension with constant like:
\setuplayout
[leftmargin=0.33333\textwidth]
or for sophisticated expressions you can use ConTeXt's \dimexpr:
\setuplayout
[leftmargin=\dimexpr(0.33333\textwidth+3cm+\topspace)]
Martin
next prev parent reply other threads:[~2003-03-20 7:43 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-20 3:01 Matthew Huggett
2003-03-20 7:43 ` Martin Kolarík [this message]
2003-03-20 8:19 ` Patrick Gundlach
2003-03-21 21:01 ` Willi Egger
2003-03-22 12:25 ` Patrick Gundlach
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='000e01c2eeb4$6588e6f0$2197fac3@mii.cz' \
--to=martin@mii.cz \
--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).