* margin text headings
@ 2006-01-20 17:37 Idris Samawi Hamid
0 siblings, 0 replies; only message in thread
From: Idris Samawi Hamid @ 2006-01-20 17:37 UTC (permalink / raw)
Dear consortium,
In
\setuptexttexts[margin]
it would be nice to have an option for the margin text (used for headings
here) to start from the top of the textblock, instead of the middle,
something like
marginposition = top, middle % middle is default
\setuptexttexts[margin][][\setups{text a}][\setups{text b}][]
\setuptext[marginposition=top,state=high,]
As is one has to do alot of guesswork. Can this be implemented (if it is
not already)?
In any case, is there a better way to do this (see example file)?
Best
Idris
===============================================================
% output=pdf interface=en
%\setuppapersize [A5][A4]
\newdimen\Margin
\Margin=1.5cm
\newdimen\MarginRaise
\MarginRaise=112.6ex % guesswork
\setuptexttexts[margin][][\setups{text a}][\setups{text b}][]
\setuptext[style=\it,state=high]
\startsetups[text a]
\raise\MarginRaise\hbox{\vtop{\hsize=\Margin%
\startalignment[right]
Testing Knuth 2
\stopalignment
}}
\stopsetups
\startsetups[text b]
\raise\MarginRaise\hbox{\vtop{\hsize=\Margin%
\startalignment[right]
Testing Knuth 1
\stopalignment
}} \stopsetups
\setuppagenumbering[alternative=doublesided,
location={footer,middle}]
\showframe
\starttext
\dorecurse{20}{\input knuth\par }
\stoptext
===============================================================
--
Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-01-20 17:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-20 17:37 margin text headings Idris Samawi Hamid
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).