LaTex

LaTex

  • CTeX套装(WinEdt)
  • Tex Live(Texworks)

解决Sublime Text 3在GBK编码下的中文乱码问题
Bad Boxes
box underfull overfull glue stretch
nbox horizontal box
vbox vertical box
Overfull \hbox (3.522pt too wide) detected at line 137
Underfull \vbox (badness 10000) has occurred while \output is active []


.cls
.bst


宏包
amsmath
amsfonts
amsopn
\DeclareMathOperator{\ }{}
\DeclareMathOperator*{\ }{} 行间公式上下标会变为顶部和底部 %mathop{} 不用amsopn
\operatorname{} 直接使用,括号中字母会变成正体
braket
\set{} 显示括号
ntheorem

  • \newtheorem{}{}[section]
    theorem
    lemma
    corollary
    definition
    proposition
    proof
    remark

natbib
\usepackage[option]{natbib}
具体的 option 有:

  • comma 用逗号分隔多个引用
  • numbers 使用编号引用形式
  • square 使用方括号
  • sort&compress 排序,多个引用可以合并 (如 3-6, 15)

ccmap 防止最终编译的PDF文件内容复制到txt文件乱码
arydshln 虚线
横线 ; {4pt/2pt}
竖线 \hdashline[4pt/2pt]
caption
\usepackage[justification=centering]{caption} %全局图片标题居中


\def\ {}
\newcommand{\ }{}
\renewcommand{\ }{}
\let\ \undefined

\numberwithin{equation}{section}
\hyphenation{} 调整断字
\sloppy 空格断字比例,空格少
\fussy 空格断字比例,断字少
\allowdisplaybreaks[n] 多行公式允许跨页显示程度


\title\author
\footnote{}|\thanks和\footnotemark[num]|\footnotetext[num]{text} 和 \footnotemark[num]
\affiliation
\email
\maketitle


abstract
keywords
section


  • Figure
    [\usepackage{graphicx} \includegraphics{}
    .eps matlab、pdf
    [!htb]
    width
    \hsize
    scale,angle
    \usepackage{epstopdf}]
  • 列表
    Itemize
    Enumerate
    [\usepackage{enumerate}
    \bfseries
    \sffamily
    \setcounter{enumi}{n}
    \setcounter{enumii}{n}]
    Description
  • 图表
    Tabular
    [{|c|l|r|}
    \hline
    \multicolumn{}{}{}
    \cline
    Table
    \usepackage{longtable}]
    *Tabbing
  • 公式
    行内公式
    $ $
    行间公式
    $$ $$
    \[ \]
    环境:
    Equation, Equation*
    [subequations
    \boxed{}]
    Eqnarray
    Multiline
    Split
    Gather
    [gathered]
    Align
    [\nonumber]
    矩阵:
    [array
    bmatrix,Bmatrix
    pmatrix
    vmartrix,Vmatrix
    分块矩阵]
    分段函数:Cases
  • 引用
    \label{}
    \ref{}
    figure、equation、align、table
    有标题的环境类型[figure,table],其\label设定必须放在\caption后面
    The \label command should be placed in the line you want to reference, the placement in the line does not matter. I prefer to place it at the beginning at the line (as a sort of description) while others place them at the end.
    \cite

参考文献
\balance 最后一页两栏等高
附录
\appendix


Tree 查看文章结构
Gather 查看文章结构,参考文献,标签和引用信息
Compile (F9)[.tex]

  1. LaTex[.dvi]DVIPDF[.pdf]
    LaTex[.dvi]DVIPS[.ps]PSPDF[.pdf]
  2. PDFLaTeX
  3. XeLaTeX

Erase Output files

其他:
空格
~空格
长度单位
字体大小\small \tiny
\text{} 文本,正体字母
\verb|xxxx| 用来显示输入即输出的内容
\rm 斜体变正体
\textbf{} 加粗Bold
\textit{} 或 \emph{} 斜体Emphasize(Italic)
\texttt{} 等宽字体Teletype
\textsc{} 所有字母大写,但小写字母比较小
\uppercase{} 所有字母大写
\mathbb{} 黑板字体
\mathcal{} 花体
\left \right 括号完全包住内容
\left. \right 括号完全包住内容,只有右边
\big, \Big, \bigg, \Bigg 增大括号的大小,程度依次加强
\overbrace, \underbrace上下括号
\vspace{} 垂直间距设置https://jingyan.baidu.com/article/f3e34a12ebb401f5eb653527.html
适量缩小公式间距:https://www.cnblogs.com/xingzifei/p/6372338.html
双栏公式:http://blog.sina.com.cn/s/blog_5e16f1770100mnzf.html [\begin{figure*}%加*的作用是跨栏]
Latex 求和积分的上下限技巧:https://jingyan.baidu.com/article/2a138328af0484074a134f9c.html
参考文献期刊名中的&:$\&$
\proof \ay \rulex


Beamer[Slides]
\documentclass[10pt,aspectratio=43,mathserif]{beamer}

\begin{document}

\end{document}

你可能感兴趣的:(LaTex)