Re: [NTG-context] startenumerate in romans a la LaTeX
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) \defineitemgroup[enumerate] \setupenumerate[1][romannumerals] \setupenumerate[1][width=1cm,stopper=,left=(,right=)] \starttext \startenumerate \item A \item B \item C \stopenumerate \stoptext ___ 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
Al 30/08/10 15:55, En/na Taco Hoekwater ha escrit: \defineitemgroup[enumerate] \setupenumerate[1][romannumerals] \setupenumerate[1][width=1cm,stopper=,left=(,right=)] \starttext \startenumerate \item A \item B \item C \stopenumerate \stoptext For the other hand, is width=1cm arbitrary? Without left=( and right=), what is the separation between text and numbers? I think it's a little bit of 1cm, isn't? 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] startenumerate in romans a la LaTeX
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? 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 ___
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
Am 31.08.2010 um 09:47 schrieb Taco Hoekwater: 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? \defineitemgroup[enumerate] \setupitemgroup[enumerate][each][romannumerals][width=1cm,distance=1em,itemalign=flushright,left=(,right=),stopper=] %\setupitemgroup[enumerate][each][romannumerals,fit][distance=1em,itemalign=flushright,left=(,right=),stopper=] \starttext \startenumerate \item one \item two \item \input ward \stopenumerate \stoptext 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] startenumerate in romans a la LaTeX
Al 31/08/10 10:06, En/na Wolfgang Schuster ha escrit: Am 31.08.2010 um 09:47 schrieb Taco Hoekwater: 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? \defineitemgroup[enumerate] \setupitemgroup[enumerate][each][romannumerals][width=1cm,distance=1em,itemalign=flushright,left=(,right=),stopper=] %\setupitemgroup[enumerate][each][romannumerals,fit][distance=1em,itemalign=flushright,left=(,right=),stopper=] \starttext \startenumerate \item one \item two \item \input ward \stopenumerate \stoptext Wolfgang It does not work for me. The numbers are left aligned. 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] startenumerate in romans a la LaTeX
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 ___ 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
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. ___ 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] startenumerate in romans a la LaTeX
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? \defineitemgroup[enumerate] \setupenumerate[1][romannumerals] \setupenumerate[1][width=1cm,stopper=,left=(,right=)] \starttext \startenumerate \item A \item B \item C \stopenumerate \stoptext ___ 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
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. The Romans always start too late, try the Celts! JH ___ 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 ___