[NTG-context] Add a headrule to the header and reduzie interlinespacing in narrower
luigi scarso
luigi.scarso at gmail.com
Sun May 13 11:55:37 CEST 2007
On 5/11/07, Bert Trüger <xulxer at 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
hmm, at http://texshow.contextgarden.net/
search for \setupinterlinespace
--
luigi
----------------------------------------------------------------
If your question is of interest to others as well, please add an entry to
the Wiki!
maillist : ntg-context at ntg.nl /
http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.ntg.nl/pipermail/ntg-context/attachments/20070513/2f318178/attachment-0001.html
More information about the ntg-context
mailing list