会不断更新添加,以便写论文的时候快速查找。

项目

带编号

\begin{enumerate}
\setlength{\itemsep}{0pt}
\setlength{\parsep}{0pt}
\setlength{\parskip}{0pt}
\item[(1)]
\item[(2)]
\item[(3)]
\end{enumerate}

无编号

\begin{itemize}
\item[-]
\item[-]
\item[-]
\end{itemize}

网址

\usepackage{url}

\url{}

 文字数字带圈

\textcircled{}

上标下标

$^{}$
$_{}$

\usepackage{graphicx}

一般

\begin{figure}[h]
\begin{center}
\includegraphics[width=0.8\textwidth]{xxx.eps}
\caption{}
\label{fig:}
\end{center}
\end{figure}

简单多幅并排

\begin{figure}[htb]
\begin{center}
\includegraphics[width=1.9cm]{1.eps}
\includegraphics[width=1.8cm]{2.eps}
\includegraphics[width=1.4cm]{3.eps}
\includegraphics[width=0.7cm]{4.eps}
\\ ~~~$1$~~~~$2$~~~~~~$3$~~~~$4$
\end{center}
\centering
\includegraphics[width=7.0cm]{xxx.eps}
\caption{}
\label{fig:}
\end{figure}

使用minipage,可以分别添加标题,并且可以使大小不同的图居中

\begin{figure}[h]
\begin{minipage}[c]{0.5\linewidth}
\centering
\includegraphics[width=0.8\textwidth]{xxx.eps}
\caption{}
\label{fig:}
\end{minipage}
\begin{minipage}[c]{0.5\linewidth}
\centering
\includegraphics[width=0.8\textwidth]{xxx.eps}
\caption{}
\label{fig:}
\end{minipage}
\end{figure}

图标题引用缩写

\caption[short]{long}

文本高亮

\usepackage{color}

{\color{red} text}

 调整断字

可以将下面语句放在导言区:

\tolerance=1000
\emergencystretch=\maxdimen
\hyphenpenalty=1000
\hbadness=10000

hyphenpenalty值越大,断字越少。tolerance越大,换行越少。

分文档编译

\include{xxx} 配合 \includeonly{xxx} 使用

% main.tex
\documentclass{book} \includeonly{chap1} \begin{document}
\title{A LaTeX Book}
\author{cohomo@blogbus}
\date{}maketitle \include{chap1}
\include{chap2}
\include{chap3} \end{document}

Latex常用整理的更多相关文章

  1. latex 常用小结

    在写论文,甚至有些课程的报告的时候,latex是常用的工具.这篇博文简单的记录了latex常用的一些内容. 1 基本模块 没用过latex的读者,最想问的问题莫过于latex的 “hello worl ...

  2. Latex常用数学符号(转)

    http://blog.sina.com.cn/s/blog_642075770100u0np.html Latex常用数学符号(转) 1.指数和下标可以用^和_后加相应字符来实现.比如: 2.平方根 ...

  3. CTEX - 在线文档 - TeX/LaTeX 常用宏包

    CTEX - 在线文档 - TeX/LaTeX 常用宏包       页面与章节标题式样   浮动对象及标题设计   生成与插入图形   表格与列表   目录与索引   参考文献   数学与化学公式 ...

  4. Latex常用公式整理

    目录 常用 常用数学公式 常用希腊字母 说明:博客园中的Latex编辑是以$ latex公式 $,为边界. 1.常用 描述 Latex公式 表达式 下标 x_2 x2 上标 x^2 x2  分数 \f ...

  5. [转]LaTex常用数学符号整理

    转载自 http://blog.csdn.net/ying_xu/article/details/51240291 (自己保存方便查阅,侵删) 另一个网站 Markdown 添加 Latex 数学公式 ...

  6. LaTeX常用数学符号表示方法

    转自:http://www.mohu.org/info/symbols/symbols.htm 常用数学符号的 LaTeX 表示方法 (以下内容主要摘自“一份不太简短的 LATEX2e 介绍”) 1. ...

  7. LaTeX常用数学符号

    之前在写博客做笔记时经常会在Word或WPS里写好数学公式再截图上传,一直觉得这样很low.现在实在是不想再去截图上传了,于是决定开始学一下LaTeX.在博客园中使用数学公式的设置可以参考在博客园使用 ...

  8. List常用整理

            长期更新,主要记录List的各种常用操作整理. 对List进行排序 // Collections.sort(重写toString()进行排序区分) List<ObjectName ...

  9. LaTeX技巧24:LaTeX常用命令集锦

    \hyphenation{word list} %断字命令:\showthe\topmargin %显示某个参数的数值或者内容: 在tex编译过程中出现行溢出(overflow hbox)是由于断字程 ...

随机推荐

  1. subprocess 子进程模块

    subprocess子进程模块 import subprocess #Popen方法是用来执行系统命令的,直接把结果打印到终端了 res =subprocess.Popen(r'dir',shell= ...

  2. 【Revit API】创建共享参数

    话不多说,直接上代码 var app = doc.Application; app.SharedParametersFilename = sharedParamFilePath; Definition ...

  3. javaweb购物车实现的几种方式

    之前没有接触过购物车的东东,也不知道购物车应该怎么做,所以在查询了很多资料,总结一下购物车的功能实现. 查询的资料,找到三种方法: 1.用cookie实现购物车: 2.用session实现购物车: 3 ...

  4. IOS的属性和实例变量

    实际上,@property声明的是属性,并不是实例变量.但是编译器会根据属性,自动生成实例变量,和对应的access方法.所以已经在interface里声明了@property,就不再需要在imple ...

  5. css radial-gradient()函数用法

    radial:半径的:放射状的:射线:光线:径向 gradient:梯度,坡度:渐变 radial-gradient:径向渐变 radial-gradient()函数:用径向渐变创建函数.径向渐变由中 ...

  6. bzoj千题计划225:bzoj2143: 飞飞侠

    http://www.lydsy.com/JudgeOnline/problem.php?id=2143 分层图最短路 把能够弹跳的曼哈顿距离看做能量 dp[i][j][k]表示在(i,j)位置,还有 ...

  7. DDLog设置方法

          CHENYILONG Blog DDLog设置方法 本文永久地址为http://www.cnblogs.com/ChenYilong/p/3984246.html,转载请注明出处. 201 ...

  8. 第11月第20天 sqlite3_open xcode mysql connector

    1. sqlite3_open 死锁 * thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP frame ...

  9. ZYNQ. Interrupt(1)Private Timer

    Interrupt zynq的中断. The PS is based on ARM architecture, utilizing two Cortex-A9 processors(CPUs) and ...

  10. 05 uni-app框架学习:uni-app设置全局变量的方法

    原文地址:https://ask.dcloud.net.cn/article/35021