ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Steffen Wolfrum <xmailings@estfiles.de>
Subject: Re: Re: Hot to calculate width=\textwidth - \bodyfontsize
Date: Thu, 11 Sep 2003 12:30:35 +0200	[thread overview]
Message-ID: <a05210601bb85fca02a90@[217.184.17.48]> (raw)

Thank you very much Patrick!

May I ask you please for help also for another urgent problem?

I still have no idea to setup the linespacing for the different 
elements like footnote, headings etc.


In LaTeX it was quite easy (\fontsize{size_of_font}{linespacing}\selectfont):

\renewcommand{\normalsize}{\fontsize{10pt}{13pt}\selectfont}
\renewcommand{\footnotesize}{\fontsize{8.5pt}{10pt}\selectfont}
\newcommand{\heading_1}{\fontsize{14}{20}\selectfont}
\newcommand{\heading_2}{\fontsize{12}{14}\selectfont}

But how to write this in ConTeXt (i.e. set up in pt not in ex)?


Thank you again,

Steffen




Patrick Gundlach <pg@levana.de> wrote:

>  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

                 reply	other threads:[~2003-09-11 10:30 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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='a05210601bb85fca02a90@[217.184.17.48]' \
    --to=xmailings@estfiles.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).