Upcoming SlideShare
×

# ThuThesis User Guide 3.0

1,728 views

Published on

1 Comment
1 Like
Statistics
Notes
• Full Name
Comment goes here.

Are you sure you want to Yes No
• Great thanks!

Are you sure you want to  Yes  No
Views
Total views
1,728
On SlideShare
0
From Embeds
0
Number of Embeds
27
Actions
Shares
0
61
1
Likes
1
Embeds 0
No embeds

No notes for slide

### ThuThesis User Guide 3.0

1. 1. ThuThesis v3.0 LittleLeo@newsmth 2007.6.15
2. 2. · · L EX AT · L TEX A ThuThesis ThuThesis · ThuThesis · ThuThesis · ThuThesis Xue Ruini – 2 / 55
3. 3. yT X E y L EX AT y ThuThesis y WORD? y T X? E y T X Showcase (1) E y T X Showcase (2) E y T X Showcase (3) E L EX AT ThuThesis ThuThesis ThuThesis Xue Ruini – 3 / 55
4. 4. TEX TEX = τ χ[’tek] yT X E 70 Stanford Donald E. Knuth q y L EX AT q y ThuThesis y WORD? q y T X? E y T X Showcase (1) ( ) E q y T X Showcase (2) E y T X Showcase (3) E L EX AT ThuThesis ThuThesis X Y Y |I| (Dj + λj tj ) det A(λ) (I|I) = 0. det K(t = 1, t1 , . . . , tn ) = (−1) ti I∈n i∈I j∈I (1) ThuThesis Xue Ruini – 4 / 55
5. 5. L TEX A L TEX= Lamport TEX [’latek] (or [’leitek])1 A yT X E TEX 900 q y L EX AT Leslie Lamport L TEX A y ThuThesis q y WORD? TEX q y T X? E y T X Showcase (1) E TEX q y T X Showcase (2) E L TEX A q y T X Showcase (3) E L EX AT ThuThesis ThuThesis 1 http://lists.fas.harvard.edu/pipermail/gov1760-l/2002-October/000465.html ThuThesis Xue Ruini – 5 / 55
6. 6. ThuThesis ThuThesis is a L TEX package A aiming to facilitate the thesis writing for bach- yT X E elors, masters and doctors of Tsinghua University. By now, y L EX AT y ThuThesis ThuThesis has been widely used among lots of TEX zealots who y WORD? do not want to format their several years’ hard work with the infa- y T X? E y T X Showcase (1) E mous MS WORD. I created ThuThesis in the summer of 2005, and y T X Showcase (2) E y T X Showcase (3) made it more useful and stable in the spring of 2006. To be frank, E ThuThesis is not going to ﬁght with MS WORD, because in my L EX AT opinion, “The best tool depends on you”. It is hard to per- ThuThesis suade all students to give up MS WORD and turn to TEX, ThuThesis but I’d like to encourage them through my eﬀorts. Ac- tually, ThuThesis is in its initial step now, as an infant, ThuThesis needs your help very much, and it is very kind of you to contribute and promote it. Xue Ruini ♥ ThuThesis Xue Ruini – 6 / 55
7. 7. ThuThesis L TEX A ThuThesis yT X E (2004.4) q y L EX AT 2005 ⇒ y ThuThesis q y WORD? ⇒ ThuThesis-2.0 (2005/12/20) q y T X? E y T X Showcase (1) E ⇒ ThuThesis-2.1 (2006/3/4) q y T X Showcase (2) E ThuThesis-3.0 (2007/05/13) q y T X Showcase (3) E LTEX A L EX AT ................................................. 1 1 English ThuThesis ........................................................... 1 1.1 ........................................................... 1 1.2 An Introduction to LTEX Thesis A ....................................................... 2 1.2.1 ThuThesis ....................................................... 2 1.2.2 Template of Tsinghua University ....................................................... 4 1.2.3 ........................................................... 5 1.2.4 ......................................................... 5 1.2.5 .................................................. 7 2 ........................................................... 7 2.1 ........................................................... 7 2.1.1 ........................................................... 7 2.1.2 .................................................... 7 2.1.2.1 .................................................... 7 2.1.2.2 ................................................................. 9 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 A . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 A.1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 A.2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 B B.1 Single-Objective Programming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 B.1.1 Linear Programming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 B.1.2 Nonlinear Programming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 B.1.3 Integer Programming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 C . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 V ThuThesis Xue Ruini – 6 / 55
8. 8. WORD? MS WORD q yT X q E y L EX AT (WYSIWYG) q y ThuThesis y WORD? q y T X? E y T X Showcase (1) q E y T X Showcase (2) E q y T X Showcase (3) E q L EX AT ( Bill Gates ) q ThuThesis ThuThesis ThuThesis Xue Ruini – 7 / 55
9. 9. TEX? q yT X E AMS Springer 3 3 y L EX AT y ThuThesis IEEE Kluwer Academic Publishers 3 3 y WORD? y T X? E SIAM Cambridge University Press 3 3 y T X Showcase (1) E Elsevier Reviews of Modern Physics 3 3 y T X Showcase (2) E y T X Showcase (3) E q L EX AT (WYTIWYG) q ThuThesis q ThuThesis lshort L TEX 90 A ( ) q q 2n Knuth q ThuThesis Xue Ruini – 8 / 55
10. 10. TEX Showcase (1) q Z tε yT X E fh,ε (x, y) = εEx,y Lx,yε (εu) ϕ(x) du y L EX AT 0 y ThuThesis Z y WORD? = h Lx,z ϕ(x)ρx (dz) y T X? E » „ Z tε « Z y T X Showcase (1) E 1 y T X Showcase (2) E +h Lx,yx (s) ϕ(x) ds − tε Lx,z ϕ(x)ρx (dz) Ey y T X Showcase (3) tε E 0 „ Z tε «– Z tε 1 + Lx,yx (s) ϕ(x) ds − Ex,y Lx,yε (εs) ϕ(x) ds Ey L EX AT tε 0 0 ThuThesis b = hLx ϕ(x) + hθε (x, y), ThuThesis (2) ˛Z )˛ ( Za Zθ ˛T ˛ dθ ˛ ˛ |I2 | = ˛ ψ(t) u(a, t) − c(ξ)ut (ξ, t) dξ dt˛ ˛0 ˛ γ(t) k(θ, t) a (3) ˛˛ Z ˛ ˛˛ ˛ ˛˛ ˛˛ ˛˛ ˛˛ ˛ e−1,0 ˛˛ e ◦ ˛˛f ˛Sa,− W2 (Ω, Γl )˛˛ ˛|u| → W2 (Ω; Γr , T )˛˛ . A ≤ C6 ˛˛ ˛ Ω ThuThesis Xue Ruini – 9 / 55
11. 11. TEX Showcase (2) q yT X ˛Z E ˛ ˛ ˛ y L EX AT |I1 | = ˛ gRu dΩ˛ y ThuThesis Ω y WORD? »Z “ Z –1/2 ”2 x y T X? E ≤ C3 g(ξ, t) dξ dΩ y T X Showcase (1) E Ω a (4) y T X Showcase (2) E »Z  ”2 ﬀ –1/2 “Z x y T X Showcase (3) E 1 u2 + × cut dξ cΩ x k ˛˛Ω ˛ a ˛˛ ˛ ˛˛ L EX AT ˛˛ ˛ e−1,0 ˛ ˛˛ e ◦ ≤ C4 ˛ f Sa,− W2 (Ω, Γl )˛˛ ˛|u| → W2 (Ω; Γr , T )˛˛ . A ThuThesis ThuThesis ˛Z ˛  ﬀ Z Z ˛ ˛ T a θ dθ |I2 | = ˛ c(ξ)ut (ξ, t) dξ dt˛ ψ(t) u(a, t) − ˛ ˛ γ(t) k(θ, t) a 0 (5) ˛˛ Z ˛ ˛˛ ˛ ˛˛ ˛˛ ˛Sa,− W2 (Ω, Γl )˛˛ ˛|u| → W2 (Ω; Γr , T )˛˛ . ˛˛ e ◦ e−1,0 A ≤ C6 ˛˛f ˛˛ Ω ThuThesis Xue Ruini – 10 / 55
12. 12. TEX Showcase (3) q yT X E y Idl y L EX AT y ThuThesis ˙ y WORD? φ R y T X? E z dBy ˙ ψ θ y T X Showcase (1) E dB y T X Showcase (2) E r θ y T X Showcase (3) E ez P e L EX AT dBx x ThuThesis C ThuThesis root Cptmext right left child child ThuThesis Xue Ruini – 11 / 55
13. 13. y y Office y TX E L EX AT ThuThesis ThuThesis ThuThesis Xue Ruini – 12 / 55
14. 14. q q y q y Office y TX E L EX AT ThuThesis ThuThesis ThuThesis Xue Ruini – 13 / 55
15. 15. Oﬃce WORD q q y q y Office y TX q E L EX AT WORD q ThuThesis ( ) q ThuThesis 5 3 4000 3 20000 ≈ 2.28 3 8 ≈ 6.84 3 ThuThesis Xue Ruini – 14 / 55
16. 16. ThuThesis q q y q y Office y q TX E L EX AT ThuThesis q ThuThesis q ThuThesis ps pdf q q 3 3 3 ThuThesis Xue Ruini – 15 / 55
17. 17. L EX AT yT X E y L EX AT y y L EX AT y L EX AT y L EX AT LTEX A y (1) y (2) ThuThesis ThuThesis ThuThesis Xue Ruini – 16 / 55
18. 18. TEX q L EX AT yT X E y L EX AT y tex dvi y L EX AT y L EX AT y L EX AT y (1) y (2) ThuThesis ThuThesis ps pdf ThuThesis Xue Ruini – 17 / 55
19. 19. TEX q L EX AT yT X E y L EX AT y tex dvi y L EX AT L TEX A y L EX AT y L EX AT y (1) y (2) ThuThesis ThuThesis ps pdf ThuThesis Xue Ruini – 17 / 55
20. 20. TEX q bib L EX AT yT X E BIBTEX y L EX AT y tex dvi y L EX AT L TEX A y L EX AT y L EX AT y (1) y (2) ThuThesis ThuThesis ps pdf ThuThesis Xue Ruini – 17 / 55
21. 21. TEX q bib L EX AT yT X E BIBTEX y L EX AT y tex dvi y L EX AT L TEX A y L EX AT y L EX AT y (1) y (2) dvips ThuThesis ThuThesis ps pdf ThuThesis Xue Ruini – 17 / 55
22. 22. TEX q bib L EX AT yT X E BIBTEX y L EX AT y tex dvi y L EX AT L TEX A y L EX AT y L EX AT y (1) y (2) dvips ThuThesis ThuThesis ps pdf ps2pdf ThuThesis Xue Ruini – 17 / 55
23. 23. TEX q bib L EX AT yT X E BIBTEX y L EX AT y tex dvi y L EX AT L TEX A y L EX AT y L EX AT y (1) y (2) pdfL TEX dvips ThuThesis A ThuThesis ps pdf ps2pdf ThuThesis Xue Ruini – 17 / 55
24. 24. TEX q bib L EX AT yT X E BIBTEX y L EX AT y tex dvi y L EX AT L TEX A y L EX AT y L EX AT y (1) y (2) x pdfL TEX m df dvips ThuThesis p A vi ThuThesis /d m df ip dv ps pdf ps2pdf ThuThesis Xue Ruini – 17 / 55
25. 25. TEX q bib L EX AT yT X E BIBTEX y L EX AT \$ latex thesis y tex dvi y L EX AT \$ pdflatex thesis L TEX A y L EX AT \$ bibtex thesis y L EX AT y (1) \$ latex thesis y (2) x pdfL TEX m \$ latex thesis df dvips ThuThesis p A vi \$ dvipdfmx thesis.dvi ThuThesis /d m \$ dvips -ta4 -Ppdf thesis.dvi df ip dv \$ ps2pdf thesis.ps ps pdf ps2pdf ThuThesis Xue Ruini – 17 / 55
26. 26. L TEX A L TEX A report article q q L EX AT letter book q yT X q E y L EX AT y y L EX AT y L EX AT y L EX AT y (1) y (2) ThuThesis ThuThesis ThuThesis Xue Ruini – 18 / 55
27. 27. L TEX A L TEX A report article q q L EX AT letter book q yT X q E y L EX AT y documentclass[12pt]{book} % y L EX AT y L EX AT author{ } % y L EX AT title{ } % y (1) y (2) begin{document} % maketitle % ThuThesis ThuThesis chapter*{ } % chapter{ } chapter{ } chapter{ } chapter{ } end{document} % ThuThesis Xue Ruini – 18 / 55
28. 28. TEX L TEX A Macro L EX AT yT X E q y L EX AT y y L EX AT y L EX AT y L EX AT y (1) y (2) ThuThesis ThuThesis ThuThesis Xue Ruini – 19 / 55
29. 29. TEX L TEX A Macro L EX AT yT X E q y L EX AT {hei } y y L EX AT y L EX AT y L EX AT y (1) y (2) ThuThesis ThuThesis ThuThesis Xue Ruini – 19 / 55
30. 30. TEX L TEX A Macro L EX AT yT X E q y L EX AT }⇒ {hei y y L EX AT y L EX AT y L EX AT y (1) y (2) ThuThesis ThuThesis ThuThesis Xue Ruini – 19 / 55
31. 31. TEX L TEX A Macro L EX AT yT X E q y L EX AT }⇒ {hei y y L EX AT { } q y L EX AT y L EX AT y (1) y (2) ThuThesis ThuThesis ThuThesis Xue Ruini – 19 / 55
32. 32. TEX L TEX A Macro L EX AT yT X E q y L EX AT }⇒ {hei y y L EX AT { } q y L EX AT y L EX AT textbf{Bold} y (1) y (2) ThuThesis ThuThesis ThuThesis Xue Ruini – 19 / 55
33. 33. TEX L TEX A Macro L EX AT yT X E q y L EX AT }⇒ {hei y y L EX AT { } q y L EX AT y L EX textbf{Bold} ⇒ Bold AT y (1) y (2) ThuThesis ThuThesis ThuThesis Xue Ruini – 19 / 55
34. 34. TEX L TEX A Macro L EX AT yT X E q y L EX AT }⇒ {hei y y L EX AT { } q y L EX AT y L EX textbf{Bold} ⇒ Bold AT y (1) [ ] q y (2) ThuThesis ThuThesis ThuThesis Xue Ruini – 19 / 55
35. 35. TEX L TEX A Macro L EX AT yT X E q y L EX AT }⇒ {hei y y L EX AT { } q y L EX AT y L EX textbf{Bold} ⇒ Bold AT y (1) [ ] q y (2) ziju[10pt] ThuThesis ThuThesis ThuThesis Xue Ruini – 19 / 55
36. 36. TEX L TEX A Macro L EX AT yT X E q y L EX AT }⇒ {hei y y L EX AT { } q y L EX AT y L EX textbf{Bold} ⇒ Bold AT y (1) [ ] q y (2) ziju[10pt] ⇒ ThuThesis ThuThesis ThuThesis Xue Ruini – 19 / 55
37. 37. TEX L TEX A Macro L EX AT yT X E q y L EX AT }⇒ {hei y y L EX AT { } q y L EX AT y L EX textbf{Bold} ⇒ Bold AT y (1) [ ] q y (2) ziju[10pt] ⇒ ThuThesis ThuThesis ThuThesis Xue Ruini – 19 / 55
38. 38. TEX L TEX A Macro L EX AT yT X E q y L EX AT }⇒ {hei y y L EX AT { } q y L EX AT y L EX textbf{Bold} ⇒ Bold AT y (1) [ ] q y (2) ziju[10pt] ⇒ ThuThesis ThuThesis begin{equation*} a^2-b^2=(a+b)(a-b) end{equation*} ThuThesis Xue Ruini – 19 / 55
39. 39. TEX L TEX A Macro L EX AT yT X E q y L EX AT }⇒ {hei y y L EX AT { } q y L EX AT y L EX textbf{Bold} ⇒ Bold AT y (1) [ ] q y (2) ziju[10pt] ⇒ ThuThesis ThuThesis begin{equation*} a2 − b2 = (a + b)(a − b) a^2-b^2=(a+b)(a-b) end{equation*} ThuThesis Xue Ruini – 19 / 55
40. 40. L TEX A chapter section subsection subsubsection L EX AT yT X E y L EX AT y y L EX AT y L EX AT y L EX AT y (1) y (2) ThuThesis ThuThesis ThuThesis Xue Ruini – 20 / 55
41. 41. L TEX A chapter section subsection subsubsection L EX AT textbf textit emph texttt yT X E y L EX AT y y L EX AT y L EX AT y L EX AT y (1) y (2) ThuThesis ThuThesis ThuThesis Xue Ruini – 20 / 55
42. 42. L TEX A chapter section subsection subsubsection L EX AT textbf textit emph texttt yT X E y L EX AT y raggedright raggedleft centering indent y L EX AT y L EX AT y L EX AT y (1) y (2) ThuThesis ThuThesis ThuThesis Xue Ruini – 20 / 55
43. 43. L TEX A chapter section subsection subsubsection L EX AT textbf textit emph texttt yT X E y L EX AT y raggedright raggedleft centering indent y L EX AT y L EX AT footnote item caption includegraphics y L EX AT y (1) y (2) ThuThesis ThuThesis ThuThesis Xue Ruini – 20 / 55
44. 44. L TEX A chapter section subsection subsubsection L EX AT textbf textit emph texttt yT X E y L EX AT y raggedright raggedleft centering indent y L EX AT y L EX AT footnote item caption includegraphics y L EX AT y (1) y (2) label cite ref ThuThesis ThuThesis ThuThesis Xue Ruini – 20 / 55
45. 45. L TEX A chapter section subsection subsubsection L EX AT textbf textit emph texttt yT X E y L EX AT y raggedright raggedleft centering indent y L EX AT y L EX AT footnote item caption includegraphics y L EX AT y (1) y (2) label cite ref ThuThesis ThuThesis ThuThesis Xue Ruini – 20 / 55
46. 46. L TEX A chapter section subsection subsubsection L EX AT textbf textit emph texttt yT X E y L EX AT y raggedright raggedleft centering indent y L EX AT y L EX AT footnote item caption includegraphics y L EX AT y (1) y (2) label cite ref ThuThesis ThuThesis table figure equation itemize enumerate description ThuThesis Xue Ruini – 20 / 55
47. 47. L TEX A chapter{ } ⇒ 1 L EX AT yT X E y L EX AT y y L EX AT y L EX AT y L EX AT y (1) y (2) ThuThesis ThuThesis ThuThesis Xue Ruini – 21 / 55
48. 48. L TEX A chapter{ } ⇒ 1 L EX AT chapter[ } ]{ yT X E ⇒ 1 y L EX AT y y L EX AT y L EX AT y L EX AT y (1) y (2) ThuThesis ThuThesis ThuThesis Xue Ruini – 21 / 55
49. 49. L TEX A chapter{ } ⇒ 1 L EX AT chapter[ } ]{ yT X E ⇒ 1 y L EX AT y section{ } y L EX AT y L EX AT ⇒ 1.1 y L EX AT y (1) y (2) ThuThesis ThuThesis ThuThesis Xue Ruini – 21 / 55
50. 50. L TEX A chapter{ } ⇒ 1 L EX AT chapter[ } ]{ yT X E ⇒ 1 y L EX AT y section{ } y L EX AT y L EX AT ⇒ 1.1 y L EX AT y (1) section[ } ]{ y (2) ⇒ 1.1 ThuThesis ThuThesis ThuThesis Xue Ruini – 21 / 55
51. 51. L TEX A chapter{ } ⇒ 1 L EX AT chapter[ } ]{ yT X E ⇒ 1 y L EX AT y section{ } y L EX AT y L EX AT ⇒ 1.1 y L EX AT y (1) section[ } ]{ y (2) ⇒ 1.1 ThuThesis ThuThesis textbf{To Bold} ⇒ To Bold ThuThesis Xue Ruini – 21 / 55
52. 52. L TEX A chapter{ } ⇒ 1 L EX AT chapter[ } ]{ yT X E ⇒ 1 y L EX AT y section{ } y L EX AT y L EX AT ⇒ 1.1 y L EX AT y (1) section[ } ]{ y (2) ⇒ 1.1 ThuThesis ThuThesis textbf{To Bold} ⇒ To Bold textit{To Italic} ⇒ To Italic ThuThesis Xue Ruini – 21 / 55
53. 53. L TEX A chapter{ } ⇒ 1 L EX AT chapter[ } ]{ yT X E ⇒ 1 y L EX AT y section{ } y L EX AT y L EX AT ⇒ 1.1 y L EX AT y (1) section[ } ]{ y (2) ⇒ 1.1 ThuThesis ThuThesis textbf{To Bold} texttt{To Typeset} ⇒ To Bold ⇒ To Typeset textit{To Italic} ⇒ To Italic ThuThesis Xue Ruini – 21 / 55
54. 54. L TEX A chapter{ } ⇒ 1 L EX AT chapter[ } ]{ yT X E ⇒ 1 y L EX AT y section{ } y L EX AT y L EX AT ⇒ 1.1 y L EX AT y (1) section[ } ]{ y (2) ⇒ 1.1 ThuThesis ThuThesis textbf{To Bold} texttt{To Typeset} ⇒ To Bold ⇒ To Typeset textit{To Italic} footnote{ } ⇒ To Italic ⇒ a E = mc2 a ThuThesis Xue Ruini – 21 / 55
55. 55. L TEX A begin{itemize} q item q item item L EX AT q end{itemize} yT X E y L EX AT y y L EX AT y L EX AT y L EX AT y (1) y (2) ThuThesis ThuThesis ThuThesis Xue Ruini – 22 / 55
56. 56. L TEX A begin{itemize} q item q item item L EX AT q end{itemize} yT X E y L EX AT 1. begin{enumerate} y item y L EX AT 2. item y L EX AT item y L EX AT 3. end{enumerate} y (1) y (2) ThuThesis ThuThesis ThuThesis Xue Ruini – 22 / 55
57. 57. L TEX A begin{itemize} q item q item item L EX AT q end{itemize} yT X E y L EX AT 1. begin{enumerate} y item y L EX AT 2. item y L EX AT item y L EX AT 3. end{enumerate} y (1) y (2) No. 1 begin{description} ThuThesis item[No. 1] No. 2 item[No. 2] ThuThesis item[No. 3] No. 3 end{description} ThuThesis Xue Ruini – 22 / 55
58. 58. (1) q label{name} L EX AT yT X E y L EX AT y y L EX AT y L EX AT y L EX AT y (1) y (2) ThuThesis ThuThesis ThuThesis Xue Ruini – 23 / 55
59. 59. (1) q label{name} q L EX AT yT X E ref{name} y L EX AT y y L EX AT y L EX AT y L EX AT y (1) y (2) ThuThesis ThuThesis ThuThesis Xue Ruini – 23 / 55
60. 60. (1) q label{name} q L EX AT yT X E ref{name} y L EX AT y y L EX AT y L EX AT y L EX AT y (1) begin{figure} y (2) centering includegraphics{thulogo.eps} ThuThesis caption{ } ThuThesis label{fig:thulogo} end{figure} ~ref{fig:thulogo} ThuThesis Xue Ruini – 23 / 55
61. 61. (1) q label{name} q L EX AT yT X E ref{name} y L EX AT y y L EX AT y L EX AT y L EX AT y (1) begin{figure} y (2) centering includegraphics{thulogo.eps} ThuThesis caption{ } ThuThesis label{fig:thulogo} end{figure} ~ref{fig:thulogo} 1. 1 ThuThesis Xue Ruini – 23 / 55
62. 62. (2) begin{table} centering begin{tabular}{ll}hline & hline L EX AT 1& yT X E 2& hline y L EX AT end{tabular} y caption{ } y L EX AT label{tab:number} y L EX AT end{table} y L EX AT ~ref{tab:number} y (1) y (2) ThuThesis ThuThesis ThuThesis Xue Ruini – 24 / 55
63. 63. (2) begin{table} centering begin{tabular}{ll}hline 1 & hline L EX AT 1& 2 yT X E 2& hline y L EX AT end{tabular} 1. y caption{ } y L EX AT label{tab:number} y L EX AT 1 end{table} y L EX AT ~ref{tab:number} y (1) y (2) ThuThesis ThuThesis ThuThesis Xue Ruini – 24 / 55
64. 64. (2) begin{table} centering begin{tabular}{ll}hline 1 & hline L EX AT 1& 2 yT X E 2& hline y L EX AT end{tabular} 1. y caption{ } y L EX AT label{tab:number} y L EX AT 1 end{table} y L EX AT ~ref{tab:number} y (1) y (2) begin{equation} label{eq:sum} ThuThesis sumlimits_{1}^{n}{i}=frac{n(n+1)}{2} ThuThesis end{equation} ~ref{eq:sum} ThuThesis Xue Ruini – 24 / 55
65. 65. (2) begin{table} centering begin{tabular}{ll}hline 1 & hline L EX AT 1& 2 yT X E 2& hline y L EX AT end{tabular} 1. y caption{ } y L EX AT label{tab:number} y L EX AT 1 end{table} y L EX AT ~ref{tab:number} y (1) y (2) begin{equation} label{eq:sum} ThuThesis sumlimits_{1}^{n}{i}=frac{n(n+1)}{2} ThuThesis end{equation} ~ref{eq:sum} n X n(n + 1) i= (6) 2 1 (6) ThuThesis Xue Ruini – 24 / 55
66. 66. L EX AT ThuThesis y (1) y (2) y y (1) ThuThesis y (1) y (2) y y y y y y ThuThesis ThuThesis Xue Ruini – 25 / 55
67. 67. (1) TEX CTEX Windows L EX AT CTEX www.ctex.org q ThuThesis y (1) CTeX-full.exe CTeX-Fonts.exe q y (2) y Linux FreeBSD y (1) y (1) TeXLive q y (2) y y y y y y ThuThesis ThuThesis Xue Ruini – 26 / 55
68. 68. (2) ThuThesis L EX AT http://thuthesis.sourceforge.net q ThuThesis y (1) http://gforge.oss.org.cn/projects/thuthesis/ q y (2) y y (1) y (1) thuthesis.pdf) (Readme q y (2) y q y y y y y ThuThesis ThuThesis Xue Ruini – 27 / 55
69. 69. documentclass[bachelor,dvips]{thuthesis} %%% % documentclass[bachelor|master|doctor, mainmatter % dvips|dvipdfm, include{data/chap01} % secret, include{data/chap02} % submit, L EX AT % arialtoc, %%% % arialtitle]{thuthesis} backmatter ThuThesis % % y % listoffigures (1) usepackage{thutils} % y (2) listoftables y begin{document} % %%% listofequations y (1) frontmatter y (1) input{data/cover} % makecover bibliographystyle{thubib} y (2) bibliography{ref/refs} y % tableofcontents % y include{data/ack} y % y input{data/denotation} % begin{appendix} y input{data/appendix01} y end{appendix} % ThuThesis include{data/resume} end{document} ThuThesis Xue Ruini – 28 / 55
70. 70. (1) bachelor L EX AT documentclass[bachelor]{thuthesis} ThuThesis y (1) y (2) master y y (1) documentclass[master]{thuthesis} y (1) y (2) doctor y y documentclass[doctor]{thuthesis} y y secret y y documentclass[doctor, secret]{thuthesis} ThuThesis secretlevel{ } secretyear{2010} openany, openright dvips/dvipdfm dvips, dvipdfm ThuThesis Xue Ruini – 29 / 55
71. 71. (1) LTEX A L EX AT ThuThesis y An Introduction to LTEX Thesis A (1) LTEX A y (2) Template of Tsinghua University y y (1) y (1) y (2) y y y y y y ThuThesis 2006 3 18 ThuThesis Xue Ruini – 30 / 55
72. 72. (2) An Introduction to LTEX Thesis Template A LTEX A of Tsinghua University L EX AT ThuThesis Dissertation Submitted to y (1) Tsinghua University y (2) in partial fulﬁllment of the requirement y for the degree of y (1) Doctor of Science y (1) y (2) y by y Xue Ruini y ( Computer Science and Technology ) y y Dissertation Supervisor : Professor Zheng Weimin y Associate Supervisor : Chen Wenguang ThuThesis March, 2006 ThuThesis Xue Ruini – 31 / 55
73. 73. song fs hei kai li you L EX AT songti fangsong heiti kaishu lishu youyuan ThuThesis y (1) y (2) y y (1) {song } y (1) {fs } y (2) y {hei } y {kai y } y y {li } y {hei } ThuThesis {song } {you } ThuThesis Xue Ruini – 32 / 55
74. 74. chuhao xiaochu yihao xiaoyi erhao xiaoer sanhao xiaosan L EX AT sihao banxiaosi xiaosi dawu wuhao ThuThesis xiaowu liuhao xiaoliu qihao bahao y (1) y (2) y y (1) y (1) y (2) command[num] q y num q command y y 1.5 xiaosi[1.5] q y y {erhao sanhao sihao qihao } y ThuThesis ThuThesis Xue Ruini – 33 / 55
75. 75. ctitle etitle cauthor eauthor L EX AT cdegree edegree ThuThesis cdepartment edepartment y (1) cmajor emajor y (2) csupervisor esupervisor y y cassosupervisor eassosupervisor (1) y (1) ccosupervisor ecosupervisor y (2) cdate edate y cabstract eabstract y ckeywords ekeywords y y y y ThuThesis ctitle{thuthesis{} } etitle{Mastering thuthesis} cauthor{ } eauthor{Xue Ruini} q ThuThesis Xue Ruini – 34 / 55
76. 76. TEX q ThuThesis q L EX AT axiom theorem deﬁnition proposition lemma ThuThesis y (1) y (2) proof corollary example exercise y y (1) y (1) y (2) y y y y y y ThuThesis ThuThesis Xue Ruini – 35 / 55
77. 77. TEX q ThuThesis q L EX AT axiom theorem deﬁnition proposition lemma ThuThesis y (1) y (2) proof corollary example exercise y y (1) y (1) y (2) y y y y begin{definition} y y end{definition} ThuThesis 1.1 ThuThesis Xue Ruini – 35 / 55
78. 78. BIBTEX q L EX AT bib q ThuThesis y (1) bst thubib.bst q y (2) y q y (1) y (1) y (2) y y y y y y ThuThesis ThuThesis Xue Ruini – 36 / 55
79. 79. BIBTEX q L EX AT bib q ThuThesis y (1) bst thubib.bst q y (2) y q y (1) [12,13] 3 y (1) y (2) cite{key12, key13} y y y y y y ThuThesis ThuThesis Xue Ruini – 36 / 55
80. 80. BIBTEX q L EX AT bib q ThuThesis y (1) bst thubib.bst q y (2) y q y (1) [12,13] 3 y (1) y (2) cite{key12, key13} y y [14] 3 y y onlinecite{key14} y y ThuThesis ThuThesis Xue Ruini – 36 / 55
81. 81. eps, ps, pdf METAPOST pstricks pgf . . . q Xﬁg Dia Visio Inkscape . . . L EX AT q ThuThesis png jpg tiﬀ . . . y (1) y (2) y GSViewer q q y (1) epstopdf pdfcrop q ImageMagick q y (1) y (2) y y y y y y ThuThesis ThuThesis Xue Ruini – 37 / 55
82. 82. L EX AT ThuThesis ThuThesis y y ThuThesis y ThuThesis y (1) y (2) y y y y y y y ThuThesis Xue Ruini – 38 / 55
83. 83. ThuThesis q 3 L EX AT 3 ThuThesis 3 ThuThesis 3 y y ThuThesis 3 y 3 y (1) y (2) 3 y y 3 y 3 y y y y ThuThesis Xue Ruini – 39 / 55
84. 84. ThuThesis ThuThesis q L EX AT thuthesis.ins ThuThesis thuthesis.dtx ThuThesis thuthesis.cls y y ThuThesis thuthesis.cfg y thubib.bst y (1) y (2) Readme y y thuthesis.pdf y y y y y ThuThesis Xue Ruini – 40 / 55
85. 85. ThuThesis ThuThesis q q thesis/ L EX AT thuthesis.ins |- thuthesis.cls |- thuthesis.cfg ThuThesis thuthesis.dtx |- thubib.bst ThuThesis |- thutils.sty thuthesis.cls y |- main.tex |- data/ y ThuThesis thuthesis.cfg |- cover.tex y |- denotation.tex thubib.bst y (1) |- chapter01.tex y (2) Readme |- ack.tex y |- resume.tex y thuthesis.pdf |- appendix.tex y |- ref/ y |- ref.bib y |- figures/ y |- xrn.eps y ThuThesis Xue Ruini – 40 / 55
86. 86. documentclass[bachelor,dvips]{thuthesis} %%% % documentclass[bachelor|master|doctor, mainmatter % dvips|dvipdfm, include{data/chap01} % secret, include{data/chap02} % submit, L EX AT % arialtoc, %%% % arialtitle]{thuthesis} backmatter ThuThesis % % % listoffigures ThuThesis usepackage{thutils} % listoftables y begin{document} % y ThuThesis %%% listofequations y frontmatter input{data/cover} % y (1) makecover bibliographystyle{thubib} y (2) bibliography{ref/refs} % y tableofcontents % y include{data/ack} % y input{data/denotation} % y begin{appendix} input{data/appendix01} y end{appendix} y y % include{data/resume} end{document} ThuThesis Xue Ruini – 41 / 55
87. 87. (1) L EX AT ThuThesis ThuThesis y y ThuThesis y y (1) y (2) y y y y y y y ThuThesis Xue Ruini – 42 / 55
88. 88. (1) % secretlevel{ } secretyear{2020} L EX AT ThuThesis ThuThesis y y ThuThesis y y (1) y (2) y y y y y y y ThuThesis Xue Ruini – 42 / 55
89. 89. (1) % secretlevel{ } secretyear{2020} % L EX AT ctitle{ ~LaTeX } etitle{An Introduction to LaTeX{} ThuThesis Thesis Template of Tsinghua University} ThuThesis y y ThuThesis y y (1) y (2) y y y y y y y ThuThesis Xue Ruini – 42 / 55
90. 90. (1) % secretlevel{ } secretyear{2020} % L EX AT ctitle{ ~LaTeX } etitle{An Introduction to LaTeX{} ThuThesis Thesis Template of Tsinghua University} ThuThesis % y cauthor{ } y ThuThesis eauthor{Xue Ruini} y csupervisor{ } y (1) y esupervisor{Professor Zheng Weimin} (2) y cassosupervisor{ } y eassosupervisor{Chen Wenguang} y ccosupervisor{ } y ecosupervisor{I have no} y y y ThuThesis Xue Ruini – 42 / 55
91. 91. (1) % secretlevel{ } secretyear{2020} % L EX AT ctitle{ ~LaTeX } etitle{An Introduction to LaTeX{} ThuThesis Thesis Template of Tsinghua University} ThuThesis % y cauthor{ } y ThuThesis eauthor{Xue Ruini} y csupervisor{ } y (1) y esupervisor{Professor Zheng Weimin} (2) y cassosupervisor{ } y eassosupervisor{Chen Wenguang} y ccosupervisor{ } y ecosupervisor{I have no} y % y cdegree{ } y edegree{Doctor of Science} cdepartment[ ]{ } cmajor{ } emajor{Computer Science and Technology} ThuThesis Xue Ruini – 42 / 55
92. 92. (1) % secretlevel{ } secretyear{2020} % L EX AT ctitle{ ~LaTeX } etitle{An Introduction to LaTeX{} ThuThesis Thesis Template of Tsinghua University} ThuThesis % y cauthor{ } y ThuThesis eauthor{Xue Ruini} y csupervisor{ } y (1) y esupervisor{Professor Zheng Weimin} (2) y cassosupervisor{ } y eassosupervisor{Chen Wenguang} y ccosupervisor{ } y ecosupervisor{I have no} y % y cdegree{ } y edegree{Doctor of Science} cdepartment[ ]{ } cmajor{ } emajor{Computer Science and Technology} (cdate edate) ThuThesis Xue Ruini – 42 / 55
93. 93. (2) L EX AT ThuThesis ThuThesis y y ThuThesis y y (1) y (2) y y y y y y y ThuThesis Xue Ruini – 43 / 55
94. 94. (2) % cabstract{ ~LaTeX + CJK } eabstract{This article presents the LaTeX + CJK template for Master Thesis of L EX AT Tsinghua University, and briefly introduces the usage.} ThuThesis ThuThesis y y ThuThesis y y (1) y (2) y y y y y y y ThuThesis Xue Ruini – 43 / 55
95. 95. (2) % cabstract{ ~LaTeX + CJK } eabstract{This article presents the LaTeX + CJK template for Master Thesis of L EX AT Tsinghua University, and briefly introduces the usage.} ThuThesis % ThuThesis y ckeywords{TeX LaTeX CJK } y ThuThesis ekeywords{TeX LaTeX CJK template typesetting thesis} y y (1) y (2) y y y y y y y ThuThesis Xue Ruini – 43 / 55
96. 96. (2) % cabstract{ ~LaTeX + CJK } eabstract{This article presents the LaTeX + CJK template for Master Thesis of L EX AT Tsinghua University, and briefly introduces the usage.} ThuThesis % ThuThesis y ckeywords{TeX LaTeX CJK } y ThuThesis ekeywords{TeX LaTeX CJK template typesetting thesis} y y (1) y (2) y y y makecover y y y y ThuThesis Xue Ruini – 43 / 55
97. 97. begin{denotation} item[E] item[m] item[c] L EX AT end{denotation} ThuThesis ThuThesis y q y ThuThesis (key, value) q y y (1) y (2) y y y y y y y ThuThesis Xue Ruini – 44 / 55
98. 98. L EX AT ThuThesis ThuThesis y y ThuThesis y y (1) y (2) y y y y y y y ThuThesis Xue Ruini – 45 / 55
99. 99. chapter{ } label{cha:lft} L EX AT ThuThesis ThuThesis y y ThuThesis y y (1) y (2) y y y y y y y ThuThesis Xue Ruini – 45 / 55
100. 100. chapter{ } label{cha:lft} section{ } 3.1 L EX AT label{sec:lfthist} ThuThesis ThuThesis y y ThuThesis y y (1) y (2) y y y y y y y ThuThesis Xue Ruini – 45 / 55
101. 101. chapter{ } label{cha:lft} section{ } 3.1 L EX AT label{sec:lfthist} ThuThesis subsection{ } 3.1.1 label{sec:whobuildlft} ThuThesis y y ThuThesis y y (1) y (2) y y y y y y y ThuThesis Xue Ruini – 45 / 55
102. 102. chapter{ } label{cha:lft} section{ } 3.1 L EX AT label{sec:lfthist} ThuThesis subsection{ } 3.1.1 label{sec:whobuildlft} ThuThesis y subsubsection{ } 3.1.1.1 y ThuThesis label{sec:sonofkingofmoney}} y y (1) y (2) y y y y y y y ThuThesis Xue Ruini – 45 / 55
103. 103. chapter{ } label{cha:lft} section{ } 3.1 L EX AT label{sec:lfthist} ThuThesis subsection{ } 3.1.1 label{sec:whobuildlft} ThuThesis y subsubsection{ } 3.1.1.1 y ThuThesis label{sec:sonofkingofmoney}} y chapter{ } y (1) label{cha:afterlft} y (2) section{ } y label{sec:whereismzbai} y section{ } y label{sec:whereisfahai} y subsection{ } y label{sec:storyofcrab} y y ThuThesis Xue Ruini – 45 / 55
104. 104. q q L EX AT begin{ack} ThuThesis ThuThesis y end{ack} y ThuThesis y y (1) y (2) y y y y y y y ThuThesis Xue Ruini – 46 / 55
105. 105. begin{appendix} chapter{ } section{ } Anything as you like... L EX AT end{appendix} ThuThesis ThuThesis appendix q y y ThuThesis q y A y (1) q y (2) y y y y y y y ThuThesis Xue Ruini – 47 / 55
106. 106. listoffigures q listoftables q listofequations q L EX AT ThuThesis ThuThesis y y ThuThesis L TEX A q y y (1) equcaption ThuThesis q y (2) y listofequations y y begin{align} y label{eq:emc2}equcaption y E=mc^2 y end{align} y ThuThesis Xue Ruini – 48 / 55
107. 107. begin{resume} resumeitem{ } 1978 ~4 ~30 1996~ ~9~ 2000~ ~6~ ~9~ L EX AT ThuThesis resumeitem{ } ThuThesis begin{enumerate} y item Harry Potter, Bajie Zhu, Sanzang Tang, Coupling Computation of the BEM y ThuThesis and FDM in 3D Spirit Extraction, Interplanetarian Conference on Super y Sudden Motion, 2001, p.716 - 719(SCI). y (1) end{enumerate} y (2) y resumeitem{ } y begin{enumerate} y item Wukong Sun, Harry Potter, Sanzang Tang, Fast 6-D Impedance Extraction of Spirit, International Conference on Communication, Circuit and Systems, y 2005, . y end{enumerate} y end{resume} y resume q q resumeitem ThuThesis Xue Ruini – 49 / 55
108. 108. documentclass{thuthesis} begin{document} L EX AT ctitle{thuthesis{} } cauthor{ } ThuThesis % shuji ThuThesis shuji y end{document} y ThuThesis y y (1) y (2) y y y y y y y ThuThesis Xue Ruini – 50 / 55
109. 109. L EX AT ThuThesis ThuThesis y y y y ThuThesis Xue Ruini – 51 / 55
110. 110. CJKpunct L TEX ﬂoat A L EX AT ThuThesis L TEX A ThuThesis BIBTEX ps y y y y ThuThesis Xue Ruini – 52 / 55
111. 111. L TEX 2ε (1–2 ) A q L EX AT L TEX 2ε (2–3 ) A q ThuThesis (20 ) ThuThesis q ThuThesis ThuThesis q y q y y WinEdt. . . 3 y Vim (+ L TEXSuite) 3 A Emacs (+ AUCTEX+ preview-L TEX) 3 A ThuThesis Xue Ruini – 53 / 55
112. 112. (RTFM) q L EX AT google q ThuThesis TEX@newsmth q ThuThesis ThuThesis Google Group q y ⇒ q y y y ThuThesis Xue Ruini – 54 / 55
113. 113. (RTFM) q L EX AT google q ThuThesis TEX@newsmth q ThuThesis ThuThesis Google Group q y ⇒ q y y y q q q oseen, donated, edyfox, Truel q ThuThesis Xue Ruini – 54 / 55
114. 114. L EX AT ThuThesis ThuThesis Thank you! y y y y ThuThesis Xue Ruini – 55 / 55