Re: [NTG-context] Alignment table with comma, and long long space after
On 10/5/2013 5:37 AM, hwit...@gmail.com wrote: I'd like to try out the new experimental mechanism for tables mentioned below. Is it correct that I need the standalone version to do this? indeed If standalone, are there differenct versions that I must select between? For example a stable standalone, verses experimental by date or name. beta (which is default) - 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] Alignment table with comma, and long long space after
On 9/23/2013 8:11 PM, Wolfgang Schuster wrote: Am 23.09.2013 um 15:45 schrieb Xan dxpubl...@telefonica.net: On Sun, 22 Sep 2013 19:31:33 +0200 Wolfgang Schuster schuster.wolfg...@gmail.com ha escrit: You can show us a *complete* minimal example. Wolfgang What is at final? It’s a bug in the alignment mechanism and looking for a solution. I decided to replace the old mechanism by a new one .. still somewhat experimental ... \starttext % \enabletrackers[typesetters.characteralign] \starttabulate[|l|g{,}|r|] \NC test \NC 1.234.456,99 \NC \NC test \NR \NC test \NC 234.456,9 \NC \NC test \NR \NC test \NC 234.456\NC \NC test \NR \NC test \NC 456\NC \NC test \NR \NC test \NC \bf default \NC \NC test \NR \stoptabulate \starttabulate[|l|rg{,}|] \NC test \NC 1.234.456,99 \NC \NR \NC test \NC 234.456,9 \NC \NR \NC test \NC ,9 \NC \NR \NC test \NC 234.456, \NC \NR \NC test \NC 234.456\NC \NR \NC test \NC 456\NC \NR \NC test \NC \bf right\NC \NR \stoptabulate \starttabulate[|l|lg{,}|] \NC test \NC -1.234.456,99 \NC \NR \NC test \NC +1.234.456,99 \NC \NR \NC test \NC 1.234.456,99 \NC \NR \NC test \NC234.456,9 \NC \NR \NC test \NC234.456\NC \NR \NC test \NC456\NC \NR \NC test \NC \bf left \NC \NR \stoptabulate \starttabulate[|l|cg{,}|cg{.}|] \NC test \NC 1.234.456,99 \NC 1,234,456.99 \NR \NC test \NC 234.456,9 \NC 234,456.9 \NR \NC test \NC 234.456\NC 234,456\NR \NC test \NC 456\NC 456\NR \NC test \NC \bf center \NC \bf center \NR \stoptabulate \starttabulate[|l|cg{,}w(10em)|lg{,}|] \NC test \NC € 1,1 \NC 1.234.456,99 \NC \NR \NC test \NC € 11,11\NC 234.456,9 \NC \NR \NC test \NC € 12\punctuationspace111,11\NC 234\punctuationspace456,9 \NC \NR \NC test \NC € 12 111,11\NC 234 456,9 \NC \NR \NC test \NC € 1.234.451,2 \NC 234.456\NC \NR \NC test \NC €234.451,2 \NC 456\NC \NR \NC test \NC €234.451 \NC \NC \NR \NC test \NC €451 \NC \NC \NR \NC test \NC \bf center+width \NC \bf center \NC \NR \stoptabulate \page \bTABLE \bTR \bTD test \eTD \bTD[aligncharacter=yes] € 1,1 \eTD \bTD[aligncharacter=yes]1.234.456,99 \eTD \eTR \bTR \bTD test \eTD \bTD[aligncharacter=yes] € 11,11\eTD \bTD[aligncharacter=yes] 234.456,9 \eTD \eTR \bTR \bTD test \eTD \bTD[aligncharacter=yes] € 12\punctuationspace111,11\eTD \bTD[aligncharacter=yes] 234\punctuationspace456,9 \eTD \eTR \bTR \bTD test \eTD \bTD[aligncharacter=yes] € 12 111,11\eTD \bTD[aligncharacter=yes] 234 456,9 \eTD \eTR \bTR \bTD test \eTD \bTD[aligncharacter=yes] € 1.234.451,2 \eTD \bTD[aligncharacter=yes] 234.456 \eTD \eTR \bTR \bTD test \eTD \bTD[aligncharacter=yes] € 234.451,2 \eTD \bTD[aligncharacter=yes] 456 \eTD \eTR \bTR \bTD test \eTD \bTD[aligncharacter=yes] € 234.451 \eTD \bTD[aligncharacter=yes] \eTD \eTR \bTR \bTD test \eTD \bTD[aligncharacter=yes] € 451 \eTD \bTD[aligncharacter=yes] \eTD \eTR \bTR \bTD test \eTD \bTD \bf center+width \eTD \bTD \bf center \eTD \eTR \eTABLE \startcharacteralign \checkcharacteralign{123.456,78} \blank[small] \checkcharacteralign{456} \blank[small] \checkcharacteralign{23.456} \blank[small] \checkcharacteralign{78,9} \stopcharacteralign \stoptext - 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] Alignment table with comma, and long long space after
I'd like to try out the new experimental mechanism for tables mentioned below. Is it correct that I need the standalone version to do this? If standalone, are there differenct versions that I must select between? For example a stable standalone, verses experimental by date or name. Thanks Re: - below Hans Hagen pra...@wxs.nl wrote: On 9/23/2013 8:11 PM, Wolfgang Schuster wrote: Am 23.09.2013 um 15:45 schrieb Xan dxpubl...@telefonica.net: On Sun, 22 Sep 2013 19:31:33 +0200 Wolfgang Schuster schuster.wolfg...@gmail.com ha escrit: You can show us a *complete* minimal example. Wolfgang What is at final? It’s a bug in the alignment mechanism and looking for a solution. I decided to replace the old mechanism by a new one .. still somewhat experimental ... \starttext % \enabletrackers[typesetters.characteralign] \starttabulate[|l|g{,}|r|] \NC test \NC 1.234.456,99 \NC \NC test \NR \NC test \NC 234.456,9 \NC \NC test \NR \NC test \NC 234.456\NC \NC test \NR \NC test \NC 456\NC \NC test \NR \NC test \NC \bf default \NC \NC test \NR \stoptabulate \starttabulate[|l|rg{,}|] \NC test \NC 1.234.456,99 \NC \NR \NC test \NC 234.456,9 \NC \NR \NC test \NC ,9 \NC \NR \NC test \NC 234.456, \NC \NR \NC test \NC 234.456\NC \NR \NC test \NC 456\NC \NR \NC test \NC \bf right\NC \NR \stoptabulate \starttabulate[|l|lg{,}|] \NC test \NC -1.234.456,99 \NC \NR \NC test \NC +1.234.456,99 \NC \NR \NC test \NC 1.234.456,99 \NC \NR \NC test \NC234.456,9 \NC \NR \NC test \NC234.456\NC \NR \NC test \NC456\NC \NR \NC test \NC \bf left \NC \NR \stoptabulate \starttabulate[|l|cg{,}|cg{.}|] \NC test \NC 1.234.456,99 \NC 1,234,456.99 \NR \NC test \NC 234.456,9 \NC 234,456.9 \NR \NC test \NC 234.456\NC 234,456\NR \NC test \NC 456\NC 456\NR \NC test \NC \bf center \NC \bf center \NR \stoptabulate \starttabulate[|l|cg{,}w(10em)|lg{,}|] \NC test \NC € 1,1 \NC 1.234.456,99 \NC \NR \NC test \NC € 11,11\NC 234.456,9 \NC \NR \NC test \NC € 12\punctuationspace111,11\NC 234\punctuationspace456,9 \NC \NR \NC test \NC € 12 111,11\NC 234 456,9 \NC \NR \NC test \NC € 1.234.451,2 \NC 234.456\NC \NR \NC test \NC €234.451,2 \NC 456\NC \NR \NC test \NC €234.451 \NC\NC \NR \NC test \NC €451 \NC\NC \NR \NC test \NC \bf center+width \NC \bf center \NC \NR \stoptabulate \page \bTABLE \bTR \bTD test \eTD \bTD[aligncharacter=yes] € 1,1 \eTD \bTD[aligncharacter=yes]1.234.456,99 \eTD \eTR \bTR \bTD test \eTD \bTD[aligncharacter=yes] € 11,11\eTD \bTD[aligncharacter=yes] 234.456,9 \eTD \eTR \bTR \bTD test \eTD \bTD[aligncharacter=yes] € 12\punctuationspace111,11\eTD \bTD[aligncharacter=yes] 234\punctuationspace456,9 \eTD \eTR \bTR \bTD test \eTD \bTD[aligncharacter=yes] € 12 111,11\eTD \bTD[aligncharacter=yes] 234 456,9 \eTD \eTR \bTR \bTD test \eTD \bTD[aligncharacter=yes] € 1.234.451,2 \eTD \bTD[aligncharacter=yes] 234.456 \eTD \eTR \bTR \bTD test \eTD \bTD[aligncharacter=yes] € 234.451,2 \eTD \bTD[aligncharacter=yes] 456 \eTD \eTR \bTR \bTD test \eTD \bTD[aligncharacter=yes] € 234.451 \eTD \bTD[aligncharacter=yes] \eTD \eTR \bTR \bTD test \eTD \bTD[aligncharacter=yes] € 451 \eTD \bTD[aligncharacter=yes] \eTD \eTR \bTR \bTD test \eTD \bTD \bf center+width \eTD \bTD \bf center \eTD \eTR \eTABLE \startcharacteralign \checkcharacteralign{123.456,78} \blank[small] \checkcharacteralign{456} \blank[small] \checkcharacteralign{23.456} \blank[small] \checkcharacteralign{78,9} \stopcharacteralign \stoptext - 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 /
Re: [NTG-context] Alignment table with comma, and long long space after
On Mon, 23 Sep 2013 20:11:01 +0200 Wolfgang Schuster schuster.wolfg...@gmail.com ha escrit: Am 23.09.2013 um 15:45 schrieb Xan dxpubl...@telefonica.net: On Sun, 22 Sep 2013 19:31:33 +0200 Wolfgang Schuster schuster.wolfg...@gmail.com ha escrit: You can show us a *complete* minimal example. Wolfgang What is at final? It’s a bug in the alignment mechanism and looking for a solution. Wolfgang Thanks. Please notice me when you (sure) have the solution 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Alignment table with comma, and long long space after
On Sun, 22 Sep 2013 19:31:33 +0200 Wolfgang Schuster schuster.wolfg...@gmail.com ha escrit: You can show us a *complete* minimal example. Wolfgang What is at final? 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Alignment table with comma, and long long space after
Am 23.09.2013 um 15:45 schrieb Xan dxpubl...@telefonica.net: On Sun, 22 Sep 2013 19:31:33 +0200 Wolfgang Schuster schuster.wolfg...@gmail.com ha escrit: You can show us a *complete* minimal example. Wolfgang What is at final? It’s a bug in the alignment mechanism and looking for a solution. 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Alignment table with comma, and long long space after
It does not work with that: %%% Per a què les taules se me puguin alinear amb les comes \chardef\characteralignmentmode=2 \chardef\characteralignmentmode\plustwo %%% http://randomdeterminism.wordpress.com/2012/11/18/separation-of-content-and-presentation-for-tables-part-1/ \startsetups table:style \setupTABLE[row][first][background=color, backgroundcolor=tablecolor, color=black, align={middle,lohi},style=ss] \setupTABLE[column][1][align={right,lohi}] \setupTABLE[column][2][align={left,lohi},alignmentcharacter={,},aligncharacter=yes] % \setupTABLE[column][2][width=.20\textwidth] \setupTABLE[loffset=1mm,roffset=1mm] \setupTABLE[frame=off] \setupTABLE[topframe=on,bottomframe=on] \setupTABLE[column][first][leftframe=on] \setupTABLE[column][last][rightframe=on] \stopsetups What can I do? Xan. On Sat, 21 Sep 2013 18:55:51 +0200 Wolfgang Schuster schuster.wolfg...@gmail.com ha escrit: Am 21.09.2013 um 16:22 schrieb Xan dxpubl...@telefonica.net: Hi, I have this \startsetups table:style \setupTABLE[row][first][background=color, backgroundcolor=tablecolor, color=black, align={middle,lohi},style=ss] \setupTABLE[column][1][align={right,lohi}] \setupTABLE[column][2][align={left,lohi},alignmentcharacter={,},aligncharacter=yes] % \setupTABLE[column][2][width=.20\textwidth] \setupTABLE[loffset=1mm,roffset=1mm] \setupTABLE[frame=off] \setupTABLE[topframe=on,bottomframe=on] \setupTABLE[column][first][leftframe=on] \setupTABLE[column][last][rightframe=on] \stopsetups \placefigure[here]{Diverses mesures}{ \bTABLE[setups={table:header, table:frame, table:style}] \bTABLEhead \bTR \bTD Esdeveniment \eTD \bTD Mesura (m) \eTD \eTR \eTABLEhead \bTABLEbody \bTR \bTD Distància mitjana Terra-Lluna \eTD \bTD 150.000.000.000 \eTD \eTR \bTR \bTD Diàmetre mitjà terrestre \eTD \bTD 12 800.000 \eTD \eTR \bTR \bTD Distància Palma-Alcúdia \eTD \bTD 75.000 \eTD \eTR \bTR \bTD Diàmetre mitjà de Júpiter \eTD \bTD 140.000.000 \eTD \eTR \bTR \bTD L'altura d'una persona \eTD \bTD 1,75 \eTD \eTR \bTR \bTD La distància mitjana entre el Sol i Alfa-Centauri \eTD \bTD 40.790.494.000.000.000 \eTD \eTR \eTABLEbody \eTABLE} but ConTeXt produces a lot of space after 1,75. How can I do for second column fits the content? Add the following line to your setups for the table. \chardef\characteralignmentmode\plustwo 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Alignment table with comma, and long long space after
Am 22.09.2013 um 19:13 schrieb Xan dxpubl...@telefonica.net: It does not work with that: %%% Per a què les taules se me puguin alinear amb les comes \chardef\characteralignmentmode=2 \chardef\characteralignmentmode\plustwo %%% http://randomdeterminism.wordpress.com/2012/11/18/separation-of-content-and-presentation-for-tables-part-1/ \startsetups table:style \setupTABLE[row][first][background=color, backgroundcolor=tablecolor, color=black, align={middle,lohi},style=ss] \setupTABLE[column][1][align={right,lohi}] \setupTABLE[column][2][align={left,lohi},alignmentcharacter={,},aligncharacter=yes] % \setupTABLE[column][2][width=.20\textwidth] \setupTABLE[loffset=1mm,roffset=1mm] \setupTABLE[frame=off] \setupTABLE[topframe=on,bottomframe=on] \setupTABLE[column][first][leftframe=on] \setupTABLE[column][last][rightframe=on] \stopsetups What can I do? You can show us a *complete* minimal example. 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Alignment table with comma, and long long space after
Yes: You can show us a *complete* minimal example. Wolfgang % Regime \enableregime[utf] % Choose a language, and associated hyphenation rules. \mainlanguage[ca] % AMSTHM equivalent %% Exercici %% Mirar http://wiki.contextgarden.net/Command/setupdescriptions %%% posar alternative=left per identar tots els continguts | alternative=serried per tractar el contingut com un parà graf ordinari \defineenumeration [exercici] [alternative=serried,text={\startcolor[darkblue]Exercici\stopcolor},stopper={.\space},left={\bgroup},right={\egroup},width=fit,headstyle=\ss,distance=0.25em,width=fit] %\defineenumeration % [exerciciimportant] % [text={Exercici},headstyle=bold,between=\blank,titledistance=0em,textdistance=1em, %stopper={.\space},location=serried,left={\bgroup\bf},right={\egroup},width=fit,before={\bgroup\startframedtext[background=screen,frame=off,width=broad]},after={\stopframedtext\egroup}] % Intent fer una comanda per a fer requadres a les coses importants % http://www.ntg.nl/pipermail/ntg-context/2013/074823.html \def\important{\dodoubleempty\doimportant} \def\doimportant[#1][#2]{\bgroup \ifsecondargument \startframedtext[background=color,backgroundcolor=#2,frame=off,width=broad]% #1 \else \startframedtext[background=screen,frame=off,width=broad]% #1 \fi \stopframedtext \egroup} \defineframedtext [important] [background=screen, frame=off, width=broad] % Per a veure què falla amb els sÃmbols \enabletrackers [fonts.missing] % Choose a font %\usetypescript[pagella][ec] %\setupbodyfont[pagella,11pt] \setupbodyfont [cmr,11pt] % cmr, 11pt % Margins %\setuplayout[topspace=2cm, backspace=2cm, header=1.5cm,margin=2cm,width=middle,footer=1cm] % Colors \definecolor[headingcolor][c=1,m=0.5431,y=0,k=0.5451] \definecolor[tablecolor][b=1,t=.5,a=1] % Page number \setuppagenumbering [location={header,right}] % Paper size \setuppapersize [A4] % Italic in emph (by default is slanted) \setupbodyfontenvironment[default][em=italic] % Headers and footers \setupfooter[text][style={\ss\tfx},color=headingcolor,before={\hrule}] \setupheader[text][style={\ss},color=headingcolor,after={\hrule}] %% Display of headers \setuphead[title][style={\tfd},align=middle,before={\begingroup},after={\bigskip\endgroup}] \setupheads[section,subject][style={\tfc}] \setupheads[subsubject,subsection][style={\tfb}] \setuphead[title,chapter,subject,section,subsubject,subsection][color=headingcolor] %% Per veure els enllaços \setupinteraction[state=start] %% Per a BibTeX \setuppublications[alternative=ams] %% Taules: estils %%% Per a què les taules se me puguin alinear amb les comes \chardef\characteralignmentmode=2 \chardef\characteralignmentmode\plustwo %%% http://randomdeterminism.wordpress.com/2012/11/18/separation-of-content-and-presentation-for-tables-part-1/ \startsetups table:style \setupTABLE[row][first][background=color, backgroundcolor=tablecolor, color=black, align={middle,lohi},style=ss] \setupTABLE[column][1][align={right,lohi}] \setupTABLE[column][2][align={left,lohi},alignmentcharacter={,},aligncharacter=yes] % \setupTABLE[column][2][width=.20\textwidth] \setupTABLE[loffset=1mm,roffset=1mm] \setupTABLE[frame=off] \setupTABLE[topframe=on,bottomframe=on] \setupTABLE[column][first][leftframe=on] \setupTABLE[column][last][rightframe=on] \stopsetups %% Normal \startsetups table2:style \setupTABLE[row][first][background=color, backgroundcolor=tablecolor, color=black, align={middle,lohi},style=ss] \setupTABLE[column][1][align={right,lohi}] \setupTABLE[column][2][align={left,lohi}] % \setupTABLE[column][2][width=.20\textwidth] \setupTABLE[loffset=1mm,roffset=1mm] \setupTABLE[frame=off] \setupTABLE[topframe=on,bottomframe=on] \setupTABLE[column][first][leftframe=on] \setupTABLE[column][last][rightframe=on] \stopsetups %% ConTeXt MIV %% Capçaleres i peus %%% Prenc els primers 5 carà cters del sha256 del fitxer (requereix ConTeXt MIV) \setupfootertexts[\jobname\space(versió \ctxlua{context(os.resultof(sha256sum \jobname.tex | cut -c -5))}, \currentdate)][] \starttext \placefigure[here]{Diverses mesures}{ \bTABLE[setups={table:header, table:frame, table:style}] \bTABLEhead \bTR \bTD Esdeveniment \eTD \bTD Mesura (m) \eTD \eTR \eTABLEhead \bTABLEbody \bTR \bTD Distà ncia mitjana Terra-Lluna \eTD \bTD 150.000.000.000 \eTD \eTR \bTR \bTD Dià metre mitjà terrestre \eTD \bTD 12 800.000 \eTD \eTR \bTR \bTD Distà ncia Palma-Alcúdia \eTD \bTD 75.000 \eTD \eTR \bTR \bTD Dià metre mitjà de Júpiter \eTD \bTD 140.000.000 \eTD \eTR \bTR \bTD L'altura d'una persona \eTD \bTD 1,75 \eTD \eTR \bTR \bTD La distà ncia mitjana entre el Sol i Alfa-Centauri \eTD \bTD 40.790.494.000.000.000 \eTD \eTR \eTABLEbody \eTABLE} \stoptext prova.pdf Description: Adobe PDF document ___ If your question is of interest to others as well, please add an entry to
[NTG-context] Alignment table with comma, and long long space after
Hi, I have this \startsetups table:style \setupTABLE[row][first][background=color, backgroundcolor=tablecolor, color=black, align={middle,lohi},style=ss] \setupTABLE[column][1][align={right,lohi}] \setupTABLE[column][2][align={left,lohi},alignmentcharacter={,},aligncharacter=yes] % \setupTABLE[column][2][width=.20\textwidth] \setupTABLE[loffset=1mm,roffset=1mm] \setupTABLE[frame=off] \setupTABLE[topframe=on,bottomframe=on] \setupTABLE[column][first][leftframe=on] \setupTABLE[column][last][rightframe=on] \stopsetups \placefigure[here]{Diverses mesures}{ \bTABLE[setups={table:header, table:frame, table:style}] \bTABLEhead \bTR \bTD Esdeveniment \eTD \bTD Mesura (m) \eTD \eTR \eTABLEhead \bTABLEbody \bTR \bTD Distància mitjana Terra-Lluna \eTD \bTD 150.000.000.000 \eTD \eTR \bTR \bTD Diàmetre mitjà terrestre \eTD \bTD 12 800.000 \eTD \eTR \bTR \bTD Distància Palma-Alcúdia \eTD \bTD 75.000 \eTD \eTR \bTR \bTD Diàmetre mitjà de Júpiter \eTD \bTD 140.000.000 \eTD \eTR \bTR \bTD L'altura d'una persona \eTD \bTD 1,75 \eTD \eTR \bTR \bTD La distància mitjana entre el Sol i Alfa-Centauri \eTD \bTD 40.790.494.000.000.000 \eTD \eTR \eTABLEbody \eTABLE} but ConTeXt produces a lot of space after 1,75. How can I do for second column fits the content? 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Alignment table with comma, and long long space after
Am 21.09.2013 um 16:22 schrieb Xan dxpubl...@telefonica.net: Hi, I have this \startsetups table:style \setupTABLE[row][first][background=color, backgroundcolor=tablecolor, color=black, align={middle,lohi},style=ss] \setupTABLE[column][1][align={right,lohi}] \setupTABLE[column][2][align={left,lohi},alignmentcharacter={,},aligncharacter=yes] % \setupTABLE[column][2][width=.20\textwidth] \setupTABLE[loffset=1mm,roffset=1mm] \setupTABLE[frame=off] \setupTABLE[topframe=on,bottomframe=on] \setupTABLE[column][first][leftframe=on] \setupTABLE[column][last][rightframe=on] \stopsetups \placefigure[here]{Diverses mesures}{ \bTABLE[setups={table:header, table:frame, table:style}] \bTABLEhead \bTR \bTD Esdeveniment \eTD \bTD Mesura (m) \eTD \eTR \eTABLEhead \bTABLEbody \bTR \bTD Distància mitjana Terra-Lluna \eTD \bTD 150.000.000.000 \eTD \eTR \bTR \bTD Diàmetre mitjà terrestre \eTD \bTD 12 800.000 \eTD \eTR \bTR \bTD Distància Palma-Alcúdia \eTD \bTD 75.000 \eTD \eTR \bTR \bTD Diàmetre mitjà de Júpiter \eTD \bTD 140.000.000 \eTD \eTR \bTR \bTD L'altura d'una persona \eTD \bTD 1,75 \eTD \eTR \bTR \bTD La distància mitjana entre el Sol i Alfa-Centauri \eTD \bTD 40.790.494.000.000.000 \eTD \eTR \eTABLEbody \eTABLE} but ConTeXt produces a lot of space after 1,75. How can I do for second column fits the content? Add the following line to your setups for the table. \chardef\characteralignmentmode\plustwo 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___