latex初学3

一,某段首行顶格,不缩进

Latex 换行顶格、不缩进,使用的命令为:

\noindent

在要顶格的段落前面加上,此命令,就可以。

二,段首不缩进

\setlength{\parindent}{0pt}

每段都顶格了,大多文章不需要此种变换。

三,制作表格

%\begin{center}
%\begin{table}[t]%
%\centering
%\caption{This is sample table caption.\label{tab2}}%
%\begin{tabular*}{500pt}{@{\extracolsep\fill}lcccc@{\extracolsep\fill}}
%\toprule
%\textbf{col1 head} & \textbf{col2 head}  & \textbf{col3 head}  & \textbf{col4 head}  & \textbf{col5 head} \\
%\midrule
%col1 text & col2 text  & col3 text  & col4 text  & col5 text\tnote{$\dagger$}   \\
%col1 text & col2 text  & col3 text  & col4 text  & col5 text   \\
%col1 text & col2 text  & col3 text  & col4 text  & col5 text\tnote{$\ddagger$}   \\
%\bottomrule
%\end{tabular*}
%\begin{tablenotes}
%\item Source: Example for table source text.
%\item[$\dagger$] Example for a first table footnote.
%\item[$\ddagger$] Example for a second table footnote.
%\end{tablenotes}
%\end{table}
%\end{center}

PS:复制命令时,去掉%

猜你喜欢

转载自blog.csdn.net/csdn4210/article/details/81410874