lines tightly fitting together
![](https://secure.gravatar.com/avatar/29c7bbff49b1599eddb2ec73fd9ffa6e.jpg?s=120&d=mm&r=g)
Silly perhaps, but I am stuck with something that shouldn't be difficult to solve. I want to fill lines with small blocks (\vrule's just 0.2 mm high) and then fit the indivdual lines as tight together as is possible. Trying \setupinterlinespace[height=0.2,depth=0] did not help and the kludge \switchtobodyfont[0.1pt] does has the spirit of ConTeXt ;-) Anybody out there knowing how to do it? Hans van der Meer
![](https://secure.gravatar.com/avatar/93131e1e6e2204bd13501390d768dbdc.jpg?s=120&d=mm&r=g)
Am 01.03.2011 um 19:58 schrieb Hans van der Meer:
Silly perhaps, but I am stuck with something that shouldn't be difficult to solve. I want to fill lines with small blocks (\vrule's just 0.2 mm high) and then fit the indivdual lines as tight together as is possible. Trying \setupinterlinespace[height=0.2,depth=0] did not help and the kludge \switchtobodyfont[0.1pt] does has the spirit of ConTeXt ;-) Anybody out there knowing how to do it?
\setupinterlinespace[line=0.5mm] or use MetaPost (not sure what do you want). Wolfgang
![](https://secure.gravatar.com/avatar/29c7bbff49b1599eddb2ec73fd9ffa6e.jpg?s=120&d=mm&r=g)
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). thus works a bit: \def\startdvbscreen{DVB-screen\crlf\start\setupinterlinespace[line=0.5mm]} does not work: \def\startdvbscreen{DVB-screen\crlf\start\switchtobodyfont[0.1pt]}
![](https://secure.gravatar.com/avatar/29c7bbff49b1599eddb2ec73fd9ffa6e.jpg?s=120&d=mm&r=g)
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@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 ___________________________________________________________________________________
![](https://secure.gravatar.com/avatar/ad5afbb91c8b5ec2b1199838461a8348.jpg?s=120&d=mm&r=g)
On Tue, 1 Mar 2011, Hans van der Meer wrote:
Silly perhaps, but I am stuck with something that shouldn't be difficult to solve. I want to fill lines with small blocks (\vrule's just 0.2 mm high) and then fit the indivdual lines as tight together as is possible. Trying \setupinterlinespace[height=0.2,depth=0] did not help and the kludge \switchtobodyfont[0.1pt] does has the spirit of ConTeXt ;-) Anybody out there knowing how to do it?
maybe \lineskip=0pt helps? Regards, Hartmut
participants (3)
-
Hans van der Meer
-
Hartmut Henkel
-
Wolfgang Schuster