欢迎您访问 最编程 本站为您分享编程语言代码,编程技术文章!
您现在的位置是: 首页

使用修复方法改进的CVPR LaTeX简历模板及Tikz 图形宏包指南

最编程 2024-02-10 20:42:34
...

Preface

由于要改冬令营的论文,想着LaTeX这回得好好做下排版了,于是便开始搜索模板。

CVPR模板

在查找模板的过程当中,几经波折。由于我是用的是WSL[Ubuntu],之前太懒没有装Windows下的TeXLive而且也懒得再倒腾,WSL中的TeX中文环境也只适配了XeTeX,所以这些都成为了找米板路上的阻碍。

最后,在Overleaf上找到了2018年的CVPR模板,如下:https://www.overleaf.com/latex/templates/cvpr-2018-template/qgmrfntfbqns

要使用的话直接复制所有的文件自己创建然后编译就行。

关于此模板的Bug

今天由于我需要使用tikz宏包画流程图,然而一include就会编译过不了,于是借助万能的互联网,找到了如下的解决方案:https://tex.stackexchange.com/questions/373873/sharelatex-cvpr-template-not-compiling-tikz

That template looks pretty horribly broken. The eso-pic.sty file isn't actually the real file. It's hacked to input{cvpr_eso.sty} rather than RequirePackage{atbeginshi} at least. But cvpr_eso.sty appears to actually be everyshi. To fix it, delete cvpr_eso.sty and eso-pic.sty. Now everything should compile with usepackage{tikz}. Other bad things about that template:

  • The epsfig package should not be used; graphicx replaces it.
  • The times package should probably not be used. Use mathptmx instead.

所以,只需删除cvpr_eso.styeso-pic.sty,然后不建议使用epsfigtimes宏包即可。

Reference

  • [1] https://tex.stackexchange.com/questions/373873/sharelatex-cvpr-template-not-compiling-tikz
  • [2] https://www.overleaf.com/latex/templates/cvpr-2018-template/qgmrfntfbqns

本文作者:博主: gyrojeff    文章标题:LaTeX模板——CVPR | 以及Tikz宏包使用的修复 本文地址:https://gyrojeff.top/index.php/archives/89/ 版权说明:若无注明,本文皆为“gyro永不抽风!”原创,转载请保留文章出处。 许可协议:署名-非商业性使用-相同方式共享 4.0 国际 (CC BY-NC-SA 4.0) 转载请保留原文链接及作者! 我的博客即将同步至腾讯云+社区,邀请大家一同入驻