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 ___
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 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 ___
[NTG-context] Distanc to rightframe in TABLE
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} \starttext \startarde \arde{\input knuth}{االلّهُمَّ إِنِّي أَسْأَلُكَ أَنْ تَجْعَلَ فِيما تَقْضِي وَتُقَدِّرُ مِنَ الاَمْرِ المَحْتُومِ فِي الاَمْرِ الحَكِيمِ مِنَ القَضاء الَّذِي لايُرَدُّ وَلا يُبَدَّلُ أَنْ تَكْتُبَنِي مِنْ حُجَّاجِ بَيْتِكَ الحَرامِ المَبْرُورِ حَجُّهُمُ المَشْكُورِ سَعْيُهُمُ المَغْفُورُ ذُنُوبُهُمُ المُكَفَّرِ عَنْ سَيِّئاتِهِمْ، وَأَنْ تَجْعَلَ فِيما تَقْضِي وَتُقَدِّرُ أَنْ تُطِيلَ عُمْرِي فِي خَيْرٍ وَعافِيَةٍ وَتُوَسِّعَ فِي رِزْقِي وَتَجْعَلَنِي مِمَّنْ تَنْتَصِرُ بِهِ لِدِينِكَ وَلاتَسْتَبْدِلْ بِي غَيْرِي } \stoparde Now I want a distance between the left german text and the middle vertical line (which is just the rightframe of the first cell), and also a distance between the arabic text and this same rightframe. So the texts should not "glue" to the vertical line. How to do that? 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 ___