On 5/11/07, Bert Trüger <xulxer@gmail.com> wrote:
Hi,
I have two problems. Firstly, I'd like to insert a headrule in textwidht under the headertext
maybe this can help you:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%\showframe
\setupcolors[state=start]
\defineoverlay[HeadBack][{%
\vbox to \headerheight{%\hsize=\textwidth%
\vss%
\color[black]{\vrule width\textwidth height1pt depth0pt}
\vskip2pt}%
}]
\defineoverlay[HeadBackWrong][{%
\vbox to \headerheight{%\hsize=\textwidth%
\vss%
\color[red]{\vrule width\textwidth height2pt depth0pt}
\vskip2pt}%
}]
\setupbackgrounds[header][background=HeadBack]
%% This fails
%% \setupbackgrounds[header][background=HeadBackWrong]
%% maybe a bug in context ?
\starttext
\input tufte
\stoptext
%%%%%%%%%%%%%%%%%
and secondly I am using the narrower-environement for citation, but instead of big interlinespace I'd prefer medium interlinespace