Well I came with this command that works and looks like I want:

\newcounter{myquote}[chapter]
  \renewcommand{\themyquote}{\arabic{myquote}}
  \newcommand{\myquote}[1]{
    \refstepcounter{myquote}
    \begin{quote}\textbf{T. \themyquote} #1\end{quote}}



Now, I would prefer it to be an environment and not a command. Could
somebody help me to translate this into environment definition. I
tried, but I couldn't.

thanks,

On Tue, Apr 3, 2012 at 3:00 AM, Juan Acevedo <[email protected]> wrote:
> Epa Jacobo,
>
> You can find a very clear explanation on counters and how to set up new 
> counters in the *2nd edition* of The Latex Companion. You may want to try 
> also the UK TeX FAQ for good pointers: 
> http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes
>
> Χαιρε
>>
>> ----------------------------------------------------------------------
>>
>> Message: 1
>> Date: Mon, 2 Apr 2012 14:15:38 -0500
>> From: Jacobo Myerston <[email protected]>
>> To: Unicode-based TeX for Mac OS X and other platforms <[email protected]>
>> Subject: [XeTeX] enumerating quotations
>> Message-ID: <[email protected]>
>> Content-Type: text/plain; charset="us-ascii"
>>
>> Hi,
>>
>> I'm writing a book in which I quote a significant number of ancient texts. 
>> I'm using the \quote environment for this as usual. Now, I would like to 
>> have a numbered label to refer back to these quotations along the book. So, 
>> I would like the \quote environment to behave somehow like \figure so that 
>> the quote is auto-numbered and labels located inside \quote get also an 
>> automatic number.
>>
>> Does anybody how to do this?
>>
>> I'm using memoir.
>
>
>
> --------------------------------------------------
> Subscriptions, Archive, and List information, etc.:
>  http://tug.org/mailman/listinfo/xetex



--------------------------------------------------
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex

Reply via email to