ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: About alternative=middle in section heads
Date: Mon, 13 Jul 2020 05:55:55 +0200	[thread overview]
Message-ID: <4847733b-399b-c939-e0bf-83c279f69675@gmail.com> (raw)
In-Reply-To: <CAKyqqaY_SpLjcnsUFVjsbdsUofgPryCgfE9vZmZf4OreSVexqw@mail.gmail.com>

Jairo A. del Rio schrieb am 12.07.2020 um 22:31:
> I've realized ConTeXt now puts the section label and section number 
> above the section title whe alternative=middle is set. How to disable 
> this behavior so one can have a section label and number next to a 
> centered section title? Thank you in advance.

You're using the wrong option.

\noheaderandfooterlines

\starttext

\start

     \setuphead[section][alternative=middle]

     \section{\mono{alternative=middle}}

\stop

\start

     \setuphead[section][align=middle]

     \section{\mono{align=middle}}

\stop

\stoptext

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
___________________________________________________________________________________

  reply	other threads:[~2020-07-13  3:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-12 20:31 Jairo A. del Rio
2020-07-13  3:55 ` Wolfgang Schuster [this message]
2020-07-13  5:10   ` Jairo A. del Rio

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=4847733b-399b-c939-e0bf-83c279f69675@gmail.com \
    --to=wolfgang.schuster.lists@gmail.com \
    --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).