ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \moveongrid
@ 2001-10-12 17:57 Marco Kuhlmann
  2001-10-12 18:21 ` \moveongrid Berend de Boer
  0 siblings, 1 reply; 5+ messages in thread
From: Marco Kuhlmann @ 2001-10-12 17:57 UTC (permalink / raw)


    Hi all,

I am currently preparing a setup for my Master's thesis. The
regulations want me to typeset the main text with 1.5 line
spacing, quotations and notes with single line spacing. This is
quite cumbersome, as I would have loved to use a grid layout.
But in the worst case, a quotation could end at a place where I
would need to insert a whitespace of 1.5 grid lines to snap
back onto grid again.

Does anyone know of a neat way to handle this? (It would be
easiest, I guess, to forget about the grid...)

    Cheers,
    Marco

-- 
Marco Kuhlmann                             marco.kuhlmann@gmx.net


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: \moveongrid
  2001-10-12 17:57 \moveongrid Marco Kuhlmann
@ 2001-10-12 18:21 ` Berend de Boer
  2001-10-12 18:41   ` \moveongrid Marco Kuhlmann
  2001-10-15  7:43   ` \moveongrid Hans Hagen
  0 siblings, 2 replies; 5+ messages in thread
From: Berend de Boer @ 2001-10-12 18:21 UTC (permalink / raw)
  Cc: ConTeXt ML

Marco Kuhlmann <marco.kuhlmann@gmx.net> writes:

> I am currently preparing a setup for my Master's thesis. The
> regulations want me to typeset the main text with 1.5 line
> spacing, quotations and notes with single line spacing. This is
> quite cumbersome, as I would have loved to use a grid layout.
> But in the worst case, a quotation could end at a place where I
> would need to insert a whitespace of 1.5 grid lines to snap
> back onto grid again.
> 
> Does anyone know of a neat way to handle this? (It would be
> easiest, I guess, to forget about the grid...)

I don't see any problems here. Just set line spacing with:

\setupinterlinespace[1.5]

(whatever) and grids should still work. As far as I know grid
typesetting just removes the stretch in the page.

for quotations do something like:

\setupquotation
        [before={\start\setupinterlinespace[1]},
         after=\stop]

-- 
Groetjes,

Berend. (-:


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: \moveongrid
  2001-10-12 18:21 ` \moveongrid Berend de Boer
@ 2001-10-12 18:41   ` Marco Kuhlmann
  2001-10-15  7:45     ` \moveongrid Hans Hagen
  2001-10-15  7:43   ` \moveongrid Hans Hagen
  1 sibling, 1 reply; 5+ messages in thread
From: Marco Kuhlmann @ 2001-10-12 18:41 UTC (permalink / raw)


    Hi Berend!

Berend de Boer wrote (2001-10-12 (20:21)):

> I don't see any problems here. Just set line spacing with:
> 
> \setupinterlinespace[1.5]

Hmm, that does not affect the grid at all. Only if I use

    \setupinterlinespace[line=4.29ex]

or something like that.

> (whatever) and grids should still work. As far as I know grid
> typesetting just removes the stretch in the page.

But what I want to do with the grid is to accomplish that when
you look "through" the paper from one side of the ark, the
lines on the other side vertically align with the lines of this
side. If you use \showgrid, grids seem to do just that.

> for quotations do something like:
> 
> \setupquotation
>         [before={\start\setupinterlinespace[1]},
>          after=\stop]

Doesn't work for me, sorry. Nothing happens with regard to the
interline spacing.

    Marco

-- 
Marco Kuhlmann                             marco.kuhlmann@gmx.net


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: \moveongrid
  2001-10-12 18:21 ` \moveongrid Berend de Boer
  2001-10-12 18:41   ` \moveongrid Marco Kuhlmann
@ 2001-10-15  7:43   ` Hans Hagen
  1 sibling, 0 replies; 5+ messages in thread
From: Hans Hagen @ 2001-10-15  7:43 UTC (permalink / raw)
  Cc: Marco Kuhlmann, ConTeXt ML

At 08:21 PM 10/12/2001 +0200, Berend de Boer wrote:
>Marco Kuhlmann <marco.kuhlmann@gmx.net> writes:
>
> > I am currently preparing a setup for my Master's thesis. The
> > regulations want me to typeset the main text with 1.5 line
> > spacing, quotations and notes with single line spacing. This is
> > quite cumbersome, as I would have loved to use a grid layout.
> > But in the worst case, a quotation could end at a place where I
> > would need to insert a whitespace of 1.5 grid lines to snap
> > back onto grid again.
> >
> > Does anyone know of a neat way to handle this? (It would be
> > easiest, I guess, to forget about the grid...)
>
>I don't see any problems here. Just set line spacing with:
>
>\setupinterlinespace[1.5]
>
>(whatever) and grids should still work. As far as I know grid
>typesetting just removes the stretch in the page.
>
>for quotations do something like:
>
>\setupquotation
>         [before={\start\setupinterlinespace[1]},
>          after=\stop]

By default context does not add much stretch to whitespace, so i suggest 
that in your case you just turn off the grid and do the following:

\setupwhitespace[line]
\setupblank[line]

(or halfline); then as berend suggests, you can tune the quotations; i 
suggest that you add \endgraf before \stop

Hans

-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: \moveongrid
  2001-10-12 18:41   ` \moveongrid Marco Kuhlmann
@ 2001-10-15  7:45     ` Hans Hagen
  0 siblings, 0 replies; 5+ messages in thread
From: Hans Hagen @ 2001-10-15  7:45 UTC (permalink / raw)
  Cc: ConTeXt ML

At 07:41 PM 10/12/2001 +0100, Marco Kuhlmann wrote:

> >         [before={\start\setupinterlinespace[1]},
> >          after=\stop]
>
>Doesn't work for me, sorry. Nothing happens with regard to the
>interline spacing.

that's because you end the paragraph outside the group

   \start par bound settings .... \endgraf\stop

so you need after=\endgraf\stop

tex applies the settings at the end of a par (when breaking into lines); 
the same for left and right skips and indentation an dso

Hans

-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2001-10-15  7:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-12 17:57 \moveongrid Marco Kuhlmann
2001-10-12 18:21 ` \moveongrid Berend de Boer
2001-10-12 18:41   ` \moveongrid Marco Kuhlmann
2001-10-15  7:45     ` \moveongrid Hans Hagen
2001-10-15  7:43   ` \moveongrid Hans Hagen

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).