[NTG-context] A side by side float that takes advantage of the margin
I have a situation when I have to put side by side two floats (a table and figure). My current code is \placetable[here][label]{caption}% {\\placesidebyside {table code}{figure code} } The problem is that sometimes the combined width of table and figure is bigger than the textwidth. I would like the combo to be centered across the page, not starting from the left margin of the text and invading the right margin only. How can I achieve this? -- Giuseppe Oblomov Bilotta ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] A side by side float that takes advantage of the margin
Giuseppe Bilotta wrote: I have a situation when I have to put side by side two floats (a table and figure). My current code is \placetable[here][label]{caption}% {\\placesidebyside {table code}{figure code} } Have you tried \centerline (may not work)? \placetable[here][label]{caption}% {\centerline{\placesidebyside{table code}{figure code}}} Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] A side by side float that takes advantage of the margin
Taco Hoekwater wrote: Giuseppe Bilotta wrote: I have a situation when I have to put side by side two floats (a table and figure). My current code is \placetable[here][label]{caption}% {\\placesidebyside {table code}{figure code} } Have you tried \centerline (may not work)? \placetable[here][label]{caption}% {\centerline{\placesidebyside{table code}{figure code}}} or use \startcombination \stopcombination - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re[2]: [NTG-context] A side by side float that takes advantage of the margin
Friday, September 16, 2005 Taco Hoekwater wrote: Giuseppe Bilotta wrote: I have a situation when I have to put side by side two floats (a table and figure). My current code is \placetable[here][label]{caption}% {\\placesidebyside {table code}{figure code} } Have you tried \centerline (may not work)? \placetable[here][label]{caption}% {\centerline{\placesidebyside{table code}{figure code}}} It works, but it needs a \scantokens inside the centerline because of the active stuff in the tables setups. Thanks. -- Giuseppe Oblomov Bilotta ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] A side by side float that takes advantage of the margin
Giuseppe Bilotta wrote: Friday, September 16, 2005 Taco Hoekwater wrote: Giuseppe Bilotta wrote: I have a situation when I have to put side by side two floats (a table and figure). My current code is \placetable[here][label]{caption}% {\\placesidebyside {table code}{figure code} } Have you tried \centerline (may not work)? \placetable[here][label]{caption}% {\centerline{\placesidebyside{table code}{figure code}}} It works, but it needs a \scantokens inside the centerline because of the active stuff in the tables setups. put 'm in buffers: \startbuffer[table] ... \stopbuffer \startbuffer[figure] ... \figure \placetable [here][label] {caption} {\centerline {\placesidebyside {\getbuffer[table]} {\getbuffer[figure]}}} - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context