资源描述:
《Latex常见问题集》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、如何设置标题和副标题title{IntroductiontoLaTeX{}SymbolsandCommands\[2ex]begin{large}CommonExpressionsinemph{AURORA}end{large}}通过换行符号\,分开主标题和副标题,然后设置缩进位置2个X的位置,最后用一个局部环境设置副标题的字体大小。TherearetwobasicwaystochangefontsizesinLatex:-Tochangethebasicfontsizeusedallthewaythroughyourpaper,puteither"
2、11pt"or"12pt"inyourdocumentclassline.Forexample,ifyouhad:documentclass{report}butyouwantedtouse12pttype(10ptisthedefault),youwouldchangeitto:documentclass[12pt]{report}NOTE:12ptisanoptiontothe"report"class,notaseparatepackage,sodoingdocumentclass{report}usepackage{12pt}will*not*w
3、ork.-Tochangejustapartofyourpaperintoadifferentfontsize,youcanusesomeofthesizingenvironments.Inincreasingsize,theyare:tinyscriptsizefootnotesizesmallormalsizelargeLargeLARGEhugeHugeThecaseisimportantinthesecommands.Also,insomedocumentstyles,someofthesecommandsmayproducethes
4、amesizefont.Forexample,ifyouwantedtojustmakeasmallpartofyourtextinadifferentfont,youwouldusesomethinglike:Thisisinnormaltext,whilethesewordsarein{largelargetext}.Or,ifyouwantedtoputalargerregioninadifferentsize,you'dusesomethinglike:begin{small}thiswillallbeinsmalltextthistoo.etc..
5、end{small}Latex中数学常用符号的输入1、数学符号的重叠显示,用于变量上面斜杠$rlap{$backslash$}a$$rlap{$setminus$}a$$diagdownllap{a}$2、在箭头上方/下方写字$u(x)overset{text{UMP}}{Longrightarrow}x(p,w)$\$u(x)underset{text{UMP}}{Longrightarrow}x(p,w)$\$Yxrightarrow[text{CostFunction}]{text{CostMinimization}}c(w
6、,q)$在括号上下方写字,用overbraceorunderbrace。f_{X_1,cdots,X_k}(x_1,cdots,x_k)=overbrace{int_{-infty}^{infty}cdotsint_{-infty}^{infty}}^{n-k}f(x_1,cdots,x_k,xi_{k+1},cdots,xi_{n})dxi_{k+1}cdotsdxi_{n}3、公式排列一个短公式写一行,用equation,(有编号,加*无编号)一个长公式分几行写,没有对齐功能,用multiline,(有编号,加*无编号)一个长
7、公式分几行写,有对齐功能,用split。自身无编号。要编号,外套equation。一组公式,无对齐功能,用gather。(有编号,加*无编号)一组公式,有对齐功能,用align。(有编号,加*无编号)begin{align*}a+b&=c+d\x+y&=c+dend{align*}上述两个公式按照&的位置对齐。如果不加*,则对每个公式进行编号,加了*就不编号。将一组公式用类似矩阵形式进行排版对齐,用align或flalign。(有编号,加*无编号)4、矩阵的输入利用bmatrix环境,带方括号begin{equation}X=begin{bmatrix}
8、1&cd