From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/11519 Path: main.gmane.org!not-for-mail From: =?iso-8859-1?Q?Martin_Kolar=EDk?= Newsgroups: gmane.comp.tex.context Subject: RE: values relative to \textwidth etc. Date: Thu, 20 Mar 2003 08:43:28 +0100 Sender: ntg-context-admin@ntg.nl Message-ID: <000e01c2eeb4$6588e6f0$2197fac3@mii.cz> References: <3E792F20.60406@zam.att.ne.jp> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1048146365 24543 80.91.224.249 (20 Mar 2003 07:46:05 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 20 Mar 2003 07:46:05 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Thu Mar 20 08:46:04 2003 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18vukW-0006Ni-00 for ; Thu, 20 Mar 2003 08:46:04 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 4CCA610B5C; Thu, 20 Mar 2003 08:46:06 +0100 (MET) Original-Received: from belinda.mii.cz (rhea.mii.cz [212.27.214.13]) by ref.ntg.nl (Postfix) with SMTP id 4729510B15 for ; Thu, 20 Mar 2003 08:43:28 +0100 (MET) Original-Received: (qmail 25545 invoked from network); 20 Mar 2003 07:43:28 -0000 Original-Received: from enceladus.mii.cz (HELO enceladus) (195.250.151.33) by belinda.mii.cz with SMTP; 20 Mar 2003 07:43:28 -0000 Original-To: X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 In-Reply-To: <3E792F20.60406@zam.att.ne.jp> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk X-Reply-To: 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:11519 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:11519 > 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