From: Pablo Rodriguez <oinos@gmx.es>
To: ntg-context@ntg.nl
Subject: Re: space between headings
Date: Fri, 11 Oct 2019 19:26:43 +0200 [thread overview]
Message-ID: <ca706da4-ee36-e935-3d21-c605413e9d54@gmx.es> (raw)
In-Reply-To: <6d797562-4a9e-0168-b7d9-b1c17a022008@sub.uni-goettingen.de>
On 10/11/19 5:12 PM, Michelle Weidling wrote:
>> Am 10.10.19 um 19:17 schrieb Pablo Rodriguez:
>>> [...]
>>> Is there any way to setup the space after of \section when it is
>>> followed by another heading?
>>>
>>> I mean, is there no way to decrease the space between two headings?> > I'm not sure if this is the best way to solve it, but you could
define> custom headers for this situation that toss the spaces:> >
\definehead[modifiedSection][section]> \setuphead[modifiedSection]>
[after={\blank[none]}]> \definehead[modifiedSubsection][subsection]>
\setuphead[modifiedSubsection]> [before={\blank[none]}] > > (This
approach feels a bit brute force to me and I'd be happy to see a> more
elegant solution.)
Dear Michelle,
many thanks for your help.
This is a way of solving it, but I don’t even know how the lpath for
that (to compile XML sources) would have to be written.
I wonder whether ConTeXt has a more powerful way to solve this.
I’m thinking of something similar to:
\blank[powerful] = \blank
\blank[powerful] + \blank[powerful] = \blank[none]
spac-ver.mkiv might contain an explanation to that, »aber es kommt mir
Spanisch vor« (pun intended 😅).
Best wishes,
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
prev parent reply other threads:[~2019-10-11 17:26 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-10 17:17 Pablo Rodriguez
2019-10-11 15:12 ` Michelle Weidling
2019-10-11 17:26 ` Pablo Rodriguez [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=ca706da4-ee36-e935-3d21-c605413e9d54@gmx.es \
--to=oinos@gmx.es \
--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).