summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/easybook/doc/pages/chapter3.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/easybook/doc/pages/chapter3.tex')
-rw-r--r--macros/latex/contrib/easybook/doc/pages/chapter3.tex40
1 files changed, 22 insertions, 18 deletions
diff --git a/macros/latex/contrib/easybook/doc/pages/chapter3.tex b/macros/latex/contrib/easybook/doc/pages/chapter3.tex
index 04fa95dc34..8670c10975 100644
--- a/macros/latex/contrib/easybook/doc/pages/chapter3.tex
+++ b/macros/latex/contrib/easybook/doc/pages/chapter3.tex
@@ -1,10 +1,10 @@
% Chapter 3
-\documentclass[../easybook-demo]{subfiles}
-\begin{document}
-\chapter{其它格式}\label{chap:other formats}
+\chapter{其它格式}
+\label{chap:other formats}
-\section{代码}\index{d@代码}
+\section{代码}
+\index{d@代码}
\zhlipsum[42][name = aspirin]
\begin{lstlisting}[language = Python,caption = {python程序练习题}]
#!/usr/bin/python
@@ -18,10 +18,12 @@ if __name__ == '__main__':
print ptr
\end{lstlisting}
-\section{物理量}\index{w@物理量}
+\section{物理量}
+\index{w@物理量}
阿司匹林还有三种作用方式 \num{-21x.3e5}。一是使线粒体的氧化磷酸化解偶联。阿司匹林会携带质子从线粒体膜间隙扩散进入线粒体基质,然后再次电离释放质子 \SI{.5}{mol}。
-\section{化学式}\index{h@化学式}
+\section{化学式}
+\index{h@化学式}
阿司匹林还有三种作用方式。一是使线粒体的氧化磷酸化解偶联。阿司匹林会携带质子从线粒体膜间隙扩散进入线粒体基质,然后再次电离释放质子\ch{(NH4)2S}、\ch{[Cu(NH3)4]^2+}。
\[\ch{$x$ Na(NH4)HPO4 ->[$\Delta$] (NaPO3)_{$x$} + $x$ NH3 ^ + $x$ H2O}\]
阿司匹林还有三种作用方式。
@@ -29,26 +31,28 @@ if __name__ == '__main__':
HN-[::+60]CH_3)=-(-HO)=)}\]
\clearpage
-\section{引用}\index{y@引用}
+\section{引用}
+\index{y@引用}
\zhlipsum[8][name = aspirin]
-\subsection{索引}\index{y@引用!s@索引}
+\subsection{索引}
+\index{y@引用!s@索引}
\zhlipsum[8][name = aspirin]
-\subsection{脚注}\index{y@引用!j@脚注}
+\subsection{脚注}
+\index{y@引用!j@脚注}
六年之后的1859年,冯·基尔姆让水杨酸和乙酰氯反应,制得了分析纯的乙酰水杨酸,他称之为“乙酰化水杨酸”(acetylierte*Salicyls+"aure)\footnote{这是一个悬挂缩进的脚注。\par 这是分段将会缩进两字符。}。
60和70年代,约翰·范恩等人发现了阿司匹林的作用机理,60至80年代的其他研究和临床试验证明该药有抗凝血的药效,可降低血栓疾病的发病率\Footnote{*}{这是可以自定义标记的脚注。}。
-\subsection{边注}\index{y@引用!b@边注}
-对乙酰氨基酚和布洛芬\marginnote{这是一个边注。}于1956年和1959年相继问世以后,阿司匹林的使用率开始下降。
-
-\subsection{引用章节}\label{subsec:reference section}\index{y@引用!s@索引}
+\subsection{引用章节}
+\label{subsec:reference section}
+\index{y@引用!s@索引}
兽医有时用阿司匹林来镇痛或抗血栓,主要给狗用\cref{chap:other formats},有时给马用\cref{subsec:reference section},不过现在一般会用副作用较少的新疗法。
-\subsection{参考文献}\index{y@引用!c@参考文献}
+\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} 的使用率开始下降。
-
-\end{document} \ No newline at end of file
+\section{行内盒子}
+\index{h@行内盒子}
+对乙酰氨基酚和布洛芬 \concise[Aqua][fontupper = \rmfamily]{concise} 于1956年和1959年相继问世以后,阿司匹林 \fuzzy[DarkSeaGreen][fontupper = \ttfamily,colupper = black]{fuzzy} 的使用率开始下降。 \ No newline at end of file