texmacs-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Texmacs-dev] Cleverref


From: David Allouche
Subject: Re: [Texmacs-dev] Cleverref
Date: Sat, 21 Feb 2009 13:48:58 +0100

On Tue, Feb 17, 2009 at 23:24, Bas Spitters <address@hidden> wrote:
> I am going to ask a dangerous question:
> Can we have latex feature X in texmacs?
>
> This time X is cleverref.
>
> It allows you to replace
> Lemma \ref{one}
> by
> \cref{one}
> and still obtain Lemma 1
>
> This is very convenient when you decide to upgrade the Lemma by a Proposition.
> I haven't looked at the implementation of this part of texmacs, so I am unsure
> how difficult it is.

Since your question looks like a question "is it reasonably feasible
without too much effort", instead of a request "can I have it please
please please", I'll answer the question:

It should be fairly feasible. You just need to define a new
anchor-like macro, and use that new macro in place of the standard
one. You might be able to just redefine the anchor macro in your
package to do what you want.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]