tex文档:
1 documentclass[a4paper, 12pt]{article} % Font size (can be 10pt, 11pt or 12pt) and paper size (remove a4paper for US letter paper) 2 usepackage{amsmath,amsfonts,bm} 3 usepackage{hyperref} 4 usepackage{amsthm,epigraph} 5 usepackage{amssymb} 6 usepackage{framed,mdframed} 7 usepackage{graphicx,color} 8 usepackage{mathrsfs,xcolor} 9 usepackage[all]{xy} 10 usepackage{fancybox} 11 usepackage{CJKutf8} 12 ewtheorem*{adtheorem}{定理} 13 %setCJKmainfont[BoldFont=FZYaoTi,ItalicFont=FZYaoTi]{FZYaoTi} 14 definecolor{shadecolor}{rgb}{1.0,0.9,0.9} %背景色为浅红色 15 ewenvironment{theorem} 16 {igskipegin{mdframed}[backgroundcolor=gray!40,rightline=false,leftline=false,topline=false,bottomline=false]egin{adtheorem}} 17 {end{adtheorem}end{mdframed}igskip} 18 ewtheorem*{bdtheorem}{定义} 19 ewenvironment{definition} 20 {igskipegin{mdframed}[backgroundcolor=gray!40,rightline=false,leftline=false,topline=false,bottomline=false]egin{bdtheorem}} 21 {end{bdtheorem}end{mdframed}igskip} 22 ewtheorem*{cdtheorem}{Exercise} 23 ewenvironment{exercise} 24 {igskipegin{mdframed}[backgroundcolor=gray!40,rightline=false,leftline=false,topline=false,bottomline=false]egin{cdtheorem}} 25 {end{cdtheorem}end{mdframed}igskip} 26 ewtheorem*{ddtheorem}{注} 27 ewenvironment{remark} 28 {igskipegin{mdframed}[backgroundcolor=gray!40,rightline=false,leftline=false,topline=false,bottomline=false]egin{ddtheorem}} 29 {end{ddtheorem}end{mdframed}igskip} 30 ewtheorem*{edtheorem}{引理} 31 ewenvironment{lemma} 32 {igskipegin{mdframed}[backgroundcolor=gray!40,rightline=false,leftline=false,topline=false,bottomline=false]egin{edtheorem}} 33 {end{edtheorem}end{mdframed}igskip} 34 ewtheorem*{pdtheorem}{例} 35 ewenvironment{example} 36 {igskipegin{mdframed}[backgroundcolor=gray!40,rightline=false,leftline=false,topline=false,bottomline=false]egin{pdtheorem}} 37 {end{pdtheorem}end{mdframed}igskip} 38 39 usepackage[protrusion=true,expansion=true]{microtype} % Better typography 40 usepackage{wrapfig} % Allows in-line images 41 usepackage{mathpazo} % Use the Palatino font 42 usepackage[T1]{fontenc} % Required for accented characters 43 linespread{1.05} % Change line spacing here, Palatino benefits from a slight increase by default 44 45 makeatletter 46 enewcommand@biblabel[1]{ extbf{#1.}} % Change the square brackets for each bibliography item from '[1]' to '1.' 47 enewcommand{@listI}{itemsep=0pt} % Reduce the space between items in the itemize and enumerate environments and the bibliography 48 49 enewcommand{maketitle}{ % Customize the title - do not edit title 50 % and author name here, see the TITLE block 51 % below 52 enewcommand efname{参考文献} 53 ewcommand{D}{displaystyle} ewcommand{ i}{Rightarrow} 54 ewcommand{ds}{displaystyle} enewcommand{ i}{ oindent} 55 ewcommand{pa}{partial} ewcommand{Om}{Omega} 56 ewcommand{om}{omega} ewcommand{sik}{sum_{i=1}^k} 57 ewcommand{vov}{VertomegaVert} ewcommand{Umy}{U_{mu_i,y^i}} 58 ewcommand{lamns}{lambda_n^{^{scriptstylesigma}}} 59 ewcommand{chiomn}{chi_{_{Omega_n}}} 60 ewcommand{ullim}{underline{lim}} ewcommand{sy}{oldsymbol} 61 ewcommand{mvb}{mathversion{bold}} ewcommand{la}{lambda} 62 ewcommand{La}{Lambda} ewcommand{va}{varepsilon} 63 ewcommand{e}{eta} ewcommand{al}{alpha} 64 ewcommand{dis}{displaystyle} ewcommand{R}{{mathbb R}} 65 ewcommand{N}{{mathbb N}} ewcommand{cF}{{mathcal F}} 66 ewcommand{gB}{{mathfrak B}} ewcommand{eps}{epsilon} 67 egin{flushright} % Right align 68 {LARGE@title} % Increase the font size of the title 69 70 vspace{50pt} % Some vertical space between the title and author name 71 72 {large@author} % Author name 73 \@date % Date 74 75 vspace{40pt} % Some vertical space between the author block and abstract 76 end{flushright} 77 } 78 79 % ---------------------------------------------------------------------------------------- 80 % TITLE 81 % ---------------------------------------------------------------------------------------- 82 egin{document} 83 egin{CJK}{UTF8}{gkai} 84 itle{ extbf{Symmetry Methods for Differential Equations:\Exercise 1.4}} 85 % setlengthepigraphwidth{0.7linewidth} 86 author{small{叶卢庆}\{small{杭州师范大学理学院,学号:1002011005}}\{small{Email:h5411167@gmail.com}}} % Institution 87 enewcommand{ oday}{ umberyear. umbermonth. umberday} 88 date{ oday} % Date 89 90 % ---------------------------------------------------------------------------------------- 91 92 93 maketitle % Print the title section 94 95 % ---------------------------------------------------------------------------------------- 96 % ABSTRACT AND KEYWORDS 97 % ---------------------------------------------------------------------------------------- 98 99 % enewcommand{abstractname}{摘要} % Uncomment to change the name of the abstract to something else 100 101 % egin{abstract} 102 103 % end{abstract} 104 105 % hspace*{3,6mm} extit{关键词:} % Keywords 106 107 % vspace{30pt} % Some vertical space between the abstract and first section 108 109 % ---------------------------------------------------------------------------------------- 110 % ESSAY BODY 111 % ---------------------------------------------------------------------------------------- 112 egin{exercise}[1.4] 113 Determine the value of $alpha$ for which 114 $$ 115 (x',y')=(x+2va,ye^{alphava}) 116 $$ 117 is a symmetry of 118 $$ 119 frac{dy}{dx}=y^2e^{-x}+y+e^x 120 $$ 121 for all $vainmathbf{R}$. 122 end{exercise} 123 egin{proof} 124 The symmetry condition for the differential equation is 125 $$ 126 frac{frac{pa g}{pa x}+frac{pa g}{pa y}w(x,y)}{frac{pa f}{pa 127 x}+frac{pa f}{pa y}w(x,y)}=w(f(x,y),g(x,y)). 128 $$ 129 Where 130 $w(x,y)=y^2e^{-x}+y+e^x$,$f(x,y)=x+2va,g(x,y)=ye^{alphava}$.So the 131 symmetry condition can be written as 132 $$ 133 y^2e^{-x+alphava}+e^{x+alphava}=y^2e^{2alphava-x-2va}+e^{x+2va}. 134 $$ 135 So $alpha=2$. 136 end{proof} 137 % ---------------------------------------------------------------------------------------- 138 % BIBLIOGRAPHY 139 % ---------------------------------------------------------------------------------------- 140 141 ibliographystyle{unsrt} 142 143 ibliography{sample} 144 145 % ---------------------------------------------------------------------------------------- 146 end{CJK} 147 end{document}