[texhax] referencing figures, prepend word "Fig"

Hartmut Henkel hartmut_henkel at gmx.de
Wed Apr 9 22:53:05 CEST 2008


Hi Donald,

On Wed, 8 Apr 2008, Donald Arseneau wrote:

> You got an answer to this question, but did you know that LaTeX
> already knows if it is a figure or table, regardless of the tag?
> Just use that:
>
> \makeatletter
> \def\p at figure{Fig~}
> \def\p at table{Table~}
> \makeatother

that's a nice solution! Many thanks for pointing this out!

Regards, Hartmut


More information about the texhax mailing list