Latex-部分基础知识

  • Post author:
  • Post category:其他


用的是OverLeaf。

编号项

​
\begin{itemize}
\item[*] xxxx
\item[*] xxxx
\end{itemize}
圆括号
\begin{enumerate}[(1)]
\item xxxx
\item xxxx
\end{enumerate}

参考文献中作者名显示为横线

据说是因为两条参考文献有一模一样的作者名导致。

解决方法是将第二条参考文献的作者用双大括号括起来,然后自己手动调整格式

例如

第一条不变

{A. AAA and B. BBB and C. CCC}

第二条改成

{

{A. AAA, B.BBB, and C.CCC}}

脚注

\footnote{}

字体格式

加粗:\textbf{文字}

倾斜:\textit{文字}

特殊符号转义

\#  #

\$ $

\% %

\{ {

\} }

\~{} ~

\_{} _

\^{} ^

\textbackslash \

\& &

大于、小于、大于或等于、小于或等于

一个是在公式环境下弄。

我是在非公式环境:

大于:\textgreater

小于:\textless

大于或等于:$a \geqslant 4$

即a≥4

小于或等于:$a \leqslant 4$

即a≤4

OverLeaf快键键

单/双引号

latex中输入双引号时,如果都直接用键盘上的双引号键,打出的是一顺撇的。左面引号的正确输入法是:按两次“Tab上面,数字1左面那个键”。至于后边的引号,与老方法是一样的,即按两次单引号键(或一次SHIFT+单引号键—也就是一次双引号键)

左单引号:`(键盘上1旁边的那个);左双引号:“;右单引号:'(键盘分号的右边那个);右双引号:”或”。在普通模式下,”和”是一样的;但在数学模式下,”是两个导数符号。

bibtex格式

类型 简介 必需关键字 可省略关键字
@article 期刊或杂志上的一篇文章。 author, title, journal, year. volume, number, pages, month, note.
@book 有确定出版社的书籍。 author或editor, title, publisher, year. volume或number, series, address, edition, month, note.
@booklet 印制的有封皮的作品,但没有出版社或赞助机构的名称。 title. author, howpublished, address, month, year, note.
@inbook 一本书的一部分(章,节或某些页)。 author或editor, title, chapter和/或pages, publisher,year. volume或number, series, type, address, edition, month, note.
@incollection 一本书中有自己题目的一部分。 author, title, booktitle, publisher, year. editor, volume或number, series, type, chapter, pages, address, edition, month, note.
@conference/@inproceedings 会议论文集中的一篇文章。 author, title, booktitle, year. editor, volume或number, series, pages, address, month, organization, publisher, note.
@manual 科技文档。 title. author, organization, address, edition, month, year, note.
@mastersthesis 硕士论文。 author, title, school, year. type, address, month, note.
@misc 不属于其它任何类型的作品。 没有。 author, title, howpublished, month, year, note.
@phdthesis 博士论文。 author, title, school, year. type, address, month, note.
@proceedings 会议论文集。 title, year. editor,volume或number, series, address, month, organization, publisher, note.
@techreport 学校或其它研究机构印制的报告。 author, title, institution, year. type, number, address, month, note.
@unpublished 有作者和标题的还未出版的作品。 author, title, note. month, year.



版权声明:本文为ytomc原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。