Re: [NTG-context] interline space in setupparagraphs

2005-11-01 Thread Vit Zyka

Peter Rolf wrote:

Gerben Wierda wrote:


On 27 Oct 2005, at 18:59, Peter Rolf wrote:



Hi Gerben,

Gerben Wierda wrote:



I have:

\setupinterlinespace[medium]



\setupinterlinespace[line=\dimexpr1.25\bodyfontsize\relax]



That works. But why? And does this relate to the fact that textrule 
spacing as done normally is not used inside the paragraph (see other 
thread)?




I was also surprised, that a bold variant of the same size is handled
differently.
The interlinespace is calculated each time you change the body font (so
in your case at the start of the columns). Maybe bold adds some extra to
the line factor? Better ask the font wizzards...


By default, the interlinespace is set to 2.8ex. But ex unit may be 
dependent to the font variant (tf, bf, ...). So setting fix distance or 
distance based on \bodyfontsize solves the problem.


vit


And this works, because the \bodyfontsize is equal for both variants.
Using only the line-parameter is maybe not enough, so it's safer to
change it after calling \setupinterlinespace[medium].

Peter



G
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context





___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context



--
===
Ing. Vít Zýka, Ph.D. TYPOkvítek

database publishing  databazove publikovani
data maintaining and typesetting in typographic quality
priprava dat a jejich sazba v typograficke kvalite

tel.: (+420) 777 198 189 www: http://typokvitek.com
===

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] interline space in setupparagraphs

2005-10-27 Thread Peter Rolf
Hi Gerben,

Gerben Wierda wrote:
 I have:
 
 \setupinterlinespace[medium]
\setupinterlinespace[line=\dimexpr1.25\bodyfontsize\relax]

 \defineparagraphs
 [mypar][n=2,before={\blank[small]},after={\blank[small]}]
 \setupparagraphs
 [mypar][1][width=.15\textwidth,style=bold]
 \setupparagraphs
 [mypar][2][width=.85\textwidth]
 
 But the lines in mypar are closely packed while others have medium
 inteline spacing. What should I do?
 
 G
 
 ___
 ntg-context mailing list
 ntg-context@ntg.nl
 http://www.ntg.nl/mailman/listinfo/ntg-context
 
 

The normal and the bold variant seem to have different interline
spacing. So simply use a fixed value for your example.

Greetings,

Peter
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] interline space in setupparagraphs

2005-10-27 Thread Gerben Wierda


On 27 Oct 2005, at 18:59, Peter Rolf wrote:


Hi Gerben,

Gerben Wierda wrote:


I have:

\setupinterlinespace[medium]


\setupinterlinespace[line=\dimexpr1.25\bodyfontsize\relax]


That works. But why? And does this relate to the fact that textrule  
spacing as done normally is not used inside the paragraph (see other  
thread)?


G
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] interline space in setupparagraphs

2005-10-27 Thread Peter Rolf
Gerben Wierda wrote:
 
 On 27 Oct 2005, at 18:59, Peter Rolf wrote:
 
 Hi Gerben,

 Gerben Wierda wrote:

 I have:

 \setupinterlinespace[medium]

 \setupinterlinespace[line=\dimexpr1.25\bodyfontsize\relax]
 
 
 That works. But why? And does this relate to the fact that textrule 
 spacing as done normally is not used inside the paragraph (see other 
 thread)?
 
I was also surprised, that a bold variant of the same size is handled
differently.
The interlinespace is calculated each time you change the body font (so
in your case at the start of the columns). Maybe bold adds some extra to
the line factor? Better ask the font wizzards...

And this works, because the \bodyfontsize is equal for both variants.
Using only the line-parameter is maybe not enough, so it's safer to
change it after calling \setupinterlinespace[medium].

Peter

 G
 ___
 ntg-context mailing list
 ntg-context@ntg.nl
 http://www.ntg.nl/mailman/listinfo/ntg-context
 
 

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] interline space in setupparagraphs

2005-10-26 Thread Gerben Wierda

I have:

\setupinterlinespace[medium]
\defineparagraphs
[mypar][n=2,before={\blank[small]},after={\blank[small]}]
\setupparagraphs
[mypar][1][width=.15\textwidth,style=bold]
\setupparagraphs
[mypar][2][width=.85\textwidth]

But the lines in mypar are closely packed while others have medium 
inteline spacing. What should I do?


G

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context