ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* About alternative=middle in section heads
@ 2020-07-12 20:31 Jairo A. del Rio
  2020-07-13  3:55 ` Wolfgang Schuster
  0 siblings, 1 reply; 3+ messages in thread
From: Jairo A. del Rio @ 2020-07-12 20:31 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 273 bytes --]

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.

Sincerely,

Jairo :)

[-- Attachment #1.2: Type: text/html, Size: 349 bytes --]

[-- Attachment #2: 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

* Re: About alternative=middle in section heads
  2020-07-12 20:31 About alternative=middle in section heads Jairo A. del Rio
@ 2020-07-13  3:55 ` Wolfgang Schuster
  2020-07-13  5:10   ` Jairo A. del Rio
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2020-07-13  3:55 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________

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

* Re: About alternative=middle in section heads
  2020-07-13  3:55 ` Wolfgang Schuster
@ 2020-07-13  5:10   ` Jairo A. del Rio
  0 siblings, 0 replies; 3+ messages in thread
From: Jairo A. del Rio @ 2020-07-13  5:10 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1350 bytes --]

Oh, I see. Thanks!

Jairo :)

El dom., 12 de jul. de 2020 a la(s) 22:56, Wolfgang Schuster (
wolfgang.schuster.lists@gmail.com) escribió:

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

[-- Attachment #1.2: Type: text/html, Size: 2231 bytes --]

[-- Attachment #2: 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-13  5:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-12 20:31 About alternative=middle in section heads Jairo A. del Rio
2020-07-13  3:55 ` Wolfgang Schuster
2020-07-13  5:10   ` Jairo A. del Rio

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