![]() |
LaTeX within xfig |
% xfig -specialtext -latexfonts -startlatexFont default
I use bash, so I have included these options in .bashrc, where I also set the size of the xfig window and start up xfig with a metric grid. My .bashrc has the entry:
alias xfig='xfig -geometry 950x700+50+20 -metric -startgridmode 3 -specialtext -latexfonts -startlatexFont default'
% xfigTOeps filename
This uses filename.pstex and filename.pstex_t to produce the figure filename.eps. (The script includes these files in an otherwise blank LaTeX page, compiles this page, and then extracts the eps figure; see below for details.)
% xfig -specialtext -latexfonts -startlatexFont default
I use bash, so I have included these options in .bashrc, where I also set the size of the xfig window and start up xfig with a metric grid. My .bashrc has the entry:
alias xfig='xfig -geometry 950x700+50+20 -metric -startgridmode 3 -specialtext -latexfonts -startlatexFont default'
% xfig2eps filename
or
% xfig2pdf filename