\bTABLE\setupTABLE[frame=on,align=lohi]
\setupTABLE[2][distance=1cm,align={flushright,lohi}]
\setupTABLE[2,3][width=0.05\textwidth]
\setupTABLE[1][align=flushright,width=0.4\textwidth]
\setupTABLE[4][align=flushleft,width=0.4\textwidth]
}
\define\stopItemize{\eTABLE}
\d
\def\currentTABLEbodyrow{\def\takenumber##1{\myrow=##1\advance\myrow-2
\the\myrow}\takenumber\currentTABLErow}
The number of rows is now determined by the number of all rows
# (including header and footer) and the counting starts also from the first
# row in the table independent of the type of the r
Tomas Hala schrieb am 03.12.18 um 20:23:
Hi all,
at https://wiki.contextgarden.net/Command/currentTABLEcolumn I learnt
about \currentTABLErow etc. for counting lines in natural tables.
I have got the following two minimal non-working examples (on TeXlive 2018):
\starttext\setupTABLE[split=yes
Hi all,
at https://wiki.contextgarden.net/Command/currentTABLEcolumn I learnt
about \currentTABLErow etc. for counting lines in natural tables.
I have got the following two minimal non-working examples (on TeXlive 2018):
\starttext\setupTABLE[split=yes]
\bTABLE
\bTABLEhead\bTR\bTH head
Hello,
I naively tried using
\bTD\numexpr\currentTABLErow\minusone\relax\dTD
in a TABLE.
As I do not master even simple calculations under TeX, I do not see
what I am missing in order to label TABLE rows, starting from 0?
(Row 1 is a heading, set off by \bTABLEhead\eTABLEhead, which
On 2013–04–19 Alan BRASLAU wrote:
\bTD\numexpr\currentTABLErow\minusone\relax\dTD
\bTD\the\numexpr\currentTABLErow-1\relax\eTD
Marco
signature.asc
Description: Digital signature
___
If your question
2012-10-26 Alan BRASLAU:
Now, is there some better way, or perhaps not, around creating my own
counter (of course, I can use a counter for the column as well...)
You can use \currentTABLEcolumn and \currentTABLErow
\starttext
\bTABLE
\dorecurse{8}{
\bTR
\dorecurse{5}{\bTD
...@gmail.com wrote:
http://wiki.contextgarden.net/Command/currentTABLErow
http://wiki.contextgarden.net/Command/currentTABLEcolumn
http://wiki.contextgarden.net/Command/nofTABLErows
http://wiki.contextgarden.net/Command/nofTABLEcolumns
A bit of cutting, a bit of pasting ... the six-year-old in me is happy
the background but there is no global register to access the
current column/row of a cell, e.g. \currenttablecolumn (this name is already
used by tables) and \currenttablerow.
I've added 4 status macros:
\starttext
\bTABLE
\bTR
\bTD
(\currentTABLErow,\currentTABLEcolumn
On Tue, 4 Sep 2012, Hans Hagen wrote:
I've added 4 status macros:
\starttext
\bTABLE
\bTR
\bTD
(\currentTABLErow,\currentTABLEcolumn,\nofTABLErows,\nofTABLEcolumns) \eTD
\bTD
(\currentTABLErow,\currentTABLEcolumn,\nofTABLErows,\nofTABLEcolumns) \eTD
\bTD
http://wiki.contextgarden.net/Command/currentTABLErow
http://wiki.contextgarden.net/Command/currentTABLEcolumn
http://wiki.contextgarden.net/Command/nofTABLErows
http://wiki.contextgarden.net/Command/nofTABLEcolumns
A bit of cutting, a bit of pasting ... the six-year-old in me is happy
(this name is already
used by tables) and \currenttablerow.
... Maybe \currentTABLEcolumn (no collision with tables' \currenttablecolumn)
and \currentTABLErow could be defined for this purpose.
Lukas
--
Ing. Lukáš Procházka [mailto:l...@pontex.cz]
Pontex s. r. o. [mailto:pon...@pontex.cz] [http
the current column/row of a cell, e.g. \currenttablecolumn (this
name is already used by tables) and \currenttablerow.
... Maybe \currentTABLEcolumn (no collision with tables' \currenttablecolumn)
and \currentTABLErow could be defined for this purpose.
I agree. In addition
but there is no global register to access the
current column/row of a cell, e.g. \currenttablecolumn (this name is already
used by tables) and \currenttablerow.
Wolfgang
___
If your question is of interest to others as well, please
C \NC \NR
\stopTABLE
\stoptext
What I would do is to use a overlay in combination with metapost to
create the background but there is no global register to access the
current column/row of a cell, e.g. \currenttablecolumn (this name is
already used by tables) and \currenttablerow.
Thanks
15 matches
Mail list logo