Re: [NTG-context] line spacing (\setupinterlinespace) with grid

2015-04-08 Thread Csikos Bela
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
___

[NTG-context] line spacing (\setupinterlinespace) with grid

2015-04-08 Thread Csikos Bela
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

linespacing-with-grid-on.pdf
Description: Adobe PDF document


linespacing-with-grid-off.pdf
Description: Adobe PDF document
___
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
___

Re: [NTG-context] line spacing (\setupinterlinespace) with grid

2015-04-08 Thread Csikos Bela
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
___

Re: [NTG-context] line spacing (\setupinterlinespace) with grid

2015-04-08 Thread Pablo Rodriguez
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
___

Re: [NTG-context] line spacing (\setupinterlinespace) with grid

2015-04-08 Thread Pablo Rodriguez
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
___