Can you make a \setupTABLE only apply to one table?
If I understand correctly, \setupTABLE applies to each table after the \setupTABLE, correct? If so, can you make it only apply to one table? -- T. Kurt Bond, tkurtbond@gmail.com, https://tkurtbond.github.io
Hi,
You could enclose your table and setup using \bgroup and \egroup
\bgroup
\setupTABLE ...
\bTABLE ... \eTABLE
\egroup
\begingroup ... \endgroup also works, although I have to admit I'm not
aware of the differences between both.
Regards,
Jairo :)
El sáb., 5 de dic. de 2020 10:01 p. m., T. Kurt Bond
If I understand correctly, \setupTABLE applies to each table after the \setupTABLE, correct? If so, can you make it only apply to one table?
-- T. Kurt Bond, tkurtbond@gmail.com, https://tkurtbond.github.io
___________________________________________________________________________________ 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
___________________________________________________________________________________
Thanks for the help!
On Sat, Dec 5, 2020 at 10:21 PM Jairo A. del Rio
Hi, You could enclose your table and setup using \bgroup and \egroup
\bgroup \setupTABLE ... \bTABLE ... \eTABLE \egroup
\begingroup ... \endgroup also works, although I have to admit I'm not aware of the differences between both.
Regards,
Jairo :)
El sáb., 5 de dic. de 2020 10:01 p. m., T. Kurt Bond
escribió: If I understand correctly, \setupTABLE applies to each table after the \setupTABLE, correct? If so, can you make it only apply to one table?
-- T. Kurt Bond, tkurtbond@gmail.com, https://tkurtbond.github.io
___________________________________________________________________________________ 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
___________________________________________________________________________________
___________________________________________________________________________________ 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
___________________________________________________________________________________
-- T. Kurt Bond, tkurtbond@gmail.com, https://tkurtbond.github.io
On Sat, 5 Dec 2020, T. Kurt Bond wrote:
If I understand correctly, \setupTABLE applies to each table after the \setupTABLE, correct? If so, can you make it only apply to one table?
If you really need it for one table: \bTABLE \setupTABLE[...][...] \setupTABLE[...][...] \bTR ... \eTR \eTABLE A better option is to add it inside a setup: \startsetup table:formatting \setupTABLE[...][...] \setupTABLE[...][...] \stopsetup \bTABLE[setups={table:formatting}] .... \eTABLE Aditya
participants (3)
-
Aditya Mahajan
-
Jairo A. del Rio
-
T. Kurt Bond