Monthly Archives: July 2012

Latex 小技巧

1. 缩小reference行距: \usepackage[numbers,sort&compress]{natbib} \addtolength{\bibsep}{-1.0 em} \setlength{\bibhang}{2em} 字体:\footnotesize 2. 缩小 item间的距离: \usepackage{paralist} \let\itemize\compactitem \let\enditemize\endcompactitem \let\enumerate\compactenum \let\endenumerate\endcompactenum \let\description\compactdesc \let\enddescription\endcompactdesc \setlength{\pltopsep}{7pt} \setlength{\pltopsep}{10pt} 3. Table, Figure 引用序号不对 \label 应该 紧接着 放在 \caption 之后   4. Table 内部 换行 \newcommand{\tabincell}[2]{\begin{tabular}{@{}#1@{}}#2\end{tabular}} \begin{table}[!b] \begin{tabular}{|c|c|c|c|c|} \hline WAKE\_LOCK & … Continue reading

Posted in Uncategorized | Leave a comment