latex编辑札记
来源:互联网 发布:c语言按位与 编辑:程序博客网 时间:2024/04/29 17:02
1. 单栏文档排双栏图片:
\usepackage{subfigure}(要注意subfigure宏包与subfig宏包的区别)
\begin{figure}
\begin{minipage}[t]{0.5\linewidth}
\centering
\includegraphics[width=2.2in]{fig3.pdf}
\caption{fig1}
\label{fig:side:a}
\end{minipage}%
\begin{minipage}[t]{0.5\linewidth}
\centering
\includegraphics[width=2.2in]{fig4.pdf}
\caption{fig2}
\label{fig:side:b}
\end{minipage}
\end{figure}
2. 双栏文档排单栏图片:
\begin{figure*}
----figure coding---
\end{figure*}
3. 多幅图片混排:
\begin{figure}
\centering
\subfigure[yellow people]{\includegraphics[width=0.48\linewidth]{yellow.pdf}}
\subfigure[white people]{\includegraphics [width=0.48\linewidth]{white.pdf}}\\
\subfigure[black people]{\includegraphics [width=0.48\linewidth]{black.pdf}}
\subfigure[total people]{\includegraphics [width=0.48\linewidth]{total.pdf}}
\caption{c}
\label{fig:example}
\end{figure}
3. 表格中的文字换行
\newcommand{\tabincell}[2]{\begin{tabular}{@{}#1@{}}#2\end{tabular}}
%然后使用&\tabincell{c}{}&就可以在表格中自动换行
%比如这么用
\begin{tabular}{|c|c|}
\hline
1 & the first line \\
\hline
2 & \tabincell{c}{haha\\ heihei\\zeze} \\
\hline
\end{tabular}
4. 表格代码:
\newcommand{\tabincell}[2]{\begin{tabular}{@{}#1@{}}#2\end{tabular}}
\begin{table}[htbp]
\setlength{\abovecaptionskip}{0pt}
\setlength{\belowcaptionskip}{10pt}
\centering
\caption{Type Sizes For Camera-Ready Papers}
\label{tab2}
\begin{tabular}{|c|c|c|}
\hline
Solution & \tabincell{c}{Triangles rendered on our machine\\(million/sec)}
& Results report from original paper \\\hline
Our approach & 101 & / \\\hline
Geometry Clipmaps (2004) & 73 & 59Million \\\hline
Cignoni et (2003) & 65 & 16Million \\\hline
Lindstrom (2002) & 24 & 2.4Million \\\hline
VDPM Hoppe(1998) & 7 & 0.48Million \\\hline
\end{tabular}
\end{table}
- latex编辑札记
- 在线编辑LaTeX
- Latex 算法编辑
- LaTex常用编辑方法
- Latex 文档编辑
- 在线合作编辑latex
- sublime下编辑LaTeX
- LaTex中文编辑入门
- LaTeX数学公式编辑学习
- Cygwin latex 编辑命令
- latex公式编辑
- latex公式编辑
- LaTex中文编辑入门
- 【转载】【latex】latex公式编辑概述
- Latex中公式的编辑
- LaTex 编辑公式 快速上手
- Latex中如何编辑算法
- markdown下编辑latex数学公式
- C语言常见排序算法
- 交换一个表中的两个字段——通过临时表
- tomcat报错white spaces are required between publicld and systemld
- 枚举简介
- Hbase数据模型
- latex编辑札记
- Oracle 数据同步技术
- mysql小记
- HDU 1197 Specialized Four-Digit Numbers
- 观察者模式
- 策略模式
- 依赖抽象,不要依赖具体
- Hibernate入门
- 装饰器模式