ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Patrick Gundlach <pg@levana.de>
Subject: Re: Hot to calculate width=\textwidth - \bodyfontsize
Date: Thu, 11 Sep 2003 11:38:32 +0200	[thread overview]
Message-ID: <m27k4fr7fr.fsf@levana.de> (raw)
In-Reply-To: <a05210600bb85ef480a0b@[217.184.8.75]> (Steffen Wolfrum's message of "Thu, 11 Sep 2003 11:26:12 +0200")


Hi,

Steffen Wolfrum <xmailings@estfiles.de> writes:

> how is the syntax for adding or subtraction, like
> width=\textwidth - 12pt

if you are using etex and not afraid of strange examples:


\setuplayout[header=\dimexpr(\textwidth - 12pt)]
\starttext
\showsetups
\stoptext


Patrick
-- 
Silent is the goldfish in its bowl

      reply	other threads:[~2003-09-11  9:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-11  9:26 Steffen Wolfrum
2003-09-11  9:38 ` Patrick Gundlach [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=m27k4fr7fr.fsf@levana.de \
    --to=pg@levana.de \
    --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).