mailing-list for TeXmacs Users

Text archives Help


Re: How to insert a Latex formula in a xfig picture?


Chronological Thread 
  • From: "Karl M. Hegbloom" <address@hidden>
  • To: address@hidden
  • Subject: Re: How to insert a Latex formula in a xfig picture?
  • Date: 24 Mar 2003 07:30:04 -0800
  • Organization:

On Mon, 2003-03-24 at 02:51, Javier Arantegui wrote:
> Hello,
>
> In 'Inserting Images' (Help|Manual|Browse --> The Gnu Texmacs Manual|Links
> and automatically generated content|Inserting images) it can be read:
>
> 'We also included a script to convert pictures, with optional LaTeX
> formulas in it, into encapsulated postscript. In order to include a LaTeX
> formula in an xfig picture, we recall you should enter the formula as text,
> while selecting a LaTeX font and setting the special flag in the text
> flags.'
>
> I tried to do include a simple formula in an xfig picture (just a single
> tau) and import it to Texmacs but I was not be able to get it. Where can I
> find a more detailed explanation?

I've been using it to do my math homework. I create a graph with
gnuplot, and «set terminal fig», «set output "graph.fig"». I label all
of the lines with labels surrounded by dollar signs, then open the fig
file with xfig, and use the "edit" tool to set the "special flag" on
them. (I find it annoying that gnuplot doesn't just do that for me.)

The trick is to 1) use dollar signs to get LaTeX math mode, 2) set the
"special flag".

Then, I just run "fig2ps graph.fig graph.eps", and include the .eps in
my Texmacs document.

My question is.. why can't I just include the .fig and have it converted
then and there?

--
http://www.debian.org/ - Free the Software!





Archive powered by MHonArc 2.6.19.

Top of page