[NTG-context] \startfloattext ... \stopfloattext
What is the context way to place text near a table (or another float) in an enumeration-environment? I just want to have the text just this right to the table. The second item 2) should be below the table. In the (not so) MWE all is fine, but the table is not indented. When I use \placetable the text is indented, but the second item is placed near the table on the right. (I could insert a \blank[xycm] but I don't think it's the way to solve my problem.) Thanks for all comments Christian \starttext \startitemize[n,packed,joinedup][stopper=)] \item Abhängigkeit der Beschleunigung von der Wagenmasse $m$: \blank $M=$ \hl[5] \unit{kg} \blank \starttabletext[left,high,none]{}{ %\placetable[left,high,none]{}{ \starttable[|l|l|] \HL \VL $m$ in kg \VL $a$ in \unit{m isquare s} \VL\NR \HL \VL \qquad \VL \qquad \VL\AR \VL \VL \VL\AR \HL \VL \VL \VL\AR \VL \VL \VL\AR \HL \VL \VL \VL\AR \VL \VL \VL\AR \HL \stoptable} Just this text near the table! \stoptabletext \item second item ... \stoptext ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \startfloattext ... \stopfloattext
On 9/9/2013 2:38 PM, Christian Prim wrote: What is the context way to place text near a table (or another float) in an enumeration-environment? I just want to have the text just this right to the table. The second item 2) should be below the table. In the (not so) MWE all is fine, but the table is not indented. When I use \placetable the text is indented, but the second item is placed near the table on the right. (I could insert a \blank[xycm] but I don't think it's the way to solve my problem.) Thanks for all comments Christian \starttext \startitemize[n,packed,joinedup][stopper=)] \item Abhängigkeit der Beschleunigung von der Wagenmasse $m$: \blank $M=$ \hl[5] \unit{kg} \blank \starttabletext[left,high,none]{}{ %\placetable[left,high,none]{}{ \starttable[|l|l|] \HL \VL $m$ in kg \VL $a$ in \unit{m isquare s} \VL\NR \HL \VL \qquad \VL \qquad \VL\AR \VL \VL \VL\AR \HL \VL \VL \VL\AR \VL \VL \VL\AR \HL \VL \VL \VL\AR \VL \VL \VL\AR \HL \stoptable} Just this text near the table! \stoptabletext \item second item ... \stoptext one of the solution is to use paired boxes: \starttext \definepairedbox [mylegend] [location={right,top}] % width=10cm \startitemize[n,packed,joinedup][stopper=)] \startitem some introduction text \blank and some more \blank \startplacemylegend \startcontent \starttable[|l|l|] \HL \VL foo \VL bar \VL \NR \HL \VL \VL \VL \AR \VL \VL \VL \AR \HL \VL \VL \VL \AR \VL \VL \VL \AR \HL \VL \VL \VL \AR \VL \VL \VL \AR \HL \stoptable \stopcontent \startcaption \input ward \stopcaption \stopplacemylegend \stopitem \startitem and even more \stopitem \stopitemize \stoptext I patched the beta a bit so that for a horizontal variant the hsize is calculated automatically. Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \startfloattext ... \stopfloattext
Thanks, Hans that was exactly what I needed. Christian 2013/9/9 Hans Hagen pra...@wxs.nl On 9/9/2013 2:38 PM, Christian Prim wrote: What is the context way to place text near a table (or another float) in an enumeration-environment? I just want to have the text just this right to the table. The second item 2) should be below the table. In the (not so) MWE all is fine, but the table is not indented. When I use \placetable the text is indented, but the second item is placed near the table on the right. (I could insert a \blank[xycm] but I don't think it's the way to solve my problem.) Thanks for all comments Christian \starttext \startitemize[n,packed,**joinedup][stopper=)] \item Abhängigkeit der Beschleunigung von der Wagenmasse $m$: \blank $M=$ \hl[5] \unit{kg} \blank \starttabletext[left,high,**none]{}{ %\placetable[left,high,none]{}**{ \starttable[|l|l|] \HL \VL $m$ in kg \VL $a$ in \unit{m isquare s} \VL\NR \HL \VL \qquad \VL \qquad \VL\AR \VL \VL \VL\AR \HL \VL \VL \VL\AR \VL \VL \VL\AR \HL \VL \VL \VL\AR \VL \VL \VL\AR \HL \stoptable} Just this text near the table! \stoptabletext \item second item ... \stoptext one of the solution is to use paired boxes: \starttext \definepairedbox [mylegend] [location={right,top}] % width=10cm \startitemize[n,packed,**joinedup][stopper=)] \startitem some introduction text \blank and some more \blank \startplacemylegend \startcontent \starttable[|l|l|] \HL \VL foo \VL bar \VL \NR \HL \VL \VL \VL \AR \VL \VL \VL \AR \HL \VL \VL \VL \AR \VL \VL \VL \AR \HL \VL \VL \VL \AR \VL \VL \VL \AR \HL \stoptable \stopcontent \startcaption \input ward \stopcaption \stopplacemylegend \stopitem \startitem and even more \stopitem \stopitemize \stoptext I patched the beta a bit so that for a horizontal variant the hsize is calculated automatically. Hans --**--**- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl --**--**- __**__** ___ 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 http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/**projects/contextrev/http://foundry.supelec.fr/projects/contextrev/ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___