LATEX数学公式总结.doc

上传人:jian****018 文档编号:10194239 上传时间:2020-04-10 格式:DOC 页数:8 大小:62.80KB
返回 下载 相关 举报
LATEX数学公式总结.doc_第1页
第1页 / 共8页
LATEX数学公式总结.doc_第2页
第2页 / 共8页
LATEX数学公式总结.doc_第3页
第3页 / 共8页
点击查看更多>>
资源描述
SUNLEY FORWARD数学公式小结请运行以下程序:documentclass11ptarticleusepackageCJKusepackageindentfirstusepackagelatexsymusepackagebmusepackageamsmath,amssymb,amsfontsusepackagewasysymusepackagexcolorusepackagecases% 重定义字体、字号命令 %newcommandsongCJKfamilysong % 宋体 (Windows自带simsun.ttf)newcommandfsCJKfamilyfs % 仿宋体 (Windows自带simfs.ttf)newcommandkaiCJKfamilykai % 楷体 (Windows自带simkai.ttf)newcommandheiCJKfamilyhei % 黑体 (Windows自带simhei.ttf)newcommandliCJKfamilyli % 隶书 (Windows自带simli.ttf)newcommandyouCJKfamilyyou % 幼圆 (Windows自带simyou.ttf)newcommandchuhaofontsize42ptbaselineskipselectfont % 字号设置newcommandxiaochuhaofontsize36ptbaselineskipselectfont % 字号设置newcommandyichufontsize32ptbaselineskipselectfont % 字号设置newcommandyihaofontsize28ptbaselineskipselectfont % 字号设置newcommanderhaofontsize21ptbaselineskipselectfont % 字号设置newcommandxiaoerhaofontsize18ptbaselineskipselectfont % 字号设置newcommandsanhaofontsize15.75ptbaselineskipselectfont % 字号设置newcommandxiaosanhaofontsize15ptbaselineskipselectfont % 字号设置newcommandsihaofontsize14ptbaselineskipselectfont % 字号设置newcommandxiaosihaofontsize12ptbaselineskipselectfont % 字号设置newcommandwuhaofontsize10.5ptbaselineskipselectfont % 字号设置newcommandxiaowuhaofontsize9ptbaselineskipselectfont % 字号设置newcommandliuhaofontsize7.875ptbaselineskipselectfont % 字号设置newcommandqihaofontsize5.25ptbaselineskipselectfont % 字号设置% END %renewcommandbaselinestretch1.3begindocumentbeginCJK*GBKsongCJKtildeCJKindentheisanhao 数学公式举例:bigskipsection概述数学模式中的普通文本必须放入一个LR 盒子里. 如:$ x2+sin(x)=0 is a nonlinear equation$.$ x2+sin(x)=0 mbox is a nonlinear equation $.$ x2+sin(x)=0 mbox 是一个非线性方程$.section行内公式勾股定理beginmatha2+b2=c2endmath也称商高定理.勾股定理(a2+b2=c2)也称商高定理.勾股定理$a2+b2=c2$也称商高定理.section行间公式subsection单行公式begindisplaymath a2+b2=c2.enddisplaymath a2+b2 = c2.beginequation a2+b2=c2.endequation$ a2+b2=c2. eqno (*)$ a2+b2=c2. eqno (4a)$beginequationlabeleq:square x2+y2=R2.endequation公式refeq:square表示的是一个圆的标准方程.setcounterequation5beginequationlabellap -triangle u(x,y) = f(x,y),quad (x,y)inOmega .endequation方程eqreflap则是一个椭圆型的偏微分方程.subsection多行公式begineqnarray*x2 + y2 = R2 2x + 3y = bendeqnarray*begineqnarrayx2 + y2 & = & R2 2x + 3y & = & bendeqnarraysetlengtharraycolsep2.5ptsetcounterequation1begineqnarrayd(uv) & = & (uv) dx & = & (uv+uv) dx & = & v(udx)+u(vdx) nonumber setcounterequation5 & = & v du+u dv labelleibnizendeqnarray这样就得到了公式(refleibniz).section角标: 上标与下标注意: 这里的角标命令必须在数学模式下使用!$x_1, quadx_11, quadx_1122, quadx_m(k),quad* x *, quadxmn, quadxxxx$中文角标:qquad$ xmboxscriptsize 平方,quad xymboxtiny 平方 $导数符号:qquad$ fprime quadmbox或者quad f $section分式出现在行内的分式: $ (x+y)/2 $ 和$ fracx+y2 $, 第二个分式用的是一级角标字体.分式中的分式: $fracfracxx+yx+y+z$, 字体会更小, 但最小为二级角标字体.行间公式$ fracx+y2,qquad fracfracxx+yx+y+z$section根式$ sqrtx,quad sqrt1+sqrt2 $ surdx,quad surd1+sqrt2 $当被开方式字符高度不同时, 根号线会在不同水平线上, 如:$sqrta, sqrtb$.解决办法: 加入hei数学支柱textbackslashmathstrutfootnote宽度为0,高度与圆括号相同, 例:$sqrta, sqrtb,quad sqrtamathstrut, sqrtbmathstrut$.section求和与积分newcommanddxmathrmd,x$int_ab f(x)mathrmdx,quadoint_ab f(x)mathrmdx,quad$intlimits_ab f(x)mathrmdx,quadointlimits_ab f(x)mathrmdx,quad$直立的积分号:$varint_ab f(x)dx, quadiint_ab f(x)dx, quadiiint_ab f(x)dx,quadvaroint_ab f(x)dx,quadoiint_ab f(x)dx,quad$varintnolimits_ab f(x)dx, quadiintnolimits_ab f(x)dx, quadiiintnolimits_ab f(x)dx,quadvarointnolimits_ab f(x)dx,quadoiintnolimits_ab f(x)dx,quad$section数学重音符号newcommandml1texttttextcolorbluechar #1renewcommandarraystretch1.2setlengthtabcolsep6ptbegintabular|p0.4textwidth|p0.4textwidth|hline mlhata$to hata$ & mlbara$to bara$ mldota$to dota$ & mlddota$to ddota$ mltildea$to tildea$ & mlveca$to veca$ mlbrevea$to brevea$ & mlchecka$to checka$ mlacutea$to acutea$ & mlgravea$to gravea$ mlmathringa$to mathringa$ & hlineendtabularbigskip加宽的帽子和波浪号: $widehathello,quad widetildegood$section上划线、下划线及类似符号$ overlineoverlinea2 + underlineab + barb2 $bigskip$ underbracea+overbraceb+dots+bmmboxscriptsize个+ c_ 20mboxscriptsize个$section堆积符号$vecx stackrelmathrmdef= (x_1,ldots,x_n)$section可以变大的定界符略section阵列一个简单的阵列(行内):$beginarrayccc11 & 12 & 13 21 & 22 & 23endarray$阵列(行间)$left(beginarrayccc11 & 12 21 & 22 & 23endarrayright)$一个较复杂的例子$leftbeginarrayccccccccca_11x_1 &+& a_12x_2 &+& cdots &+& a_1nx_n &=& b_1a_21x_1 &+& a_22x 2 &+& cdots &+& a_2nx_n &=& b_2multicolumn9cdotfill a_n1x_1 &+& a_n2x_2 &+& cdots &+& a_nnx_n &=& b_nendarrayright.$另一个较复杂的例子beginequationf(x)=left beginarrayll x & mbox当$xge 0$时; -x & mbox其它情形endarrayright.endequationsection添加宏包 quad $backslash mboxusepackagecases$subsectioncases 环境beginnumcases|x|=x, & for $xgeq0$-x, & for $x0$endnumcasesbeginsubnumcases|x|=x, & for $xgeq0$-x, & for $x0$endsubnumcasesbeginsubnumcases x, & for $xgeq0$-x, & for $x0$endsubnumcasesbeginequationf(x)=begincases1 & -1x1 0 & text其他$x$endcasesendequationsubsectionsubequations环境beginsubequations beginalign (a+b)2 & =a2+b2 a+b+c)2 & =a2+b2+c2+2ab+2ac+2bc endalign beginequation (a+b)3 = a3 + 3a2b + 3ab2 + b3 endequationendsubequationsbeginequation(a+b)3 = a3 + 3a2b + 3ab2 + b3endequationendCJK*enddocument
展开阅读全文
相关资源
正为您匹配相似的精品文档
相关搜索

最新文档


当前位置:首页 > 管理文书 > 工作总结


copyright@ 2023-2025  zhuangpeitu.com 装配图网版权所有   联系电话:18123376007

备案号:ICP2024067431-1 川公网安备51140202000466号


本站为文档C2C交易模式,即用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。装配图网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知装配图网,我们立即给予删除!