![](https://secure.gravatar.com/avatar/5955e8e90611e77ccbfc7721b6112027.jpg?s=120&d=mm&r=g)
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 ___________________________________________________________________________________