[NTG-context] lines tightly fitting together

Hans van der Meer H.vanderMeer at uva.nl
Tue Mar 1 21:10:44 CET 2011


Sorry, mixed up what works and what not:

On 1 mrt 2011, at 21:06, Hans van der Meer wrote:

> 
> On 1 mrt 2011, at 20:21, Wolfgang Schuster wrote:
> 
>> \setupinterlinespace[line=0.5mm] or use MetaPost (not sure what do you want).
> 
> This does work out as I want it. The aim is to place lines of smallblocks, taken from an input file
> \startdvbscreen
>  \startdvbline
> 	\blok{colorvalue} % FORGET COLOR FOR NOW
>        ....
>  \stopdvbline
>  ....
> \stopdvbscreen
> 
> \def\blokheight{0.15mm}\def\blokwidth{0.19mm}
> \def\blok{\vrule width \blokwidth height \blokheight depth 0pt\ignorespaces}
> \def\startdvbline{}
> \def\stopdvbline{\crlf\vskip-0.3mm}
> \def\startdvbscreen{SEE BELOW}
> \def\stopdvbscreen{\crlf\vskip4mm\stop}
> 
> works with minimal fontsize, but the lines are not easily to get exactly tight in vertical sense (kludge with vskip of -0.3mm).

DOES NOT WORK
> 
> \def\startdvbscreen{DVB-screen\crlf\start\setupinterlinespace[line=0.5mm]}
> does not work:

DOES WORK A BIT
> \def\startdvbscreen{DVB-screen\crlf\start\switchtobodyfont[0.1pt]}
> ___________________________________________________________________________________
> 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  : http://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________



More information about the ntg-context mailing list