* lines tightly fitting together
@ 2011-03-01 18:58 Hans van der Meer
2011-03-01 19:21 ` Wolfgang Schuster
2011-03-01 23:06 ` Hartmut Henkel
0 siblings, 2 replies; 9+ messages in thread
From: Hans van der Meer @ 2011-03-01 18:58 UTC (permalink / raw)
To: NTG ConTeXt
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
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: lines tightly fitting together
2011-03-01 18:58 lines tightly fitting together Hans van der Meer
@ 2011-03-01 19:21 ` Wolfgang Schuster
2011-03-01 20:06 ` Hans van der Meer
2011-03-01 23:06 ` Hartmut Henkel
1 sibling, 1 reply; 9+ messages in thread
From: Wolfgang Schuster @ 2011-03-01 19:21 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: lines tightly fitting together
2011-03-01 19:21 ` Wolfgang Schuster
@ 2011-03-01 20:06 ` Hans van der Meer
2011-03-01 20:10 ` Hans van der Meer
0 siblings, 1 reply; 9+ messages in thread
From: Hans van der Meer @ 2011-03-01 20:06 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: lines tightly fitting together
2011-03-01 20:06 ` Hans van der Meer
@ 2011-03-01 20:10 ` Hans van der Meer
2011-03-01 20:25 ` Wolfgang Schuster
0 siblings, 1 reply; 9+ messages in thread
From: Hans van der Meer @ 2011-03-01 20:10 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
> ___________________________________________________________________________________
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: lines tightly fitting together
2011-03-01 18:58 lines tightly fitting together Hans van der Meer
2011-03-01 19:21 ` Wolfgang Schuster
@ 2011-03-01 23:06 ` Hartmut Henkel
1 sibling, 0 replies; 9+ messages in thread
From: Hartmut Henkel @ 2011-03-01 23:06 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2011-03-02 10:02 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-01 18:58 lines tightly fitting together Hans van der Meer
2011-03-01 19:21 ` Wolfgang Schuster
2011-03-01 20:06 ` Hans van der Meer
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
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).