20 Mar
2003
20 Mar
'03
7:43 a.m.
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