latex 基础

空白处理: 多个空格-->一个空格,  多个回车-->一个回车;

特殊字符: \# \$ \% \^{} \& \_ \{ \} \~{}

LATEX命令: [\][identifier|specialChar]

注释: %   \usepackage{verbatim}   \begin{comment}     \end{comment}

源文件结构:  \documentclass{}   \usepackage{}    \begin{document}     \end{document}

文档结构: \documentclass[options]{class}       class{article,book,report,slides}

宏包:  \usepackage

页面样式: 页眉页脚,\pagestyle{style}   \thispagestyle{style}

包含文件: \include \includeonly  \input

语法检查: \usepackage{syntonly}  \syntaxonly

文档组织: 章 节 子节 段 句 标点

\section{...} \paragraph{...}  \subsection{...} \subparagraph{...}  \subsubsection{...}  \part{...} \chapter{...} 

目录 \tableofcontents 整篇文章的标题 \maketitle  设置\title{...}, \author{...},\date{...}, 多作者用\and连接

断行 另起一行而不另起一段 \\   \newline    禁止分页\\*

\newpage  \linebreak[n], \nolinebreak[n], \pagebreak[n] and \nopagebreak[n]

\sloppy  防止出现较长的行  \fussy 恢复

\hyphenation{word list} 断字  \-

text同一行内\mbox{text}   \fbox 外加框

左引号··(~号建)  右引号''  单引号‘

破折号 连字号 波浪号 度的符号 省略号\ldots 连字 禁止连字\mbox 注音符号

.\@ 句号为句子的末尾  

交叉引用: \label{marker}, \ref{marker} and \pageref{marker}

marker如何使用???

脚注  \footnote{footnote text}

强调 \underline{text}  \emph{text} 斜体

对齐  \Flushleft, \Flushright, and \Center

例子引用: Quote, Quotation, and Verse

保持排版格式打印: verbatim

 

 

 

posted @ 2012-09-29 10:12  天堂一梦  阅读(415)  评论(0编辑  收藏  举报