ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
To: massifr@fastwebnet.it,
	mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Pablo Rodriguez <oinos@gmx.es>
Subject: Re: paragraph footnotes line height
Date: Tue, 10 Mar 2015 23:47:37 +0100	[thread overview]
Message-ID: <54FF7489.6060109@wxs.nl> (raw)
In-Reply-To: <1426024718.5746.24.camel@fastwebnet.it>

On 3/10/2015 10:58 PM, mf wrote:
> Il giorno sab, 07/03/2015 alle 10.59 +0100, Wolfgang Schuster ha
> scritto:
>>> Am 07.03.2015 um 00:08 schrieb mf <massifr@fastwebnet.it>:
>>>
>>> Hello,
>>> I'd like to know how I can set the line height of paragraph footnotes.
>>> They get the line height set with \setupinterlinespace, whether I use
>>> the grid or not.
>>> Here's my configuration:
>>>
>>> \setupnotation[footnote][
>>>   alternative=serried,
>>>   numbercommand=,
>>>   numberstopper=,
>>>   numbercommand=\high,
>>>   numberconversion=a,
>>>   way=bypage,
>>>   width=0pt,
>>>   location=page
>>> ]
>>> \setupnote[footnote][
>>>   paragraph=yes,
>>>   inbetween= \emdash{} ,
>>>   location=page
>>> ]
>>
>> \startsetups[footnote:interlinespace]
>>    \setupinterlinespace[line=10pt]
>> \stopsetups
>>
>> \setupnote[footnote][setups=footnote:interlinespace]
>>
>> Wolfgang
>
> I have found a solution, searching with docfetcher for the occurrencies
> of "\baselineskip" in all the ConTeXt documentation I've downloaded.
> In "LaTeX in proper ConTeXt", at page 26, Berend de Boer shows how to
> set the the interline space relatively to the body font size.
>
> My layout has a body font size of 11 points on 12 points of interline
> space; I'm using grid snapping (\setuplayout[ ... grid=tolerant, ... ]).
>
> Instead of setting the interline space like this:
> \setupinterlinespace[12pt]
> I've used:
> \setupinterlinespace[1.09\bodyfontsize]  % 11pt * 1.09 = 12pt
>
> This way:
> - the paragraph footnotes' interline space is less than the 12 points of
> the grid
> - Wolfgang's solution works too:
>    \startsetups[footnote:interlinespace]
>      \setupinterlinespace[line=1.2\bodyfontsize]
>    \stopsetups
>    but only to widen the interline space of footnotes;
>
> When I try to shrink the footnotes' interline space with:
>    \startsetups[footnote:interlinespace]
>      \setupinterlinespace[line=.9\bodyfontsize]
>    \stopsetups
> the only vertical space that shrinks it the one between the bottom of
> the main text and the footnotes' top.
>
> Have you an explanation for that behaviour? I'm new to ConTeXt and I
> still need to develop a "ConTeXt mindset"; perhaps the people who know
> how ConTeXt works will find that understandable.
> Any hint is welcome.

the defaults are these:

\setupinterlinespace
   [height=.72,
    depth=.28,
    line=2.8\exheight]

so you can try for instance

\setupinterlinespace
   [line=3.2\exheight]

the height/depth are ratios used in struts etc



-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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:[~2015-03-10 22:47 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-06 23:08 mf
2015-03-07  9:59 ` Wolfgang Schuster
2015-03-07 10:42   ` Pablo Rodriguez
2015-03-07 23:46   ` mf
2015-03-10 21:58   ` mf
2015-03-10 22:47     ` Hans Hagen [this message]
2015-03-09 13:28 massifr

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=54FF7489.6060109@wxs.nl \
    --to=pragma@wxs.nl \
    --cc=massifr@fastwebnet.it \
    --cc=ntg-context@ntg.nl \
    --cc=oinos@gmx.es \
    /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).