LaTeX笔记(1)

取消连字符
\sloppy: 弱命令
效果不是很明显,但是基本保证布局美观

\pretolerance=10000: 强命令
效果很明显,几乎可以去掉所有连字符,但是对布局影响很大
10000是一个阈值,可以适当变小,可能会有比较折中的效果
补救措施:在字符间距非常大的地方用 \- 命令强制生成连字符

引号
` ` : 左双引号(两个小撇,和波浪号同一个键)
` : 左单引号(一个小撇,同上)
‘ ‘ : 右双引号(两个单引号)
‘ : 右单引号(一个单引号)
P.S.请不要直接复制粘贴,中间有空格,为了HTML下的显示需要

强制不分行
\mbox{content here will not be split up}

四级标题
\section{}
\subsection{}
\subsubsection{}
\paragraph{*.*.*.* }

波浪线
\~{}

上角标
\textsuper{}: 非数学环境
^{}: 数学环境

首段缩进(默认不缩进)
\usepackage{indentfirst}

推荐的格式设置
\documentclass[a4paper,12pt]{article}: 纸张类型,主体字号,文档类型
\usepackage[top=1in,bottom=1in,left=1.25in,right=1.25in]{geometry}: 页边距

简历模板

http://www.ctan.org/tex-archive/macros/latex/contrib/tucv

超链接去边框和颜色
\usepackage[colorlinks,allcolors=black]{hyperref}

嵌入所有字体
dvips -Pdownload35 inputfilename.dvi