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 <mass...@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
___________________________________________________________________________________