About alternative=middle in section heads
![](https://secure.gravatar.com/avatar/23c65792d6f3eb5f6194f6ec9eadc2ac.jpg?s=120&d=mm&r=g)
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 :)
![](https://secure.gravatar.com/avatar/74d41c3215dcdd377343cdc47311757c.jpg?s=120&d=mm&r=g)
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
![](https://secure.gravatar.com/avatar/23c65792d6f3eb5f6194f6ec9eadc2ac.jpg?s=120&d=mm&r=g)
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
___________________________________________________________________________________
participants (2)
-
Jairo A. del Rio
-
Wolfgang Schuster