ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: Re: Hot to calculate width=\textwidth - \bodyfontsize
@ 2003-09-11 10:30 Steffen Wolfrum
  0 siblings, 0 replies; only message in thread
From: Steffen Wolfrum @ 2003-09-11 10:30 UTC (permalink / 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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-09-11 10:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-11 10:30 Re: Hot to calculate width=\textwidth - \bodyfontsize Steffen Wolfrum

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).