Using this table as an example, when I do align=left, the column aligns right, and when I do align=right, it aligns left. align=center works as expected. Am I doing something wrong or is this a bug? I am using the version of context distributed with Debian unstable: mtx-context | ConTeXt Process Management 1.01 mtx-context | mtx-context | main context file: /usr/share/texmf/tex/context/base/mkiv/context.mkiv mtx-context | current version: 2017.05.15 21:48 Minimal example here: \setuppagenumbering[alternative=doublesided,location=none,page=no] \setupfootertexts[\sans{Source: http://mywebsite}] \setupheadertexts[test column text wrapping] \setupheadertexts [] [Page \userpagenumber\ of \lastuserpagenumber] [Page \userpagenumber\ of \lastuserpagenumber] [] \setuppapersize[letter, portrait] \setuplayout[topspace=0.5in, backspace=1in, height=10in, width=7in, header=0.5in, footer=0.5in, headerdistance=0in, footerdistance=0in] \switchtobodyfont[12pt] \starttext \setupTABLE[split=repeat] \setupTABLE[r][each][toffset=3pt, boffset=3pt, loffset=3pt, roffset=3pt] \setupTABLE[c][each][leftframe=off,rightframe=off,align=right] \setupTABLE[c][first][frame=off,align=left] \setupTABLE[c][2][style=\tfx\it,align=left] \bTABLE \bTABLEhead \bTR\bTH Col1 \eTH\bTH Col2 \eTH\bTH Col3 \eTH\eTR \eTABLEhead \bTABLEnext \bTR\bTH Col1 \eTH\bTH Col2 \eTH\bTH Col3 \eTH\eTR \eTABLEnext \bTABLEbody \bTR\bTC \eTC\bTC NightShift \eTC\bTC Tension Lines 146 - 150 \eTC\eTR \bTR\bTC 30. \eTC \bTC[nc=2,align=center,style=] \bf{Foo Bar} \eTC\eTR %\bTR\bTC 30. \eTC \bTC\eTC \bTC[align=center] \bf{Foo Bar} \eTC\eTR \eTABLEbody \eTABLE \stoptext
On Sat, 29 Sep 2018 17:29:40 -0700
David Walther
Using this table as an example, when I do align=left, the column aligns right, and when I do align=right, it aligns left. align=center works as expected. Am I doing something wrong or is this a bug?
align=left means raggedleft align=right means raggedright This is historical, and remains for compatibility. use align=flushleft align=flushright align=middle Alan
On 9/29/2018 20:29, David Walther wrote:
Using this table as an example, when I do align=left, the column aligns right, and when I do align=right, it aligns left. align=center works as expected. Am I doing something wrong or is this a bug?
I am using the version of context distributed with Debian unstable:
See the wiki, in particular the page Right and left https://wiki.contextgarden.net/Right_and_left. -- Rik
participants (3)
-
Alan Braslau
-
David Walther
-
Rik Kabel