一些常用常忘的LaTeX命令备份

LaTeX常用命令速查
本文提供了一套LaTeX常用命令的快速查阅表,包括符号输入、公式编辑、图形插入等,特别适合于撰写科研论文时参考。还介绍了如何使用预定义的符号简化复杂度理论的表述方式,以及如何管理文献引用。

LaTeX用的熟练以后十分方便,并且其实常用的命令也并不算多。不过每次使用LaTeX写论文时候总是会有一两个命令想不起来,结果不得不每次都在Google里翻江倒海。于是今天就把常用的命令备份在这里,希望以后不用每次都重新搜索…


另外有几年没发文了,借机表存在。


{a \brack b}
{a \choose a_1,a_2} 
or    \binom {a} {a_1,a_2}
{a \brace b}
{a \bangle b} with  
\def \bangle{ \atopwithdelims \langle \rangle}.
Figure\begin{figure}[!ht]
  \centering
    \includegraphics[scale=0.5]{img/pf.png}
  \caption{Sub-soutions represented as points in coordinate system}
  \begin{flushleft}
  \end{flushleft}
  \label{fig:pf}
\end{figure}


Multiline underneath subscript
多行下限
\usepackage amsmath

\underset{ \substack{ k\in S;\\ 
                                       m\in [1,n]
                                      } 
                 }{MinMax}
Predefined symbols
复杂度理论


\usepackage{amssymb}
\newcommand{\nph}{\mathcal{NP-}hard}
\newcommand{\ostar}[1]{\mathcal{O}^*(#1)}
\newcommand{\bigo}[1]{\mathcal{O}(#1)}
Bibtex\bibliographystyle{spmpsci}     
\bibliography{ref}   % The file name is ref.bib

Use \cite{} to cite
待办事项 todonotes\usepqckage{todonotes}

\todo{...}
批注 \margepar{。。。}

陆续更新。


注:前四个来自http://www.combinatorics.net/weblib/commands/command.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值