Re: [NTG-context] startenumerate in romans a la LaTeX
El 31/08/2010, a las 09:47, Taco Hoekwater escribió: On 08/31/2010 09:31 AM, Xan wrote: Al 30/08/10 15:55, En/na Taco Hoekwater ha escrit: On 08/28/2010 09:31 PM, Xan wrote: - right indentation of items: in context items start at the same point. In LaTeX is the item text itself who starts at the same point, not the romans. I do not understand this sentence. Does this do what you want? Easy: in ConTeXt (i) bla bla bla (ii) bla bla bla (iii) bla bla bla (iv) bla bla bla in LaTeX (i) bla bla bla (ii) bla bla bla (iii) bla bla bla (iv) bla bla bla Context aligns text and LaTeX right-aligns the numbers (markers) Wolfgang? I know how to code this in plain style, but is there a nicer way? Hello, this appeared in the list some time ago. \startitemize[r,fit][stopper=,left=(,right=),itemalign=flushright] \dorecurse{10}{\item prueba} \stopitemize Best, Jeronimo. Best wishes, Taco ___ 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 ___ ___ 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] startenumerate in romans a la LaTeX
El 31/08/2010, a las 16:58, xancorreu escribió: Al 31/08/10 12:16, En/na Otared Kavian ha escrit: On 31 août 2010, at 11:28, Xan wrote: It does not work for me. The numbers are left aligned. Xan. Wolfgang's solution works for me with mkiv: Xan, are you using mkii or mkiv? Best regards: OK I use mkii Xan. ___ The version with fit works in mkii here: \setupitemgroup[enumerate][each][romannumerals,fit][width=1cm,distance=1em,itemalign=flushright,left=(,right=),stopper=] At least for me, do not work if omitted. Jeronimo. ___ 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] align header in table
El 26/08/2010, a las 20:29, Jerónimo Alaminos Prats escribió: Hi all, I've been following the examples in the garden to write the following table \chardef\characteralignmentmode=1 \startTABLE \setupTABLE[column][alignmentcharacter={,},aligncharacter=yes,align=middle] \setupTABLE[frame=off] \setupTABLE[row][first][bottomframe=on] \NC \alpha \NC \beta \NC error absoluto\NC error relativo \NC \NR \NC 2 \NC 2,1 \NC 0,1 \NC 0,05 \NC \NR \NC 2\times 10\high{-4} \NC 2,1\times 10\high{-4} \NC 0,1\times 10\high{-4} \NC 0,05 \NC \NR \NC 2\times 10\high{4}\NC 2,1\times 10\high{4} \NC 0,1\times 10\high{4} \NC 0,05 \NC\NR \stopTABLE Is there a way to have the entries of first row centered? The obvious \setupTABLE[row][first][align=middle] do not have any effect. Thanks, Jeronimo. I forgot about table. Sorry for the noise. The result that I was looking for it's explained in the articles of Aditya on table macros. \starttable[|l|cq1,5 |cq1,5 |cq1,2 |] \NC\REF[cB]{\alpha} \NC \REF[cB]{$\alpha^{*}$} \NC \REF[cB]{error absoluto}\NC \REF[cB]{error relativo} \NC \AR \HL \NC 2 \NC 2,1 \NC 0,1 \NC 0,05 \NC \AR \NC 2\times 10\high{-4} \NC 2,1\times 10\high{-4} \NC 0,1\times 10\high{-4} \NC 0,05 \NC \AR \NC 2\times 10\high{4} \NC 2,1\times 10\high{4} \NC 0,1\times 10\high{4} \NC 0,05 \NC\AR \HL \stoptable Best, Jeronimo. ___ 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] align header in table
Hi all, I've been following the examples in the garden to write the following table \chardef\characteralignmentmode=1 \startTABLE \setupTABLE[column][alignmentcharacter={,},aligncharacter=yes,align=middle] \setupTABLE[frame=off] \setupTABLE[row][first][bottomframe=on] \NC \alpha \NC \beta \NC error absoluto\NC error relativo \NC \NR \NC 2 \NC 2,1 \NC 0,1 \NC 0,05 \NC \NR \NC 2\times 10\high{-4} \NC 2,1\times 10\high{-4} \NC 0,1\times 10\high{-4} \NC 0,05 \NC \NR \NC 2\times 10\high{4} \NC 2,1\times 10\high{4} \NC 0,1\times 10\high{4} \NC 0,05 \NC\NR \stopTABLE Is there a way to have the entries of first row centered? The obvious \setupTABLE[row][first][align=middle] do not have any effect. Thanks, Jeronimo. ___ 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] continued itemize
Dear all, it seems that \sub don't get along very well with the option continue. At least, the behavior is different in mkii and mkiv. Check the following example. \starttext \startitemize[n] \dorecurse{3}{\item prueba} \sub prueba \dorecurse{3}{\item prueba} \stopitemize \input tufte \startitemize[continue,n] \dorecurse{3}{\item prueba} \stopitemize \stoptext Jerónimo. ___ 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] lucida and mactex 2008
Solved. \enablemathcollection[lbr] does the trick. Thanks to everybody. - Jerónimo Alaminos Prats Dpto. Análisis Matemático Facultad de Ciencias Universidad de Granada Granada - 18071 alami...@ugr.es ___ 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] lucida and mactex 2008
El 24/12/2008, a las 16:59, Wolfgang Schuster escribió: Am 24.12.2008 um 09:40 schrieb Jerónimo Alaminos Prats: El 24/12/2008, a las 0:33, Aditya Mahajan escribió: On Tue, 23 Dec 2008, Jerónimo Alaminos Prats wrote: Hello, I have been using the lucida fonts without problems for a long time. They work like a charm with mactex 2007 but moving to the 2008 version I've found that some math symbols are shuffled or simply do not appear in the pdf. For example, \midint compiles correctly but do not appear in the pdf result. I have checked everything that I can imagine but cannot find a reason for this behaviour. This is because the math encoding files have not been completely extended to mkiv yet. We are in the process of adding encoding information for all unicode math symbols. \midintop is not a unicode character, and we need to figure out how to represent non- unicode characters in the private areas of unicode table. I do not know if there is a temporary workaround to make this work. I'm not using mkiv. It'sHere you have the log. Give me a few days, there is something wrong with the typescripts for math and ConTeXt use the wrong fonts to get the symbols. Thank for the interest. In the meanwhile I've made some advances with my problem. The output of \showmathcharacters is ok if I add \usemathcollection[lbr] but even with this there are fonts that do no get loaded. For example \usetypescript[lucida][texnansi] \usetypescript[lucidabfm][texnansi] \usetypescript[lucidaboldmath][texnansi] \setupbodyfont[lucida,12pt] \usemathcollection[lbr] \starttext $\midint$ \stoptext compiles ok but the midint is missing and the font lbme is not loaded. You can see the log at http://www.ugr.es/local/alaminos/_Media/midint.log Strange enough, i can produce the symbol by showing the whole font but, even in this case i do not obtain any result from $\midint$. The log and the result of compiling \usemodule[fnt-01] \usetypescript[lucida][texnansi] \usetypescript[lucidabfm][texnansi] \usetypescript[lucidaboldmath][texnansi] \setupbodyfont[lucida,10pt] \usemathcollection[lbr] \starttext $\midint$ \ShowFont[LucidaNewMath-Extension][lbme] \stoptext is this http://www.ugr.es/local/alaminos/_Media/texnansi-bh-lucida.pdf http://www.ugr.es/local/alaminos/_Media/texnansi-bh-lucida.log Can any of you reproduce this behaviour with mactex 2008? Any ideas? Thank you, Jeronimo. - Jerónimo Alaminos Prats Dpto. Análisis Matemático Facultad de Ciencias Universidad de Granada Granada - 18071 alami...@ugr.es ___ 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] lucida and mactex 2008
El 24/12/2008, a las 0:33, Aditya Mahajan escribió: On Tue, 23 Dec 2008, Jerónimo Alaminos Prats wrote: Hello, I have been using the lucida fonts without problems for a long time. They work like a charm with mactex 2007 but moving to the 2008 version I've found that some math symbols are shuffled or simply do not appear in the pdf. For example, \midint compiles correctly but do not appear in the pdf result. I have checked everything that I can imagine but cannot find a reason for this behaviour. This is because the math encoding files have not been completely extended to mkiv yet. We are in the process of adding encoding information for all unicode math symbols. \midintop is not a unicode character, and we need to figure out how to represent non-unicode characters in the private areas of unicode table. I do not know if there is a temporary workaround to make this work. I'm using context mkii not mkiv. Here you can find the log http://www.ugr.es/~alaminos/_Media/lucida-2008.log Sorry if the message with the log appears twice. It seems that the log file it's too large for an attachment to the list. Thank you. - Jerónimo Alaminos Prats Dpto. Análisis Matemático Facultad de Ciencias Universidad de Granada Granada - 18071 alami...@ugr.es ___ 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] lucida and mactex 2008
Hello, I have been using the lucida fonts without problems for a long time. They work like a charm with mactex 2007 but moving to the 2008 version I've found that some math symbols are shuffled or simply do not appear in the pdf. For example, \midint compiles correctly but do not appear in the pdf result. I have checked everything that I can imagine but cannot find a reason for this behaviour. As example, the result that I get when i compile \setupcolors[state=start] \usetypescript[lucida][texnansi] \usetypescript[lucidabfm][texnansi] \usetypescript[lucidaboldmath][texnansi] \setupbodyfont[lucida,10pt] \starttext \showmathcharacters \stoptext can be seen at http://www.ugr.es/~alaminos/_Media/lucida-2008.pdf Any ideas? Thanks, Jeronimo - Jerónimo Alaminos Prats Dpto. Análisis Matemático Facultad de Ciencias Universidad de Granada Granada - 18071 alami...@ugr.es ___ 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 ___