From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/13194 Path: main.gmane.org!not-for-mail From: Steffen Wolfrum Newsgroups: gmane.comp.tex.context Subject: Re: Re: Hot to calculate width=\textwidth - \bodyfontsize Date: Thu, 11 Sep 2003 12:30:35 +0200 Sender: ntg-context-admin@ntg.nl Message-ID: Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Trace: sea.gmane.org 1063276629 384 80.91.224.253 (11 Sep 2003 10:37:09 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 11 Sep 2003 10:37:09 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Thu Sep 11 12:37:07 2003 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19xOp1-0008Bm-00 for ; Thu, 11 Sep 2003 12:37:07 +0200 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 13F8C10BB1; Thu, 11 Sep 2003 12:37:04 +0200 (MEST) Original-Received: from smtprelay01.ispgateway.de (smtprelay01.ispgateway.de [62.67.200.156]) by ref.ntg.nl (Postfix) with ESMTP id 71F7010B34 for ; Thu, 11 Sep 2003 12:30:49 +0200 (MEST) Original-Received: (qmail 12495 invoked from network); 11 Sep 2003 10:30:46 -0000 Original-Received: from unknown (HELO [217.184.17.48]) (664943@[217.184.8.108]) (envelope-sender ) by smtprelay01.ispgateway.de (qmail-ldap-1.03) with SMTP for ; 11 Sep 2003 10:30:46 -0000 X-Sender: 664943@pop3.estfiles.de Original-To: ntg-context@ntg.nl Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:13194 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:13194 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 wrote: > Hi, > > Steffen Wolfrum 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