* line spacing (\setupinterlinespace) with grid
@ 2015-04-08 15:54 Csikos Bela
2015-04-08 16:49 ` Pablo Rodriguez
0 siblings, 1 reply; 5+ messages in thread
From: Csikos Bela @ 2015-04-08 15:54 UTC (permalink / raw)
To: ntg-context
[-- Attachment #1: Type: TEXT/plain, Size: 906 bytes --]
Hello:
When I set grid layout on (\setuplayout[grid=yes]) \setupinterlinespace has no effect.
Here is an example:
\setuplayout[grid=yes] % or grid=no
\starttext
\input tufte \par
\setupinterlinespace[small]
\input tufte \par
\setupinterlinespace[medium]
\input tufte \par
\setupinterlinespace[big]
\input tufte \par
\setupinterlinespace[1]
\input tufte \par
\setupinterlinespace[1.3]
\input tufte \par
\setupinterlinespace[1.5]
\input tufte \par
\setupinterlinespace[2]
\input tufte \par
\setupinterlinespace[3]
\input tufte
\stoptext
I attach the correpsonding pdf outputs (with grid on and off).
My context version according to the log files:
tex/texmf-context/tex/context/base/cont-yes.mkiv
ConTeXt ver: 2014.01.03 00:40 MKIV current fmt: 2015.4.1 int: english/english
system > 'cont-new.mkiv' loaded
How can I change/set line spacing when grid layout is turned on?
Thanks,
bcsikos
[-- Attachment #2: linespacing-with-grid-on.pdf --]
[-- Type: APPLICATION/pdf, Size: 10825 bytes --]
[-- Attachment #3: linespacing-with-grid-off.pdf --]
[-- Type: APPLICATION/pdf, Size: 12534 bytes --]
[-- Attachment #4: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: line spacing (\setupinterlinespace) with grid
2015-04-08 15:54 line spacing (\setupinterlinespace) with grid Csikos Bela
@ 2015-04-08 16:49 ` Pablo Rodriguez
2015-04-08 17:12 ` Csikos Bela
0 siblings, 1 reply; 5+ messages in thread
From: Pablo Rodriguez @ 2015-04-08 16:49 UTC (permalink / raw)
To: mailing list for ConTeXt users
On 04/08/2015 05:54 PM, Csikos Bela wrote:
> Hello:
>
> When I set grid layout on (\setuplayout[grid=yes]) \setupinterlinespace has no effect.
Hi Csikos,
I guess this is intended. \setuplayout[grid=yes] may impose that all
lines have to be exactly over the grid lines.
It is only an educated guess, but type at the top of your document:
\showgrid
The difference (even if you add a \title or a \chapter) may be revealng.
Just in case I’m not wrong :-),
Pablo
> Here is an example:
>
> \setuplayout[grid=yes] % or grid=no
> \starttext
> \input tufte \par
> \setupinterlinespace[small]
> \input tufte \par
> \setupinterlinespace[medium]
> \input tufte \par
> \setupinterlinespace[big]
> \input tufte \par
> \setupinterlinespace[1]
> \input tufte \par
> \setupinterlinespace[1.3]
> \input tufte \par
> \setupinterlinespace[1.5]
> \input tufte \par
> \setupinterlinespace[2]
> \input tufte \par
> \setupinterlinespace[3]
> \input tufte
> \stoptext
>
> I attach the correpsonding pdf outputs (with grid on and off).
> My context version according to the log files:
>
> tex/texmf-context/tex/context/base/cont-yes.mkiv
>
> ConTeXt ver: 2014.01.03 00:40 MKIV current fmt: 2015.4.1 int: english/english
>
> system > 'cont-new.mkiv' loaded
>
> How can I change/set line spacing when grid layout is turned on?
>
> Thanks,
>
> bcsikos
>
>
>
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
>
--
http://www.ousia.tk
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: line spacing (\setupinterlinespace) with grid
2015-04-08 16:49 ` Pablo Rodriguez
@ 2015-04-08 17:12 ` Csikos Bela
2015-04-08 18:14 ` Pablo Rodriguez
0 siblings, 1 reply; 5+ messages in thread
From: Csikos Bela @ 2015-04-08 17:12 UTC (permalink / raw)
To: ntg-context
Pablo Rodriguez írta:
>On 04/08/2015 05:54 PM, Csikos Bela wrote:
>> Hello:
>>
>> When I set grid layout on (\setuplayout[grid=yes]) \setupinterlinespace has no effect.
>
>Hi Csikos,
>
>I guess this is intended. \setuplayout[grid=yes] may impose that all
>lines have to be exactly over the grid lines.
>
>It is only an educated guess, but type at the top of your document:
>
> \showgrid
>
>The difference (even if you add a \title or a \chapter) may be revealng.
>
>Just in case I’m not wrong :-),
I see what you mean. But in my opinion it should apply only if I want to change
line spacing within the text. But I would like to change the default line spacing in my
document. I think the default grid should be set based on the default line spacing.
The question here is, I guess, how the grid is set.
I think there is setting to change the default line spacing to which the grids are adjusted.
The question is how?
Thanks,
bcsikos
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: line spacing (\setupinterlinespace) with grid
2015-04-08 17:12 ` Csikos Bela
@ 2015-04-08 18:14 ` Pablo Rodriguez
2015-04-08 22:03 ` Csikos Bela
0 siblings, 1 reply; 5+ messages in thread
From: Pablo Rodriguez @ 2015-04-08 18:14 UTC (permalink / raw)
To: mailing list for ConTeXt users
On 04/08/2015 07:12 PM, Csikos Bela wrote:
> [...]
> I think there is setting to change the default line spacing to which the grids are adjusted.
> The question is how?
Add the following line before \setuplayout:
\setupinterlinespace[line=3em]
This is the standard way to set the default interline space in the document.
Pablo
--
http://www.ousia.tk
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: line spacing (\setupinterlinespace) with grid
2015-04-08 18:14 ` Pablo Rodriguez
@ 2015-04-08 22:03 ` Csikos Bela
0 siblings, 0 replies; 5+ messages in thread
From: Csikos Bela @ 2015-04-08 22:03 UTC (permalink / raw)
To: ntg-context; +Cc: Pablo Rodriguez
Pablo Rodriguez írta:
>On 04/08/2015 07:12 PM, Csikos Bela wrote:
>> [...]
>> I think there is setting to change the default line spacing to which the grids are adjusted.
>> The question is how?
>
>Add the following line before \setuplayout:
>
> \setupinterlinespace[line=3em]
>
>This is the standard way to set the default interline space in the document
Yes, it seems this is what I need.
Thanks,
bcsikos
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2015-04-08 22:03 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-08 15:54 line spacing (\setupinterlinespace) with grid Csikos Bela
2015-04-08 16:49 ` Pablo Rodriguez
2015-04-08 17:12 ` Csikos Bela
2015-04-08 18:14 ` Pablo Rodriguez
2015-04-08 22:03 ` Csikos Bela
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).