Hi!
Thanks for your rapid answer.
Thanks Wolfgang, in the example you
did send me I overlooked the difference between the title line
and the rest.
Thanks also for the explanation about
right and left.
--
Alain
Le 22/02/2021 à 20:09, Wolfgang
Schuster a écrit :
Alain Delmotte schrieb am 22.02.2021 um 19:58:
Hi!
I have the following program:
\definecolor
[tableheader] [x=00ADEF]
\setupbodyfont[dejavu,10pt,ss]
%
setups and example thanks to Wolfgang Schuster
\startsetups[tablesettings]
\setupTABLE[start][framecolor=gray,loffset=.5ex,roffset=.5ex]
\setupTABLE[row][first][background="">
\setupTABLE[first][first][corner=08]
\setupTABLE[last][first][corner=05]
\setupTABLE[first][last][corner=07]
\setupTABLE[last][last][corner=06]
\stopsetups
\starttext
{\bf
Singular}
\setupTABLE[c][1,2,3][width=5cm]
\placetable[none][]{}{
\bTABLE[setups=tablesettings]
\bTR
\bTH Pronoun \eTH \bTH Particle \eTH \bTH Noun \eTH \eTR
\bTR
\bTH Mimi/Wewe/Yeye \eTH \bTH ni \eTH \bTH Mtanzania/Mmarekani
/Mkenya \eTH \eTR
\bTR
\bTH {\sl I/You/He or She} \eTH \bTH {\sl am/are/is} \eTH \bTH
{\sl (a/an) Tanzanian/American/Kenyan} \eTH \eTR
\bTR
\bTH Mimi/Wewe/Yeye \eTH \bTH si\eTH \bTH Mtanzania/Mmarekani
/Mkenya \eTH \eTR
\bTR
\bTH {\sl I/You/He or She} \eTH \bTH {\sl am/are/is not} \eTH
\bTH {\sl (a/an) Tanzanian/American /Kenyan} \eTH \eTR
\eTABLE
}
\input
zapf
\stoptext
I do not understand why
the lines in Swahilli are in bold?
Use \bTD ... \eTD for the cells. The \bTH ... \eTH pair is for
header lines and changes the style to bold.
If
for the table I use \setupTABLE[c]1,2,3][width= 5cm, align=left]
the texts are aligned to the right, if I say align=right they
are to the left. OK to have left alignment the align instruction
is not necessary, but for right?
https://wiki.contextgarden.net/Right_and_left
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
___