latex常用命令
缩进相关:
\hspace{2em} 段落缩进两个字符
\par~另开一个段落,有缩进
直接换行也会另开一段,有缩进
字体大小和行距:
\fontsize{20}{12}\selectfont{内容}
用法:
\begin{fontsize}{20pt}{12pt}\selectfont
This document describes the most common article elements and how to use the IEEEtran class with \LaTeX \ to produce files that are suitable for submission to the IEEE. IEEEtran can produce conference, journal, and technical note (correspondence) papers with a suitable choice of class options.
\end{fontsize}
效果图:
这个命令会设置文档的字体大小为20磅,行距为12磅。
其他
\documentclass[12pt]{article} 指定了文档的类别为“article”,并设置了默认的字体大小为12磅