I have the following code. How can I make the number and text centered as
if they were a single block?

\setuppapersize[letter]
\setuplayout[tight]
\setupbodyfont[ibmplex,rm,10pt]

\showboxes

\setuphead
  [section]
  [style=\bfc\ss,
   align={tight,middle},
   indentnext=yes,
   width=0.75\textwidth,
   margin=\dimexpr(\textwidth - 0.75\textwidth)/2\relax,
   color=darkred]

\starttext

\dorecurse{10}{
  \startsection
     [title={Lorem Ipsum is simply dummy text of the printing and
             typesetting industry. Lorem Ipsum has been the industry's
             standard dummy text ever since the 1500s}]
  \input knuth
  \stopsection
}

\stoptext

[image: image.png]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : [email protected] / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

Reply via email to