Skip to Content.
Sympa Menu

texmacs-users - [TeXmacs] How to make the label in figure appear at the right place when converted to latex

Subject: mailing-list for TeXmacs Users

List archive

[TeXmacs] How to make the label in figure appear at the right place when converted to latex


Chronological Thread 
  • From: Youjun Hu <address@hidden>
  • To: address@hidden
  • Subject: [TeXmacs] How to make the label in figure appear at the right place when converted to latex
  • Date: Tue, 24 Mar 2009 10:08:01 -0400
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=KcYzaEGK7X5JagC+uKYXGSyGgXMlZwT6nfO0jmkwxomRgzUKIIH9JEOQekJRCVxWis 4lIUT6cJGDQsY7m0flWUQJepW8K0YstnE7W51HHWgIPPEVpXN4RZlXYgvlI8yQbATDR8 GmxZyly/UrIuK2/P9Nq5NidFDmm9bflV0onAc=

Hi, all
I added label to a figure in Texmacs, then  I converted the .tm file to .tex file,
I want to get :

\begin{figure}[h]
    \includegraphics{xxx.eps}
    \caption{xxxx}
    \label{xx}
\end{figure}

That is, I want the '\label{xx}' to be  just behind the  '\caption{xxxx}'

How to achieve this?
Do I need to hack the latex converter, tmtex.scm program,
or I should add the label in a different place to make it work?
Thank you for your help!

I have  tried the following possible places to add a label :
1.  before the figure ( the result is \label{xx} is before \includegraphics{xxx.eps} )
2.  after the figure  ( the result is \label{xx} is after  \includegraphics{xxx.eps} )
3. before the caption content ( the result is label still in caption: \catpion{\label{xx}xxxx} )
4. after the caption content ( the result is label still in caption: \catpion{xxxx\label{xx}} )




  • [TeXmacs] How to make the label in figure appear at the right place when converted to latex, Youjun Hu, 03/24/2009

Archive powered by MHonArc 2.6.19.

Top of Page