LATEX 数学公式总结
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
数学公式小结
请运行以下程序:
\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)
$$