![](https://secure.gravatar.com/avatar/331902f4bde5e73f4eeac8719040822f.jpg?s=120&d=mm&r=g)
How do I get a double-spaced document? \setupinterlinespace[big] seems to do nothing ...
![](https://secure.gravatar.com/avatar/93e244d02b26f231cf608e3a3bab6728.jpg?s=120&d=mm&r=g)
On 23 Nov 2005, at 08:55, Giuseppe Bilotta wrote:
How do I get a double-spaced document? \setupinterlinespace[big] seems to do nothing ...
_______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Giuseppe, I used this for my daughter's thesis recently. \setupinterlinespace[line=1.8\bodyfontsize] %change 1.8 to whatever \setupwhitespace[big] Best wishes, Charlie ******************* Charles Doherty, Early Irish History, Room K113, School of History, John Henry Newman Building, University College Dublin, Belfield, Dublin 4 Tel: +353 1 716 8381
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
Charles Doherty wrote:
On 23 Nov 2005, at 08:55, Giuseppe Bilotta wrote:
How do I get a double-spaced document? \setupinterlinespace[big] seems to do nothing ...
_______________________________________________ ntg-context mailing list ntg-context@ntg.nl mailto:ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Giuseppe,
I used this for my daughter's thesis recently.
\setupinterlinespace[line=1.8\bodyfontsize] %change 1.8 to whatever \setupwhitespace[big]
default is 2.8ex (.72/.28 ratio), so gb may try 5.6ex Hans
![](https://secure.gravatar.com/avatar/331902f4bde5e73f4eeac8719040822f.jpg?s=120&d=mm&r=g)
Wednesday, November 23, 2005 Hans Hagen wrote:
Charles Doherty wrote:
On 23 Nov 2005, at 08:55, Giuseppe Bilotta wrote:
How do I get a double-spaced document? \setupinterlinespace[big] seems to do nothing ...
_______________________________________________ ntg-context mailing list ntg-context@ntg.nl mailto:ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Giuseppe,
I used this for my daughter's thesis recently.
\setupinterlinespace[line=1.8\bodyfontsize] %change 1.8 to whatever \setupwhitespace[big]
default is 2.8ex (.72/.28 ratio), so gb may try 5.6ex
But why doesn't \setupinterlinespace work? Or am I using the wrong syntax? -- Giuseppe "Oblomov" Bilotta
![](https://secure.gravatar.com/avatar/565476157eb3895a9c928ffce26d988d.jpg?s=120&d=mm&r=g)
Giuseppe Bilotta wrote:
Wednesday, November 23, 2005 Hans Hagen wrote:
Charles Doherty wrote:
On 23 Nov 2005, at 08:55, Giuseppe Bilotta wrote:
How do I get a double-spaced document? \setupinterlinespace[big] seems to do nothing ...
default is 2.8ex (.72/.28 ratio), so gb may try 5.6ex
But why doesn't \setupinterlinespace work? Or am I using the wrong syntax?
This works: \setupinterlinespace[big] \starttext \dorecurse{10}{\input knuth} \stoptext This doesn't: \setupinterlinespace[big] \switchtobodyfont[10pt] \starttext \dorecurse{10}{\input knuth} \stoptext But I don't know whether that's a bug or a feature or a side-effect. Cheers, Taco
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
Taco Hoekwater wrote:
Giuseppe Bilotta wrote:
Wednesday, November 23, 2005 Hans Hagen wrote:
Charles Doherty wrote:
On 23 Nov 2005, at 08:55, Giuseppe Bilotta wrote:
How do I get a double-spaced document? \setupinterlinespace[big] seems to do nothing ...
default is 2.8ex (.72/.28 ratio), so gb may try 5.6ex
But why doesn't \setupinterlinespace work? Or am I using the wrong syntax?
This works:
\setupinterlinespace[big] \starttext \dorecurse{10}{\input knuth} \stoptext
This doesn't:
\setupinterlinespace[big] \switchtobodyfont[10pt] \starttext \dorecurse{10}{\input knuth} \stoptext
But I don't know whether that's a bug or a feature or a side-effect.
interesting; this is handled in: \def\setuprelativeinterlinespace[#1]% {\processallactionsinset % \regelwit = dummy ! [#1] [ \v!on=>\oninterlineskip, \v!off=>\offinterlineskip, \v!reset=>\setfontparameters,% just \setstrut, test first \s!unknown=>\assignvalue{#1}\regelwit{1.00}{1.25}{1.50}% \spacing\regelwit]} now, (apart from \regelwit being dutch), this value is used nowhere else, so this setting will not be seen afterwards in this respect it's not a bug but just a characteristics; however, it would make sense to let it carry over, so ... i have to think about it Hans (quote old code btw)
![](https://secure.gravatar.com/avatar/331902f4bde5e73f4eeac8719040822f.jpg?s=120&d=mm&r=g)
Thursday, November 24, 2005 Hans Hagen wrote:
\def\setuprelativeinterlinespace[#1]% {\processallactionsinset % \regelwit = dummy ! [#1] [ \v!on=>\oninterlineskip, \v!off=>\offinterlineskip, \v!reset=>\setfontparameters,% just \setstrut, test first
\s!unknown=>\assignvalue{#1}\regelwit{1.00}{1.25}{1.50}% \spacing\regelwit]}
now, (apart from \regelwit being dutch), this value is used nowhere else, so this setting will not be seen afterwards
in this respect it's not a bug but just a characteristics; however, it would make sense to let it carry over, so ...
i have to think about it
It setupinterlinespace does nothing, why is it present at all? Can we get this fixed by the end of the week? It would be nice if I could use it in my thesis. Maybe also allow some numerical factor which would be a percentage of the amount ConTeXt would choose by default? So that \setupinterlinespace[fraction=1] (default) fraction = .5 (half *bleah*) fraction = 1.6 (would give what is usually intended as "doublespace" etc. -- Giuseppe "Oblomov" Bilotta
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
Giuseppe Bilotta wrote:
Thursday, November 24, 2005 Hans Hagen wrote:
\def\setuprelativeinterlinespace[#1]% {\processallactionsinset % \regelwit = dummy ! [#1] [ \v!on=>\oninterlineskip, \v!off=>\offinterlineskip, \v!reset=>\setfontparameters,% just \setstrut, test first
\s!unknown=>\assignvalue{#1}\regelwit{1.00}{1.25}{1.50}% \spacing\regelwit]}
now, (apart from \regelwit being dutch), this value is used nowhere else, so this setting will not be seen afterwards
in this respect it's not a bug but just a characteristics; however, it would make sense to let it carry over, so ...
i have to think about it
It setupinterlinespace does nothing, why is it present at all? Can we get this fixed by the end of the week? It would be nice if I could use it in my thesis.
well, it's originally meant for local usage (and then it comes after a bodyfont switch) what to think of the following 'feature': \unprotect \let\currentrelativeinterlinespace\empty \def\setuprelativeinterlinespace[#1]% {\processallactionsinset [#1] [ \v!on=>\oninterlineskip, \v!off=>\offinterlineskip, \v!reset=>\let\currentrelativeinterlinespace\empty \let\synchronizerelativeinterlinespace\relax \setfontparameters, \v!auto=>\let\synchronizerelativeinterlinespace\dosynchronizerelativeinterlinespace, \s!unknown=>\assignvalue\commalistelement\currentrelativeinterlinespace{1.00}{1.25}{1.50}% \spacing\currentrelativeinterlinespace]} \def\dosynchronizerelativeinterlinespace {\ifx\currentrelativeinterlinespace\empty\else \spacing\currentrelativeinterlinespace \fi} \let\synchronizerelativeinterlinespace\relax \appendtoks \synchronizerelativeinterlinespace \to \everybodyfont \protect so, auto let it adapt to fotn switches: \setupinterlinespace[auto,big] \switchtobodyfont[11pt] \starttext \dorecurse{10}{\input knuth} \stoptext
Maybe also allow some numerical factor which would be a percentage of the amount ConTeXt would choose by default? So that
\setupinterlinespace[fraction=1] (default) fraction = .5 (half *bleah*) fraction = 1.6 (would give what is usually intended as "doublespace"
this also works: \setupinterlinespace[1.75] Hans
participants (4)
-
Charles Doherty
-
Giuseppe Bilotta
-
Hans Hagen
-
Taco Hoekwater