上一篇文章
模板
documentclass[a4paper,12pt]{article}%页面大小和字体大小usepackage{CTEX}usepackage{geometry}usepackage{mathptmx}usepackage{amsmath}geometry{left=2.0cm, right=2.0cm, top=3.0cm, bottom=3.0cm} %页边距linespread{1.5}%行距begin{document}begin{center} %居中设置{large textbf{标题}}作者信息end{center}noindent %顶格(不缩进)textbf{1.题目。}解:解题过程end{document}
公式
插入公式 (1)行内公式:$L=25m$
(2)行间公式:$$L=25m$$
乘号X:times
下标:y_{max}
开方: (1)sqrt{k}
(2)sqrt[3]{k}
分式:frac{分子}{分母}
方括号与分式高度平齐:left[frac{a}{b}right]
(直接输入大括号效果如下)
度数表示方式:30^circ
长公式换行
begin{multline}$$y_{max}=25times10^3times0.02times{(0.87-0.87times0.02+0.87^2times0.02^2)}^{1/2}exp{(1/1.575)timestan^{-1}[2times(0.87times0.02-1)/1.575]-(1/1.575)times tan^{-1}[(2times0.87-1)/1.575]}=198mm$$end{multline}
演示
documentclass[a4paper,12pt]{article}%页面大小和字体大小usepackage{CTEX}usepackage{geometry}usepackage{mathptmx}usepackage{amsmath}geometry{left=2.0cm, right=2.0cm, top=3.0cm, bottom=3.0cm} %页边距linespread{1.5}%行距begin{document}begin{center} %居中设置{large textbf{标题}}作者信息end{center}noindent %顶格(不缩进)textbf{1.题目。}解:$L=25m=25times10^3mm$,$r=3mm/day=3.47times10^{-5}mm/s$$k=0.01cm/s=0.1mm/s$,$S=0.02$代入$$y_{max}=Lsqrt{frac{r}{k}}left[frac{kS^2}{r}+1-frac{kS}{r}sqrt{S^2+frac{r}{k}}right]$$得$$y_{max}=25times10^3timessqrt{frac{3.47times10^{-5}}{0.1}}timesleft[frac{0.1times0.02^2}{3.47times10^{-5}}+1-frac{0.1times0.02}{3.47times10^{-5}}timessqrt{0.02^2+frac{3.47times10^{-5}}{0.1}}right]=269mm$$end{document}