ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Vit Zyka <vit.zyka@seznam.cz>
Subject: Re: interline space in setupparagraphs
Date: Tue, 01 Nov 2005 11:42:18 +0100	[thread overview]
Message-ID: <4367468A.7000402@seznam.cz> (raw)
In-Reply-To: <43612BB1.5050603@gmx.net>

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
=======================================================

      reply	other threads:[~2005-11-01 10:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-26 20:40 Gerben Wierda
2005-10-27 16:59 ` Peter Rolf
2005-10-27 17:30   ` Gerben Wierda
2005-10-27 19:34     ` Peter Rolf
2005-11-01 10:42       ` Vit Zyka [this message]

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=4367468A.7000402@seznam.cz \
    --to=vit.zyka@seznam.cz \
    --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).