diff options
author | Karl Berry <karl@freefriends.org> | 2021-04-18 20:19:22 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-04-18 20:19:22 +0000 |
commit | 7390f2fd1bbcb605894627d5b9214a79be7e37f5 (patch) | |
tree | d8d5f928dadd82960c0e334f0b3c0ceeabbcf07f /Master/texmf-dist/doc/latex/easybook/chapter3.tex | |
parent | 2a141a45d1c30aec1e0bfe3ea8bd36e40689c686 (diff) |
easybook (18apr21)
git-svn-id: svn://tug.org/texlive/trunk@58905 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/easybook/chapter3.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/easybook/chapter3.tex | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/Master/texmf-dist/doc/latex/easybook/chapter3.tex b/Master/texmf-dist/doc/latex/easybook/chapter3.tex index 252551e7dcf..d7630a59f41 100644 --- a/Master/texmf-dist/doc/latex/easybook/chapter3.tex +++ b/Master/texmf-dist/doc/latex/easybook/chapter3.tex @@ -9,13 +9,10 @@ \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 + +i = ['a','b'] +l = [1,2] +print dict([i,l]) \end{lstlisting} \section{物理量} @@ -47,8 +44,4 @@ if __name__ == '__main__': \subsection{参考文献} \index{y@引用!c@参考文献} -这是一个参考文献引用的范例\cite{1979Prospect}。引用多个文献,将引用标号中的多个文献序号按升序排列,若其中有2个以上的连续序号,则改用范围序号,例如\cite{1979Prospect,1989The,2010An}。 - -\section{行内盒子} -\index{h@行内盒子} -阿司匹林及其复方制剂都能有效治疗某几种头痛,但对另外几 \concise[Aqua]{concise}[fontupper = \rmfamily] 种则效果不明。因其他疾病或创伤导致的 \fuzzy[DarkSeaGreen]{fuzzy}[fontupper = \ttfamily,colupper = black] 继发性头痛需要及时在医疗机构接受治疗。
\ No newline at end of file +这是一个参考文献引用的范例\cite{1979Prospect}。引用多个文献,将引用标号中的多个文献序号按升序排列,若其中有2个以上的连续序号,则改用范围序号,例如\cite{1979Prospect,1989The,2010An}。
\ No newline at end of file |