texmaker ubuntu 配置

一直是在 window 下面使用 texmaker 配合 CTex ,为了避免频凡的切换,今天解决了在 ubuntu 配置 texmaker。写简历和文档就更放方便了。

  1. Ubuntu商店安装Texmaker
  2. 安装xetex:

    $ sudo apt-get install texlive-xetex
    
  3. 解决字体问题,出现如下字体问题

    Metric (TFM) file or installed font not found.
    

    一般是找不到所需的字体,解决方法是安装 texlive 推荐的字体,参考这个http://tex.stackexchange.com/questions/75166/error-in-tex-live-font-not-loadable-metric-tfm-file-not-found

    $ sudo apt-get install texlive-fonts-recommended
    
  4. 如果需要配合xelatex使用,打开TexMaker: 选项->配置TeXMaker。在“LaTeX”一栏中填写:xelatex -interaction=nonstopmode %.tex

猜你喜欢

转载自blog.csdn.net/u012675539/article/details/53355261
今日推荐