Re: [NTG-context] Distanc to rightframe in TABLE
Am 15.05.2013 um 08:59 schrieb "H. Özoguz" : > Hi, > > the german-arabic-transliteration-environment becomes, with your kind help, > better and better. Next question, see this standard-code: > > \definefont[amiri][file:UthmanTN1Ver10.ttf*arabic at 10 pt] % or > amiri-regular.ttf > \define[1]\Arab{\setupalign[r2l]\amiri#1} > %\showgrid > \startsetups[arde] > \setupTABLE[c][1][rightframe=on] > \stopsetups > \def\startarde > {\bTABLE[frame=off,width=.5\textwidth,setups=arde,split=yes]} > \def\stoparde > {\eTABLE} > \define[2]\arde > {\bTR > \bTD [style={\setupinterlinespace[line=3ex]}] #1\eTD > \bTD[align=r2l,style={\amiri\setupinterlinespace[line=5ex]}] #2 \eTD > \eTR} \define[2]\arde {\bTR \bTD[roffset=1ex,…]#1\eTD \bTD[loffset=1ex,…]#2\eTD \eTR} 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] Distanc to rightframe in TABLE
\define[2]\arde {\bTR \bTD[roffset=1ex,…]#1\eTD \bTD[loffset=1ex,…]#2\eTD \eTR} Wolfgang Thanks Wolfgang! And one more question to this table: Whythe left german text is aligned left, and the arabic text is justified? How to make both flushleft/flushright? If I add "align=flushright", then the "align=r2l" attribute is deactivated. Thanks. Huseyin ___ 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] Distanc to rightframe in TABLE
Am 15.05.2013 um 09:46 schrieb "H. Özoguz" : >> \define[2]\arde >> {\bTR >>\bTD[roffset=1ex,…]#1\eTD >>\bTD[loffset=1ex,…]#2\eTD >>\eTR} >> >> Wolfgang > > Thanks Wolfgang! And one more question to this table: Whythe left german text > is aligned left, and the arabic text is justified? How to make both > flushleft/flushright? If I add > "align=flushright", then the "align=r2l" attribute is deactivated. Use "align={r2l,flushright}". 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 ___