I am trying to find a way to group together a table which lists values in a figure that I have. I would also like to keep seperate references for each so I would rather not use a combination. I saw the \begingroup command while searching through the wiki, but I was unable to determine what it does and it doesn't seem to do what I need. I also tried to setup a buffer, but that didn't ensure that the table and figure were displayed sequentially. Is there a way to do this while keeping both references intact? Thanks. Mike
Am 06.04.2009 um 18:17 schrieb Michael Bynum:
I am trying to find a way to group together a table which lists values in a figure that I have. I would also like to keep seperate references for each so I would rather not use a combination. I saw the \begingroup command while searching through the wiki, but I was unable to determine what it does and it doesn't seem to do what I need. I also tried to setup a buffer, but that didn't ensure that the table and figure were displayed sequentially. Is there a way to do this while keeping both references intact? Thanks.
\starttext \input knuth \placefigure {none} {\setupcombinations[distance=2em] \startfloatcombination[2*1] \placefigure{A dutch cow}{\externalfigure[cow]} \placetable {Cow data}{\starttable[|l|l|]\NC Age \NC Weight \NC \AR 1 \NC 100 \NC\AR\stoptable} \stopfloatcombination} \stoptext Wolfgang
That works nicely. Thanks.
Mike
On Mon, Apr 6, 2009 at 2:25 PM, Wolfgang Schuster
Am 06.04.2009 um 18:17 schrieb Michael Bynum:
I am trying to find a way to group together a table which lists values in a figure that I have. I would also like to keep seperate references for each so I would rather not use a combination. I saw the \begingroup command while searching through the wiki, but I was unable to determine what it does and it doesn't seem to do what I need. I also tried to setup a buffer, but that didn't ensure that the table and figure were displayed sequentially. Is there a way to do this while keeping both references intact? Thanks.
\starttext
\input knuth
\placefigure {none} {\setupcombinations[distance=2em] \startfloatcombination[2*1] \placefigure{A dutch cow}{\externalfigure[cow]} \placetable {Cow data}{\starttable[|l|l|]\NC Age \NC Weight \NC\AR 1 \NC 100 \NC\AR\stoptable} \stopfloatcombination}
\stoptext
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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
participants (2)
-
Michael Bynum
-
Wolfgang Schuster