Article Directory
why use latex
What advantages does LaTeX have over Word?
https://www.zhihu.com/question/20542113/answer/1103367388
Note: Only by trying it yourself can you better understand the awesomeness of latex.
Getting Started
video
Liu Haiyang LaTeX is not a quick introduction - follow the master to learn the purest LaTeX knowledge
https://www.bilibili.com/video/BV1s7411U7Pr
Learn how to write a good paper with latex in seven minutes
https://www.bilibili.com /video/BV11b411U7Xo/?spm_id_from=333.788.recommend_more_video.0
Learn to use LaTeX templates in half an hour
https://www.bilibili.com/video/BV1qJ411E7iq?p=5
Brother Ning will take you to learn LaTeX typesetting in half an hour
https:// www.bilibili.com/video/BV12t411A73w/?spm_id_from=333.788.recommend_more_video.0
books
Introduction to latex, Liu Haiyang
Link: https://pan.baidu.com/s/142UZoUjClsOka57giN9XPw Extraction code: ap94
Environment configuration
Use VSCode to write LaTeX
https://zhuanlan.zhihu.com/p/38178015
2020 to build a Latex environment: 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 can edit latex online.
https://www.overleaf.com/
-
Thesis artifact VSCode Latex Chinese
Note: To configure xe encoding, just call \usepackage{xeCJK}.
Write the xelatex configuration once in 6. If there is a problem in 7, remove \usepackage[a4paper, left=1in, right=1in, top=1in, bottom=1in]{geometry}
https://www.jianshu.com/p /11941663b76b
https://www.zhihu.com/question/266146760
Note: File -> Preferences -> Settings, search: latex-workshop.latex, click settings.json.
-
[?] in xelatex+bib mode, do not display references
Modify latex-workshop.latex.recipes
https://blog.csdn.net/weixin_44582755/article/details/105293085 -
vscode xelatex: unrecognized option `-pdf'
Just comment the '-pdf' parameter in setting.json.
Formulas, table aids
LaTeX formula manual (the most complete in the whole network)
https://www.cnblogs.com/1024th/p/11623258.html
LaTeX form artifact
https://www.tablesgenerator.com/#
光流得到 LaTeX form
https://zhuanlan.zhihu.com/p/62317790
latex formula artifact
Automatically obtain latex formulas from pictures [50 free uses per account per month, 100 times for student email accounts]
https://mathpix.com/
usage
basic usage
Floating body settings
https://zhuanlan.zhihu.com/p/148302766
Adding footnotes
Generally, we do not need to use additional macro packages when using footnotes. We only need to insert \footnote{footnote content} at the place where the footnote should be inserted. Such footnotes: automatic numbering
.
First line indent.
https://blog.csdn.net/iteye_21202/article/details/82507515
https://blog.csdn.net/xyqzki/article/details/6863175
Set the starting number of footnote
\setcounter{footnote}{0}
The Latex table is too large (or too small) to adjust the method
\setlength{\tabcolsep}{7mm}{XXXX} only needs to adjust the value, whether it is wide or narrow.
https://blog.csdn.net/wbl90/article/details/52597429
The method of bolding LaTex font
https://blog.csdn.net/weixin_45459911/article/details/108534044
LaTeX: Complex multi-line formulas are aligned according to the equal sign
https://www.jianshu.com/p/440331eb0f00
insert picture
The picture follows the text
https://blog.csdn.net/latior/article/details/106547281
The latex text is set to double columns, how does the picture occupy two columns
https://blog.csdn.net/LEEMOON11/article/details/ 118090018 How to
insert a picture in LaTeX
https://www.dtmao.cc/news_show_1741957.shtml
The latex inserted picture is too large
https://zhuanlan.zhihu.com/p/147952252
https://blog.csdn.net/guotong1988 /article/details/112068202
Insert multiple pictures side by side and share a caption
https://blog.csdn.net/qq_38526623/article/details/103737589
matplotlib-line chart for papers
https://blog.csdn.net/yst_00001/ article/details/115488225
set file path
http://blog.sina.com.cn/s/blog_6effb6c10102w3nr.html
latex pictures side by side, vertical
https://www.jianshu.com/p/1c6b8241d48a
make references
- Pitfalls I have stepped on: I used Google Scholar to obtain the bib information of the literature, but the bib information obtained by Baidu Scholar was of poor quality and incomplete. .
- LATEX uses bibtex to cite literature
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 references show spbasic.bst of the problem
https://blog.csdn.net/goodnightbaby/article/details/109064004 - Literature citations for beginners in latex \bibliographystyle use some conditions
http://www.voidcn.com/article/p-frwtfjnd-baa.html
Note: It is very convenient to write directly in tex without using bib, and you can adjust the format of references more flexibly.
\begin{thebibliography}{14}
\bibitem{xx} xxx
\end{thebibliography}
error
How to debug errors
By annotating the content and rebuilding, locate where the problem occurs.
- There is an error in the typesetting of the line number of the acl template.
Delete some nearby comments, and the typesetting will return to normal. It is a strange bug. - Overfull \hbox (15.0pt too wide)
seems to be just a warning, it’s okay if you don’t deal with it.
https://tex.stackexchange.com/questions/197333/overfull-hbox-15-0pt-too-wide