ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Lukas/ConTeXt" <lpr.context@email.cz>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Re: white-space after section-head in columns
Date: Wed, 15 Jul 2020 15:04:40 +0200 (CEST)	[thread overview]
Message-ID: <1yr.6Ap1z.51bhSTmIwc2.1V3lxe@seznam.cz> (raw)
In-Reply-To: <87wo35uecq.fsf@a16n.net>

[-- Attachment #1: Type: text/plain, Size: 1944 bytes --]

Hello Peter,

playing with "grid" option within \setuplayout and \setuphead might help - see:

----
\setuplayout[grid=no]
\setuphead[section][grid=no]

\starttext
  \startsection[title=Space is ok here]
    \input tufte
  \stopsection

  \blank

  \startcolumns[n=2]
    \startsection[title=Too much white-space here]
      \input tufte
    \stopsection

    \setuphead[section]%[after=\vskip-2ex]

    \startsection[title=Space is ok here with workaround]
      \input tufte
    \stopsection
  \stopcolumns
\stoptext
----

Best regards,

Lukas


---------- Původní e-mail ----------

Od: Peter Münster <pm@a16n.net>

Komu: ConTeXt users <ntg-context@ntg.nl>

Datum: 15. 7. 2020 14:57:26

Předmět: [NTG-context] white-space after section-head in columns

Hi,

What is the right way please to get normal white-space after a section in
columns, i.e. not too much?

Example, that shows the problem:

--8<---------------cut here---------------start------------->8---
\starttext
\startsection[title=Space is ok here]
  \input tufte
\stopsection
\startcolumns[n=2]
\startsection[title=Too much white-space here]
  \input tufte
\stopsection
\setuphead[section][after=\vskip-2ex]
\startsection[title=Space is ok here with workaround]
  \input tufte
\stopsection
\stopcolumns
\stoptext
--8<---------------cut here---------------end--------------->8---

TIA,
--
           Peter
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

[-- Attachment #2: t3.mkiv --]
[-- Type: text/plain, Size: 440 bytes --]

\setuplayout[grid=no]
\setuphead[section][grid=no]

\starttext
  \startsection[title=Space is ok here]
    \input tufte
  \stopsection

  \blank

  \startcolumns[n=2]
    \startsection[title=Too much white-space here]
      \input tufte
    \stopsection

    \setuphead[section]%[after=\vskip-2ex]

    \startsection[title=Space is ok here with workaround]
      \input tufte
    \stopsection
  \stopcolumns
\stoptext

[-- Attachment #3: t3.pdf --]
[-- Type: application/pdf, Size: 14010 bytes --]

[-- Attachment #4: Type: text/plain, Size: 493 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

      parent reply	other threads:[~2020-07-15 13:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-15 12:55 Peter Münster
2020-07-15 13:02 ` Wolfgang Schuster
2020-07-15 13:04 ` Lukas/ConTeXt [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1yr.6Ap1z.51bhSTmIwc2.1V3lxe@seznam.cz \
    --to=lpr.context@email.cz \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).