Wolfgang, you are my rescue!

thak you very much for pointing me to the solution!

Kind regards
Willi

> On 25 Jul 2025, at 00:07, Wolfgang Schuster 
> <wolfgang.schuster.li...@gmail.com> wrote:
> 
> Am 24.07.2025 um 22:49 schrieb Willi Egger:
>> Hi all,
>> at the moment I am writing an article about the use of the Soroban (Japanese 
>> abacus).
>> There are a couple of tables showing formulae. The struggle is, that the 
>> alignment of the formulae is strange.
>> I use alignmentcharacter= and aligncharacter=yes for aligning the formulae 
>> in a bTABLE…\eTABLE construct.
>> It appears that this causes ConTeXt to use the alignment character at the 
>> end of the headings + 1 position.
>> I would be glad if someone could enlighten me how to improve the layout.
> 
> Disable the character alignment in the header with
> 
>    \bTD[aligncharacter=no] Calculation \eTD
> 
> or
> 
>    \bTH Calculation \eTH
> 
> because TH cell type sets "aligncharacter=no" (but uses bold font).
> 
> 
> Another option is
> 
>    \bTD \nocharcteralign Calculation \eTD
> 
> 
> You can also divide your table into sections and enable character alignment 
> only in the body section, e.g.
> 
>    \bTABLE
>      \bTABLEhead
>        \bTR \bTD Calculation \eTD \eTR
>      \eTABLEhead
>      \bTABLEbody[characteralign=yes]
>        \bTR \bTD ... \eTD \eTR
>      \eTABLEbody
>    \eTABLE
> 
> 
> Wolfgang
> 
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the 
> Wiki!
> 
> maillist : ntg-context@ntg.nl / 
> 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
> ___________________________________________________________________________________

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
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