我电脑 OS 是 Ubuntu14.04, 可用的最简单方法是:

  1. 打开终端,输入 sudo find / -name article.tplx 用以查找 article.tplx 文件位置,我电脑的结果为/usr/local/lib/python2.7/dist-packages/nbconvert/templates/latex/article.tplx
  2. 编辑 article.tplx 文件,命令为: sudo gedit /usr/local/lib/python2.7/dist-packages/nbconvert/templates/latex/article.tplx,进入编辑界面;
  3. 将article.tplx文件中的\documentclass[11pt]{article}改为\documentclass[11pt]{ctexart}
    保存并关闭文件.修改结束.

相关文章:

  • 2022-12-23
  • 2021-11-15
  • 2021-04-17
  • 2021-07-21
  • 2021-08-19
  • 2021-09-01
  • 2021-08-29
  • 2021-08-05
猜你喜欢
  • 2021-12-25
  • 2021-09-08
  • 2021-12-13
  • 2021-06-18
  • 2021-12-25
  • 2021-04-16
  • 2021-11-20
相关资源
相似解决方案