ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans van der Meer <H.vanderMeer@uva.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: lines tightly fitting together
Date: Tue, 1 Mar 2011 21:06:22 +0100	[thread overview]
Message-ID: <FF0CE65A-B938-4632-8FF4-B8A26606281F@uva.nl> (raw)
In-Reply-To: <55F7206E-E77B-4360-93AA-0B91C1A07DD0@gmail.com>


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]}
___________________________________________________________________________________
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
___________________________________________________________________________________


  reply	other threads:[~2011-03-01 20:06 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-01 18:58 Hans van der Meer
2011-03-01 19:21 ` Wolfgang Schuster
2011-03-01 20:06   ` Hans van der Meer [this message]
2011-03-01 20:10     ` Hans van der Meer
2011-03-01 20:25       ` Wolfgang Schuster
     [not found]         ` <D7954E07-DF49-4603-87C5-FA9A61F42BF0@uva.nl>
     [not found]           ` <CCE9257C-A22E-4DD3-9B14-4E4426212BEF@gmail.com>
2011-03-02  8:22             ` Hans van der Meer
2011-03-02  8:33               ` luigi scarso
2011-03-02 10:02                 ` Hans van der Meer
2011-03-01 23:06 ` Hartmut Henkel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=FF0CE65A-B938-4632-8FF4-B8A26606281F@uva.nl \
    --to=h.vandermeer@uva.nl \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).