diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/easybook/chapter3.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/easybook/chapter3.tex | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/easybook/chapter3.tex b/Master/texmf-dist/doc/latex/easybook/chapter3.tex new file mode 100644 index 00000000000..8670c109751 --- /dev/null +++ b/Master/texmf-dist/doc/latex/easybook/chapter3.tex @@ -0,0 +1,58 @@ +% Chapter 3 + +\chapter{其它格式} +\label{chap:other formats} + +\section{代码} +\index{d@代码} +\zhlipsum[42][name = aspirin] +\begin{lstlisting}[language = Python,caption = {python程序练习题}] +#!/usr/bin/python +# -*- coding: UTF-8 -*- + +if __name__ == '__main__': + ptr = [] + for i in range(5): + num = int(raw_input('please input a number:\n')) + ptr.append(num) + print ptr +\end{lstlisting} + +\section{物理量} +\index{w@物理量} +阿司匹林还有三种作用方式 \num{-21x.3e5}。一是使线粒体的氧化磷酸化解偶联。阿司匹林会携带质子从线粒体膜间隙扩散进入线粒体基质,然后再次电离释放质子 \SI{.5}{mol}。 + +\section{化学式} +\index{h@化学式} +阿司匹林还有三种作用方式。一是使线粒体的氧化磷酸化解偶联。阿司匹林会携带质子从线粒体膜间隙扩散进入线粒体基质,然后再次电离释放质子\ch{(NH4)2S}、\ch{[Cu(NH3)4]^2+}。 +\[\ch{$x$ Na(NH4)HPO4 ->[$\Delta$] (NaPO3)_{$x$} + $x$ NH3 ^ + $x$ H2O}\] +阿司匹林还有三种作用方式。 +\[\zihao{-5}\chemfig[cram width=5pt]{*6((-HO)-=-(-(<[::60]OH)-[::-60]-[::-60,,,2] +HN-[::+60]CH_3)=-(-HO)=)}\] + +\clearpage +\section{引用} +\index{y@引用} +\zhlipsum[8][name = aspirin] +\subsection{索引} +\index{y@引用!s@索引} +\zhlipsum[8][name = aspirin] + +\subsection{脚注} +\index{y@引用!j@脚注} +六年之后的1859年,冯·基尔姆让水杨酸和乙酰氯反应,制得了分析纯的乙酰水杨酸,他称之为“乙酰化水杨酸”(acetylierte*Salicyls+"aure)\footnote{这是一个悬挂缩进的脚注。\par 这是分段将会缩进两字符。}。 + +60和70年代,约翰·范恩等人发现了阿司匹林的作用机理,60至80年代的其他研究和临床试验证明该药有抗凝血的药效,可降低血栓疾病的发病率\Footnote{*}{这是可以自定义标记的脚注。}。 + +\subsection{引用章节} +\label{subsec:reference section} +\index{y@引用!s@索引} +兽医有时用阿司匹林来镇痛或抗血栓,主要给狗用\cref{chap:other formats},有时给马用\cref{subsec:reference section},不过现在一般会用副作用较少的新疗法。 + +\subsection{参考文献} +\index{y@引用!c@参考文献} +这是一个参考文献引用的范例\cite{1979Prospect}。引用多个文献,将引用标号中的多个文献序号按升序排列,若其中有2个以上的连续序号,则改用范围序号,例如\cite{1979Prospect,1989The,2010An}。 + +\section{行内盒子} +\index{h@行内盒子} +对乙酰氨基酚和布洛芬 \concise[Aqua][fontupper = \rmfamily]{concise} 于1956年和1959年相继问世以后,阿司匹林 \fuzzy[DarkSeaGreen][fontupper = \ttfamily,colupper = black]{fuzzy} 的使用率开始下降。
\ No newline at end of file |