* Hot to calculate width=\textwidth - \bodyfontsize
@ 2003-09-11 9:26 Steffen Wolfrum
2003-09-11 9:38 ` Patrick Gundlach
0 siblings, 1 reply; 2+ messages in thread
From: Steffen Wolfrum @ 2003-09-11 9:26 UTC (permalink / raw)
Hello, just an easy question now:
As I can calculate
width=0.5\textwidth
how is the syntax for adding or subtraction, like
width=\textwidth - 12pt
?
Steffen
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Hot to calculate width=\textwidth - \bodyfontsize
2003-09-11 9:26 Hot to calculate width=\textwidth - \bodyfontsize Steffen Wolfrum
@ 2003-09-11 9:38 ` Patrick Gundlach
0 siblings, 0 replies; 2+ messages in thread
From: Patrick Gundlach @ 2003-09-11 9:38 UTC (permalink / raw)
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
--
Silent is the goldfish in its bowl
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-09-11 9:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-11 9:26 Hot to calculate width=\textwidth - \bodyfontsize Steffen Wolfrum
2003-09-11 9:38 ` Patrick Gundlach
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).