数学公式小结
请运行以下程序:
\\documentclass[11pt]{article} \%usepackage{CJK}
\%usepackage{indentfirst} \%usepackage{latexsym} \%usepackage{bm}
\%usepackage{amsmath,amssymb,amsfonts} \%usepackage{wasysym} \%usepackage{xcolor} \%usepackage{cases}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % 重定义字体、字号命令 % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \\newcommand{\\song}{\\CJKfamily{song}} % 宋体 (Windows自带 \\newcommand{\\fs}{\\CJKfamily{fs}} % 仿宋体 (Windows自带 \\newcommand{\\kai}{\\CJKfamily{kai}} % 楷体 (Windows自带 \\newcommand{\\hei}{\\CJKfamily{hei}} % 黑体 (Windows自带 \\newcommand{\\li}{\\CJKfamily{li}} % 隶书 (Windows自带 \\newcommand{\\you}{\\CJKfamily{you}} % 幼圆 (Windows自带
\\newcommand{\\chuhao}{\\fontsize{42pt}{\\baselineskip}\\selectfont} % 字号设置 \\newcommand{\\xiaochuhao}{\\fontsize{36pt}{\\baselineskip}\\selectfont} % 字号设置 \\newcommand{\\yichu}{\\fontsize{32pt}{\\baselineskip}\\selectfont} % 字号设置 \\newcommand{\\yihao}{\\fontsize{28pt}{\\baselineskip}\\selectfont} % 字号设置 \\newcommand{\\erhao}{\\fontsize{21pt}{\\baselineskip}\\selectfont} % 字号设置 \\newcommand{\\xiaoerhao}{\\fontsize{18pt}{\\baselineskip}\\selectfont} % 字号设置 \\newcommand{\\sanhao}{\\fontsize{}{\\baselineskip}\\selectfont} % 字号设置
\\newcommand{\\xiaosanhao}{\\fontsize{15pt}{\\baselineskip}\\selectfont} % 字号设置 \\newcommand{\\sihao}{\\fontsize{14pt}{\\baselineskip}\\selectfont} % 字号设置 \\newcommand{\\xiaosihao}{\\fontsize{12pt}{\\baselineskip}\\selectfont} % 字号设置 \\newcommand{\\wuhao}{\\fontsize{}{\\baselineskip}\\selectfont} % 字号设置
\\newcommand{\\xiaowuhao}{\\fontsize{9pt}{\\baselineskip}\\selectfont} % 字号设置 \\newcommand{\\liuhao}{\\fontsize{}{\\baselineskip}\\selectfont} % 字号设置 \\newcommand{\\qihao}{\\fontsize{}{\\baselineskip}\\selectfont} % 字号设置
%%%%%%%%% END %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\\renewcommand{\\baselinestretch}{}
\\begin{document}
\\begin{CJK*}{GBK}{song}
\\CJKtilde\\CJKindent
{\\hei\\sanhao 数学公式举例:} \\bigskip
\\section{概述}
数学模式中的普通文本必须放入一个~LR 盒子里. 如:
$ x^2+\\sin(x)=0 is a nonlinear equation$.
$ x^2+\\sin(x)=0 \\mbox{ is a nonlinear equation} $.
$ x^2+\\sin(x)=0 \\mbox{ 是一个非线性方程}$.
\\section{行内公式}
勾股定理~\\begin{math}a^2+b^2=c^2\\end{math}~也称商高定理.
勾股定理~\\(a^2+b^2=c^2\\)~也称商高定理.
勾股定理~$a^2+b^2=c^2$~也称商高定理.
\\section{行间公式} \\subsection{单行公式} \\begin{displaymath} a^2+b^2=c^2. \\end{displaymath} \\[
a^2+b^2 = c^2. \\]
\\begin{equation} a^2+b^2=c^2. \\end{equation} $$
a^2+b^2=c^2. \\eqno (*) $$ $$
a^2+b^2=c^2. \\eqno (4a) $$
\\begin{equation}\\label{eq:square} x^2+y^2=R^2. \\end{equation}
公式~\\ref{eq:square}~表示的是一个圆的标准方程.
\\setcounter{equation}{5} \\begin{equation}\\label{lap}
-\\triangle u(x,y) = f(x,y),\\quad (x,y)\\in\\Omega . \\end{equation}
方程~\\eqref{lap}~则是一个椭圆型的偏微分方程.
\\subsection{多行公式} \\begin{eqnarray*} x^2 + y^2 = R^2 \\\\ 2x + 3y = b \\end{eqnarray*}
\\begin{eqnarray}
x^2 + y^2 & = & R^2 \\\\ 2x + 3y & = & b \\end{eqnarray}
\\setlength{\\arraycolsep}{} \\setcounter{equation}{1} \\begin{eqnarray}
d(uv) & = & (uv)' dx \\\\ & = & (u'v+uv') dx\\\\
& = & v(u'dx)+u(v'dx) \\nonumber\\\\ \\setcounter{equation}{5}
& = & v du+u dv \\label{leibniz} \\end{eqnarray}
这样就得到了公式~(\\ref{leibniz}).
\\section{角标: 上标与下标}
注意: 这里的角标命令必须在数学模式下使用!! $$
x_1, \\quad x_{11}, \\quad
x_{11}^{22}, \\quad x_{m}^{(k)},\\quad