mailing-list for TeXmacs Users

Text archives Help


Re: [TeXmacs] figure number in list of figures


Chronological Thread 
  • From: Javier Arantegui <address@hidden>
  • To: address@hidden
  • Subject: Re: [TeXmacs] figure number in list of figures
  • Date: Tue, 21 Feb 2006 11:26:50 +0100
  • Organization: Univ. de Lleida

Hi,

El Lunes, 20 de Febrero de 2006 22:20, Kris Kuhlman escribió:
> I need to include the word "Figure" and the figure number in the
> automatically-generated list of figures, before the caption of the
> figures. This is a requirement for a dissertation style.

I have done a quick'n'dirty hack. Well not so quick, I'm not very good
writing
macros and so :-(

Just copy and paste (Edit -> Past from -> Scheme) these lines in the
beginning
of your document:

(document (assign "list-fig" "0") (assign "glossary-1" (macro "left"
"right" (concat "Figure " (assign "list-fig" (plus (value "list-fig") "1"))
(value "list-fig") ". " (arg "left") (glossary-dots) (arg "right")))))

That should do it. The hack should be quite autoexplanatory and easy to
modify.

Javier

--
Javier Arántegui
Dept. Tecnologia de Alimentos / Dept. of Food Technology
Universitat de Lleida / University of Lleida (Spain)

Tel. +34 973702595
Fax +34 973702596
IM: Jabber - javier.arantegui (AT) jabberes.org
http://www.tecal.udl.es



Archive powered by MHonArc 2.6.19.

Top of page