论文写作神器latex的知识汇总

为啥用latex

LaTeX 相对于 Word 有什么优势?
https://www.zhihu.com/question/20542113/answer/1103367388

注:亲自动手试试才能够更好的了解latex的牛逼之处。

入门资料

视频

刘海洋 · LaTeX 不快速的入门 - 跟着大神学习最纯正的 LaTeX 知识
https://www.bilibili.com/video/BV1s7411U7Pr
七分钟学会如何用latex莽出一篇好论文
https://www.bilibili.com/video/BV11b411U7Xo/?spm_id_from=333.788.recommend_more_video.0
半个小时学会使用 LaTeX 模板
https://www.bilibili.com/video/BV1qJ411E7iq?p=5
宁哥带你半小时学会LaTeX排版
https://www.bilibili.com/video/BV12t411A73w/?spm_id_from=333.788.recommend_more_video.0

书籍

latex入门,刘海洋
链接: https://pan.baidu.com/s/142UZoUjClsOka57giN9XPw 提取码: ap94

环境配置

使用VSCode编写LaTeX
https://zhuanlan.zhihu.com/p/38178015
2020搭建Latex环境:Texlive+VScode
https://zhuanlan.zhihu.com/p/58811994

[VS code + Latex + texlive2020]Recipe terminated with fatal error: spawn xelatex ENOEN
https://blog.csdn.net/sinat_40936062/article/details/107174472
https://blog.csdn.net/mengxt169/article/details/110126235

overleaf可以在线编辑latex。
https://www.overleaf.com/

  • 论文神器 VSCode Latex 中文
    注:配置xe编码,调用\usepackage{xeCJK}即可。
    6中写一次xelatex的配置就行7中如果出现问题,去掉\usepackage[a4paper, left=1in, right=1in, top=1in, bottom=1in]{geometry}
    https://www.jianshu.com/p/11941663b76b
    https://www.zhihu.com/question/266146760
    注:文件->首选项->设置,搜索:latex-workshop.latex,点击settings.json。
    在这里插入图片描述
    在这里插入图片描述

  • xelatex+bib方式中的[?],不显示参考文献
    修改latex-workshop.latex.recipes
    https://blog.csdn.net/weixin_44582755/article/details/105293085

  • vscode xelatex: unrecognized option `-pdf’
    把setting.json中’-pdf’参数注释即可。
    在这里插入图片描述

公式、表格辅助工具

LaTeX公式手册(全网最全)
https://www.cnblogs.com/1024th/p/11623258.html

latex表格神器
https://www.tablesgenerator.com/#
光速搞定 LaTeX 表格
https://zhuanlan.zhihu.com/p/62317790

latex公式神器
自动从图片中获取latex公式【每个账户每月50次免费使用,学生邮箱账户100次】
https://mathpix.com/

用法

基本用法

浮动体设置
https://zhuanlan.zhihu.com/p/148302766

添加脚注
一般我们使用脚注时不需要额外使用宏包,只需要在该插入脚注的地方插入\footnote{脚注内容}即可,这样的脚注:
自动编号。
首行缩进。
https://blog.csdn.net/iteye_21202/article/details/82507515
https://blog.csdn.net/xyqzki/article/details/6863175

设置脚注的起始编号
\setcounter{footnote}{0}

Latex 表格过大(或过小)的调整方法
\setlength{\tabcolsep}{7mm}{XXXX} 只需要调整数值,无论变宽变窄都可以。
https://blog.csdn.net/wbl90/article/details/52597429

LaTex字体加粗的方法
https://blog.csdn.net/weixin_45459911/article/details/108534044

LaTeX:复杂多行公式按照等号对齐
https://www.jianshu.com/p/440331eb0f00

插入图片

图片紧跟文字之后
https://blog.csdn.net/latior/article/details/106547281
latex 正文设置为双栏,图片如何占两栏
https://blog.csdn.net/LEEMOON11/article/details/118090018
在 LaTeX 中插入图片
https://www.dtmao.cc/news_show_1741957.shtml
latex插入图片过大如何解决
https://zhuanlan.zhihu.com/p/147952252
https://blog.csdn.net/guotong1988/article/details/112068202
并排插入多张图片并公用一个caption
https://blog.csdn.net/qq_38526623/article/details/103737589
matplotlib-论文用折线图
https://blog.csdn.net/yst_00001/article/details/115488225
设置文件路径
http://blog.sina.com.cn/s/blog_6effb6c10102w3nr.html
latex 图片并排、竖排
https://www.jianshu.com/p/1c6b8241d48a

制作参考文献

  • 踩过的坑:用谷歌学术来获取文献的bib信息,百度学术获得的bib信息质量差、不完整。。
  • LATEX 用bibtex引用文献
    http://www.voidcn.com/article/p-ormsteme-boa.html
  • When changing the bibliography style, sometimes natbib is upset because it can’t interpret the data correctly.
    https://tex.stackexchange.com/questions/54480/package-natbib-error-bibliography-not-compatible-with-author-year-citations
  • LaTeX参考文献显示问题之spbasic.bst
    https://blog.csdn.net/goodnightbaby/article/details/109064004
  • 初学latex的文献引用\bibliographystyle使用一些状况
    http://www.voidcn.com/article/p-frwtfjnd-baa.html

注:不使用bib,直接在tex里写也挺方便,可以更灵活的调整参考文献的格式。
\begin{thebibliography}{14}
\bibitem{xx} xxx
\end{thebibliography}

error

如何调试错误

通过注释内容,重新build,来定位哪里出现问题。

  • acl模板行号排版出错
    把附近的一些注释删除了,排版就恢复正常了,挺奇怪的一个bug。
  • Overfull \hbox (15.0pt too wide)
    这个好像只是警告,不处理也没事。
    https://tex.stackexchange.com/questions/197333/overfull-hbox-15-0pt-too-wide
  • 2
    点赞
  • 7
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值