Re: [NTG-context] right item marks for associative questions?

2022-04-11 Thread śrīrāma via ntg-context
\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

Re: [NTG-context] Strange behaviour of TABLE with \currentTABLErow

2018-12-10 Thread Tomas Hala
\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

Re: [NTG-context] Strange behaviour of TABLE with \currentTABLErow

2018-12-03 Thread Wolfgang Schuster
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

[NTG-context] Strange behaviour of TABLE with \currentTABLErow

2018-12-03 Thread Tomas Hala
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

[NTG-context] \bTD\numexpr\currentTABLErow\minusone\relax\eTD

2013-04-19 Thread Alan BRASLAU
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

Re: [NTG-context] \bTD\numexpr\currentTABLErow\minusone\relax\eTD

2013-04-19 Thread Marco Patzer
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

Re: [NTG-context] \dorecurse within TABLE

2012-10-26 Thread Marco Patzer
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

Re: [NTG-context] Setting options for every n-th row in natural TABLEs

2012-09-05 Thread Procházka Lukáš Ing . - Pontex s . r . o .
...@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

Re: [NTG-context] Setting options for every n-th row in natural TABLEs

2012-09-04 Thread Hans Hagen
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

Re: [NTG-context] Setting options for every n-th row in natural TABLEs

2012-09-04 Thread Aditya Mahajan
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

Re: [NTG-context] Setting options for every n-th row in natural TABLEs

2012-09-04 Thread Sietse Brouwer
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

Re: [NTG-context] Setting options for every n-th row in natural TABLEs

2012-09-03 Thread Procházka Lukáš Ing . - Pontex s . r . o .
(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

Re: [NTG-context] Setting options for every n-th row in natural TABLEs

2012-09-03 Thread Aditya Mahajan
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

Re: [NTG-context] Setting options for every n-th row in natural TABLEs

2012-09-02 Thread Wolfgang Schuster
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

Re: [NTG-context] Setting options for every n-th row in natural TABLEs

2012-09-02 Thread Aditya Mahajan
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