%"æèPython:åè®¡ç®æºç§å¦å®¶ä¸æ ·æè"LaTexæºç %Copyright (c) 2008 Allen B. Downey. %ä¸æç¿»è¯ï¼2010 Walter Lewis (åå®è¾). % 2010 hjc(é©éªè¶ ï¼ % 2010 zongru % Permission is granted to copy, distribute and/or modify this % document under the terms of the GNU Free Documentation License, % Version 1.1 or any later version published by the Free Software % Foundation; with no Invariant Sections, no Front-Cover Texts, % and no Back-Cover Texts. % This distribution includes a file named fdl.tex that contains the text % of the GNU Free Documentation License. If it is missing, you can obtain % it from www.gnu.org or by writing to the Free Software Foundation, % Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. % \documentclass[10pt]{book} \usepackage[width=5.5in,height=8.5in,hmarginratio=3:2,vmarginratio=1:1]{geometry} %æå®äº{h,v}marginratio,widthåheight被忽ç¥äºï¼å¯ä»¥ä¸ç¨æå®(åègeometry.pdf, $texdoc geometry.pdf)ã %ä¸é¢çè¿äºå ï¼ä½ å¯è½éè¦å®è£ texlive-latex-extraï¼in Debian/Ubuntu) \usepackage{pslatex} % \usepackage{url} \usepackage{fancyhdr} \usepackage{graphicx} \usepackage{amsmath,amsthm,amssymb} \usepackage{exercise} \usepackage{makeidx} \usepackage{setspace} \usepackage{hevea} \usepackage{upquote} %è¿äºæ¯å¯¹ä¸æçæ¯æ \usepackage{xeCJK} \usepackage{fontspec} \setCJKmainfont{AR PL SungtiL GB:style=Regular} \setmainfont{TeXGyrePagella:style=Regular} \XeTeXlinebreaklocale "zh" \XeTeXlinebreakskip=0pt plus 1pt minus 0.1pt \title{æèPython} \newcommand{\thetitle}{æèPython:åè®¡ç®æºç§å¦å®¶ä¸æ ·æè} \newcommand{\theversion}{1.1.22} %以ä¸çè¿äºé£æ ¼è¢«è½¬æ¢æhtmlçcss \newstyle{a:link}{color:black;} \newstyle{p+p}{margin-top:lem;margin-bottom:lem} \newstyle{img}{border:opx} %æ¹åç®å¤´ï¼æ¹å) \setlinkstext {\imgsrc[ALT="Previous"]{back.png}} {\imgsrc[ALT="Previous"]{up.png}} {\imgsrc[ALT="Previous"]{next.png}} \makeindex \begin{document} \frontmatter \input{part/chapter00} \mainmatter \input{part/chapter01} \input{part/chapter02} \input{part/chapter03} \input{part/chapter04} \input{part/chapter05} \input{part/chapter06} \input{part/chapter07} \input{part/chapter08} \input{part/chapter09} \input{part/chapter10} \input{part/chapter11} \input{part/chapter12} \input{part/chapter13} \input{part/chapter14} \input{part/chapter15} \input{part/chapter16} \input{part/chapter17} \input{part/chapter18} \input{part/chapter19} \appendix \input{part/appendix} \printindex \end{document}