[NTG-context] Hairline in header

Wolfgang Schuster schuster.wolfgang at googlemail.com
Thu Mar 3 16:39:37 CET 2011

Am 02.03.2011 um 22:12 schrieb Dr. David Endler:

> Hi Wolfgang,
> Is there also a possibility to have 2 lines below the header with different color and different thickness? 

You can use TeX’s own mechanism to draw the rules or use MetaPost.

% solution 1:

%\startsetups headerrules
%  \blackrule[width=\hsize,color=yellow,height=3pt]
%  \blackrule[width=\hsize,color=orange,height=3pt]

% solution 2:

draw origin--(OverlayWidth,0) withcolor red  withpen pencircle scaled 4 ;
draw origin--(OverlayWidth,0) withcolor blue withpen pencircle scaled 4 shifted (0,4) ;
clip currentpicture to OverlayBox ;
setbounds currentpicture to OverlayBox ;



\input knuth


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20110303/4d5885b9/attachment.html>

More information about the ntg-context mailing list