ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* white-space after section-head in columns
@ 2020-07-15 12:55 Peter Münster
  2020-07-15 13:02 ` Wolfgang Schuster
  2020-07-15 13:04 ` Lukas/ConTeXt
  0 siblings, 2 replies; 3+ messages in thread
From: Peter Münster @ 2020-07-15 12:55 UTC (permalink / raw)
  To: ConTeXt users

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
___________________________________________________________________________________

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

* Re: white-space after section-head in columns
  2020-07-15 12:55 white-space after section-head in columns Peter Münster
@ 2020-07-15 13:02 ` Wolfgang Schuster
  2020-07-15 13:04 ` Lukas/ConTeXt
  1 sibling, 0 replies; 3+ messages in thread
From: Wolfgang Schuster @ 2020-07-15 13:02 UTC (permalink / raw)
  To: ConTeXt users

Peter Münster schrieb am 15.07.2020 um 14:55:
> 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---

https://www.mail-archive.com/ntg-context@ntg.nl/msg89563.html

Wolfgang
___________________________________________________________________________________
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
___________________________________________________________________________________

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

* Re: white-space after section-head in columns
  2020-07-15 12:55 white-space after section-head in columns Peter Münster
  2020-07-15 13:02 ` Wolfgang Schuster
@ 2020-07-15 13:04 ` Lukas/ConTeXt
  1 sibling, 0 replies; 3+ messages in thread
From: Lukas/ConTeXt @ 2020-07-15 13:04 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- 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
___________________________________________________________________________________

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

end of thread, other threads:[~2020-07-15 13:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-15 12:55 white-space after section-head in columns Peter Münster
2020-07-15 13:02 ` Wolfgang Schuster
2020-07-15 13:04 ` Lukas/ConTeXt

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