Re: [NTG-context] Up the contents of table
Am 05.03.2009 um 09:09 schrieb Xan: Thanks, Wolfgang, but I refered to contents of the table not the caption of the table. The contents of this table are: pictures in up and text in bottom. I want to put all together in the up of the table. Sorry but with your question only there is no way to understand what you mean, I texed now your example (please add next time \starttext ... \stoptext and load all required packages) and saw what you mean. The two pictures and the text in the middle column should align at the top of the table. Natural tables are better suited for this kind of table because you can use the 'align' key. \bTABLE [frame =off,align=middle,width=4.5cm,background=color,backgroundcolor=gray] \bTR \bTD[nx=3,foregroundstyle=\ssbf] Com s'identifica una funció mitjançant la seva representació gràfica? \eTD \eTR \bTR[topframe=on,bottomframe=on] \bTD graph 1 \eTD \bTD text \eTD \bTD graph 2 \eTD \eTR \eTABLE 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 ___
Re: [NTG-context] Up the contents of table
En/na Wolfgang Schuster ha escrit: Am 05.03.2009 um 09:09 schrieb Xan: Thanks, Wolfgang, but I refered to contents of the table not the caption of the table. The contents of this table are: pictures in up and text in bottom. I want to put all together in the up of the table. Sorry but with your question only there is no way to understand what you mean, I texed now your example (please add next time \starttext ... \stoptext and load all required packages) and saw what you mean. The two pictures and the text in the middle column should align at the top of the table. Natural tables are better suited for this kind of table because you can use the 'align' key. \bTABLE[frame=off,align=middle,width=4.5cm,background=color,backgroundcolor=gray] \bTR \bTD[nx=3,foregroundstyle=\ssbf] Com s'identifica una funció mitjançant la seva representació gràfica? \eTD \eTR \bTR[topframe=on,bottomframe=on] \bTD graph 1 \eTD \bTD text \eTD \bTD graph 2 \eTD \eTR \eTABLE Wolfgang Thanks a lot, Wolfgang. And sorry for the elipsis of the code. With natural tables it works. But it shoudl work with the other tables. Is it a bug? Regards, Xan. ___ 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 ___
Re: [NTG-context] Up the contents of table
En/na Wolfgang Schuster ha escrit: Am 05.03.2009 um 16:57 schrieb Xan: Lohi? What it means? Can you translate me the dicctionary: valign = middle -- lohi valign = bottom -- ? valign = up -- ? Natural tables and \framed have only 'align' key which you can use to control horizontal *and* vertical alignment of the text. \starttext \bTABLE[height=2cm] \bTR \bTD[align=low] text \eTD \bTD[align=lohi]text \eTD \bTD[align=high]text \eTD \eTR \eTABLE \stoptext o 'low' positions the text at the bottom of the box, o 'high' positions the text at the top of the box and o 'lohi' centers text vertical in the box. You can combine settings like 'align={lohi,middle}' to get vertical and horizontal centered text in the box. Wolfgang Thanks. A lot, Xan. PS: I CC context mailing list because I don't find this explanation nowhere. It could be useful for someone. ___ 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 ___
Re: [NTG-context] Up the contents of table
There is an option [align=lohi] which should do what you want. Willi On Mar 5, 2009, at 4:30 PM, Xan wrote: En/na Xan ha escrit: En/na Wolfgang Schuster ha escrit: Am 05.03.2009 um 09:09 schrieb Xan: Thanks, Wolfgang, but I refered to contents of the table not the caption of the table. The contents of this table are: pictures in up and text in bottom. I want to put all together in the up of the table. Sorry but with your question only there is no way to understand what you mean, I texed now your example (please add next time \starttext ... \stoptext and load all required packages) and saw what you mean. The two pictures and the text in the middle column should align at the top of the table. Natural tables are better suited for this kind of table because you can use the 'align' key. \bTABLE [frame=off,align=middle,width=4.5cm,background=color,backgroundcolor =gray] \bTR \bTD[nx=3,foregroundstyle=\ssbf] Com s'identifica una funció mitjançant la seva representació gràfica? \eTD \eTR \bTR[topframe=on,bottomframe=on] \bTD graph 1 \eTD \bTD text \eTD \bTD graph 2 \eTD \eTR \eTABLE Wolfgang Wolfgang, is there any way of align vertically the content of one cell? I'm thinking about bTABLE [frame=off,align=middle,width=4.5cm,background=color,backgroundcolor=g ray] \bTR \bTD[nx=3,foregroundstyle=\ssbf] Com s'identifica una funció mitjançant la seva representació gràfica? \eTD \eTR \bTR[topframe=on,bottomframe=on] \bTD graph 1 \eTD \bTD [valign=middle] text \eTD \bTD graph 2 \eTD \eTR \eTABLE Regards, Xan. __ _ 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 __ _ ___ 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 ___
Re: [NTG-context] Up the contents of table
En/na Willi Egger ha escrit: There is an option [align=lohi] which should do what you want. Willi On Mar 5, 2009, at 4:30 PM, Xan wrote: En/na Xan ha escrit: En/na Wolfgang Schuster ha escrit: Am 05.03.2009 um 09:09 schrieb Xan: Thanks, Wolfgang, but I refered to contents of the table not the caption of the table. The contents of this table are: pictures in up and text in bottom. I want to put all together in the up of the table. Sorry but with your question only there is no way to understand what you mean, I texed now your example (please add next time \starttext ... \stoptext and load all required packages) and saw what you mean. The two pictures and the text in the middle column should align at the top of the table. Natural tables are better suited for this kind of table because you can use the 'align' key. \bTABLE[frame=off,align=middle,width=4.5cm,background=color,backgroundcolor=gray] \bTR \bTD[nx=3,foregroundstyle=\ssbf] Com s'identifica una funció mitjançant la seva representació gràfica? \eTD \eTR \bTR[topframe=on,bottomframe=on] \bTD graph 1 \eTD \bTD text \eTD \bTD graph 2 \eTD \eTR \eTABLE Wolfgang Wolfgang, is there any way of align vertically the content of one cell? I'm thinking about bTABLE[frame=off,align=middle,width=4.5cm,background=color,backgroundcolor=gray] \bTR \bTD[nx=3,foregroundstyle=\ssbf] Com s'identifica una funció mitjançant la seva representació gràfica? \eTD \eTR \bTR[topframe=on,bottomframe=on] \bTD graph 1 \eTD \bTD [valign=middle] text \eTD \bTD graph 2 \eTD \eTR \eTABLE Regards, Xan. ___ 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 ___ ___ 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 ___ Thanks. ___ 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 ___
[NTG-context] Up the contents of table
Hi, Is there any way of upping the contents of a table? I have this example: \startframedtext[background=screen,frame=off,width=broad] \startalignment[center] {\ssbf Com s'identifica una funció mitjançant la seva representació gràfica?} \stopalignment \placetable[here,none] [taula] { } { \starttable[|l|xw(4.5cm)p(4.5cm)|l] \HL \NC % Una relació que no és funció 1 \starttikzpicture[scale=0.8] \draw[very thin,color=gray] (-0.1,-1.1) grid (3.9,3.9); \draw[-] (-0.2,0) -- (4.2,0) node[right] {$x$}; \draw[-] (0,-1.2) -- (0,4.2) node[above] {$y$}; \path coordinate (start) at (0,4) coordinate (c1) at +(5,3) coordinate (c2) at +(5,1.75) coordinate (slut) at (2.7,.5) coordinate (top) at (4.2,2); \draw[color=red,important line] (start) .. controls (c1) and (c2) .. (slut); \stoptikzpicture \NC Si algun valor de $x$ li correspon més d'un valor de $y$, aleshores la gràfica no correspon a una funció. Sinó sí que correspon a una funció. \NC % Una relació que no és funció 1 \starttikzpicture[scale=0.8] \draw[very thin,color=gray] (-0.1,-1.1) grid (3.9,3.9); \draw[-] (-0.2,0) -- (4.2,0) node[right] {$x$}; \draw[-] (0,-1.2) -- (0,4.2) node[above] {$y$}; \path coordinate (start) at (0,4) coordinate (c1) at +(5,3) coordinate (c2) at +(5,1.75) coordinate (slut) at (2.7,.5) coordinate (top) at (4.2,2); \draw[color=red,important line] (start) .. controls (c1) and (c2) .. (slut); \stoptikzpicture \LR \HL \stoptable} \stopframedtext and the text is bottom the table. Thanks in advance, Xan. PS: Please, CCme. ___ 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 ___
Re: [NTG-context] Up the contents of table
Am 04.03.2009 um 22:31 schrieb Xan: Hi, Is there any way of upping the contents of a table? I have this example: I'm right you want to place the caption above the table? \setupcaption[table][location=top,style=\ssbf] \placetable [here,none] [taula] {Com s'identifica una funció mitjançant la seva representació gràfica?} {\starttable ... \stoptable} 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 ___