注册 登录  
 加关注
查看详情
   显示下一条  |  关闭
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!立即重新绑定新浪微博》  |  关闭

随机过程

http://superware.blog.163.com

 
 
 

日志

 
 

How to use LaTeX within xfig - Perl Script Option  

2012-04-20 11:54:26|  分类: Latex |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |
From : http://www.eg.bucknell.edu/physics/ph329/xfig_latex.html

The procedure is identical up until the last step, at which point you can use Perl scripts written by Ben Vollmayr-Lee. This method is cleaner because it does not require any system setup, but the actions of the Perl scripts are not as transparent (to those of us not fluent in the language).
  • Call xfig with the options below:

    % xfig -specialtext -latexfonts -startlatexFont default

    I use bash, so I have included these options in my .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'

  • When entering text in xfig, simply use $ signs to indicate math mode.

  • When the figure is complete Export it to "Combined PS/LaTeX (both parts)." This creates two files: filename.pstexfilename.pstex_t.
    (Export the figure this way for both EPS and PDF as final output; the xfig2pdf script below converts EPS files to PDF in the final step.) and

  • At this point use an executable Perl script named xfig2eps for EPS output, or xfig2pdf for PDF:

    % xfig2eps filename
    or
    % xfig2pdf filename

  评论这张
 
阅读(57)| 评论(0)
推荐

历史上的今天

评论

<#--最新日志,群博日志--> <#--推荐日志--> <#--引用记录--> <#--博主推荐--> <#--随机阅读--> <#--首页推荐--> <#--历史上的今天--> <#--被推荐日志--> <#--上一篇,下一篇--> <#-- 热度 --> <#-- 网易新闻广告 --> <#--右边模块结构--> <#--评论模块结构--> <#--引用模块结构--> <#--博主发起的投票-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 

页脚

网易公司版权所有 ©1997-2018