-
Notifications
You must be signed in to change notification settings - Fork 75
/
main.tex
399 lines (291 loc) · 12.9 KB
/
main.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% The Legrand Orange Book
% LaTeX Template
% Version 2.4 (26/09/2018)
%
% This template was downloaded from:
% http://www.LaTeXTemplates.com
%
% Original author:
% Mathias Legrand (legrand.mathias@gmail.com) with modifications by:
% Vel (vel@latextemplates.com)
%
% License:
% CC BY-NC-SA 3.0 (http://creativecommons.org/licenses/by-nc-sa/3.0/)
%
% Compiling this template:
% This template uses biber for its bibliography and makeindex for its index.
% When you first open the template, compile it from the command line with the
% commands below to make sure your LaTeX distribution is configured correctly:
%
% 1) pdflatex main
% 2) makeindex main.idx -s StyleInd.ist
% 3) biber main
% 4) pdflatex main x 2
%
% After this, when you wish to update the bibliography/index use the appropriate
% command above and make sure to compile with pdflatex several times
% afterwards to propagate your changes to the document.
%
% This template also uses a number of packages which may need to be
% updated to the newest versions for the template to compile. It is strongly
% recommended you update your LaTeX distribution if you have any
% compilation errors.
%
% Important note:
% Chapter heading images should have a 2:1 width:height ratio,
% e.g. 920px width and 460px height.
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%----------------------------------------------------------------------------------------
% PACKAGES AND OTHER DOCUMENT CONFIGURATIONS
%----------------------------------------------------------------------------------------
\documentclass[11pt,twoside]{book} % Default font size and left-justified equations
\input{structure.tex} % Insert the commands.tex file which contains the majority of the structure behind the template
%\hypersetup{pdftitle={Title},pdfauthor={Author}} % Uncomment and fill out to include PDF metadata for the author and title of the book
%----------------------------------------------------------------------------------------
\begin{document}
\frontmatter % 控制序文部分
%----------------------------------------------------------------------------------------
% TITLE PAGE
%----------------------------------------------------------------------------------------
\begingroup
\thispagestyle{empty} % Suppress headers and footers on the title page
\begin{tikzpicture}[remember picture,overlay]
\node[inner sep=0pt] (background) at (current page.center) {\includegraphics[height=\paperheight]{view-3.png}};
\draw (current page.center) node [fill=yellow!80!green!40,fill opacity=0.1,text opacity=1,inner sep=1cm]
{\centering\bfseries\sffamily\parbox[c][][t]{\paperwidth}{\color{white}\centering
{\Large Physically Based Rendering: From Theory To Implementation}\\[25pt]
{\fontsize{30pt}{15pt}\textrm{从理论到实现}}\\[15pt]
{\fontsize{60pt}{15pt}\textrm{基于物理的渲染}}\\[25pt]
{\fontsize{21pt}{15pt}第三版}\\[20pt]
{\Large\begin{tabular}{rcl}原著 && Matt Pharr\\ && Wenzel Jakob\\ && Greg Humphreys\\ 翻译 && Kanition\end{tabular}}}};
\end{tikzpicture}
\vfill
\endgroup
%----------------------------------------------------------------------------------------
% COPYRIGHT PAGE
%----------------------------------------------------------------------------------------
\newpage
~\vfill
\thispagestyle{empty}
\usechapterimagefalse
\input{content/readme.tex}
\pagestyle{fancy} % 该风格启用了页眉
\input{content/preface.tex}
\input{content/prefaceonline.tex}
\input{content/tanslator.tex}
\input{content/hallofshame.tex}
%----------------------------------------------------------------------------------------
% TABLE OF CONTENTS
%----------------------------------------------------------------------------------------
\pagestyle{fancy}
\renewcommand{\contentsname}{目录}
\renewcommand{\figurename}{图}
\renewcommand{\tablename}{表}
%\usechapterimagefalse % If you don't want to include a chapter image, use this to toggle images off - it can be enabled later with \usechapterimagetrue
\usechapterimagetrue
\chapterimage{Pictures/measure-one180-cut1260.png} % Table of contents heading image
\pagestyle{empty} % Disable headers and footers for the following pages
\tableofcontents % Print the table of contents itself
\cleardoublepage % Forces the first chapter to start on an odd page so it's on the right side of the book
\pagestyle{fancy} % Enable headers and footers again
%----------------------------------------------------------------------------------------
% PART
%----------------------------------------------------------------------------------------
\setcounter{page}{1}
\mainmatter % 控制正文部分
\part{绪论}
\input{content/chap01.tex}
\part{主要几何功能}
\input{content/chap02.tex}
\input{content/chap03.tex}
\input{content/chap04.tex}
\part{成像过程}
\input{content/chap05.tex}
\input{content/chap06.tex}
\input{content/chap07.tex}
\part{光的散射}
\input{content/chap08.tex}
\input{content/chap09.tex}
\input{content/chap10.tex}
\input{content/chap11.tex}
\input{content/chap12.tex}
\part{光传输算法}
\input{content/chap13.tex}
\input{content/chap14.tex}
\input{content/chap15.tex}
\input{content/chap16.tex}
\part{回顾与未来}
\input{content/chap17.tex}
\appendix
\part{附录}
\input{content/chapextraA.tex}
\input{content/chapextraB.tex}
% \chapter{In-text Elements}
% \section{Theorems}\index{Theorems}
% This is an example of theorems.
% \subsection{Several equations}\index{Theorems!Several Equations}
% This is a theorem consisting of several equations.
% \begin{theorem}[Name of the theorem]
% In $E=\mathbb{R}^n$ all norms are equivalent. It has the properties:
% \begin{align}
% & \big| ||\mathbf{x}|| - ||\mathbf{y}|| \big|\leq || \mathbf{x}- \mathbf{y}|| \\
% & ||\sum_{i=1}^n\mathbf{x}_i||\leq \sum_{i=1}^n||\mathbf{x}_i||\quad\text{where $n$ is a finite integer}
% \end{align}
% \end{theorem}
% \subsection{Single Line}\index{Theorems!Single Line}
% This is a theorem consisting of just one line.
% \begin{theorem}
% A set $\mathcal{D}(G)$ in dense in $L^2(G)$, $|\cdot|_0$.
% \end{theorem}
% %------------------------------------------------
% \section{Definitions}
% This is an example of a definition.
% \begin{definition}[Definition name]
% Given a vector space $E$, a norm on $E$ is an application, denoted $||\cdot||$, $E$ in $\mathbb{R}^+=[0,+\infty[$ such that:
% \begin{align}
% & ||\mathbf{x}||=0\ \Rightarrow\ \mathbf{x}=\mathbf{0} \\
% & ||\lambda \mathbf{x}||=|\lambda|\cdot ||\mathbf{x}|| \\
% & ||\mathbf{x}+\mathbf{y}||\leq ||\mathbf{x}||+||\mathbf{y}||
% \end{align}
% \end{definition}
% %------------------------------------------------
% \section{Notations}
% \begin{notation}
% Given an open subset $G$ of $\mathbb{R}^n$, the set of functions $\varphi$ are:
% \begin{enumerate}
% \item Bounded support $G$;
% \item Infinitely differentiable;
% \end{enumerate}
% a vector space is denoted by $\mathcal{D}(G)$.
% \end{notation}
% %------------------------------------------------
% \section{Remarks}
% This is an example of a remark.
% \begin{remark}
% The concepts presented here are now in conventional employment in mathematics. Vector spaces are taken over the field $\mathbb{K}=\mathbb{R}$, however, established properties are easily extended to $\mathbb{K}=\mathbb{C}$.
% \end{remark}
% %------------------------------------------------
% \section{Corollaries}
% This is an example of a corollary.
% \begin{corollary}[Corollary name]
% The concepts presented here are now in conventional employment in mathematics. Vector spaces are taken over the field $\mathbb{K}=\mathbb{R}$, however, established properties are easily extended to $\mathbb{K}=\mathbb{C}$.
% \end{corollary}
% %------------------------------------------------
% \section{Propositions}
% This is an example of propositions.
% \subsection{Several equations}\index{Propositions!Several Equations}
% \begin{proposition}[Proposition name]
% It has the properties:
% \begin{align}
% & \big| ||\mathbf{x}|| - ||\mathbf{y}|| \big|\leq || \mathbf{x}- \mathbf{y}|| \\
% & ||\sum_{i=1}^n\mathbf{x}_i||\leq \sum_{i=1}^n||\mathbf{x}_i||\quad\text{where $n$ is a finite integer}
% \end{align}
% \end{proposition}
% \subsection{Single Line}\index{Propositions!Single Line}
% \begin{proposition}
% Let $f,g\in L^2(G)$; if $\forall \varphi\in\mathcal{D}(G)$, $(f,\varphi)_0=(g,\varphi)_0$ then $f = g$.
% \end{proposition}
% %------------------------------------------------
% \section{Examples}
% This is an example of examples.
% \subsection{Equation and Text}
% \begin{example}
% Let $G=\{x\in\mathbb{R}^2:|x|<3\}$ and denoted by: $x^0=(1,1)$; consider the function:
% \begin{equation}
% f(x)=\left\{\begin{aligned}& \mathrm{e}^{|x|} & & \text{si $|x-x^0|\leq 1/2$} \\ & 0 & & \text{si $|x-x^0|> 1/2$}\end{aligned}\right.
% \end{equation}
% The function $f$ has bounded support, we can take $A=\{x\in\mathbb{R}^2:|x-x^0|\leq 1/2+\epsilon\}$ for all $\epsilon\in\intoo{0}{5/2-\sqrt{2}}$.
% \end{example}
% \subsection{Paragraph of Text}
% \begin{example}[Example name]
% rrr
% \end{example}
% %------------------------------------------------
% \section{Exercises}
% This is an example of an exercise.
% \begin{exercise}
% This is a good place to ask a question to test learning progress or further cement ideas into students' minds.
% \end{exercise}
% %------------------------------------------------
% \section{Problems}
% \begin{problem}
% What is the average airspeed velocity of an unladen swallow?
% \end{problem}
% %------------------------------------------------
% \section{Vocabulary}
% Define a word to improve a students' vocabulary.
% \begin{vocabulary}[Word]
% Definition of word.
% \end{vocabulary}
% \chapterimage{chapter_head_1.pdf} % Chapter heading image
% \chapter{Presenting Information}
% \begin{enumerate}
% \item The first item
% \item The second item
% \item The third item
% \end{enumerate}
% \begin{itemize}
% \item The first item
% \item The second item
% \item The third item
% \end{itemize}
% \begin{description}
% \item[Name] Description
% \item[Word] Definition
% \item[Comment] Elaboration
% \end{description}
% \section{Table}
% \begin{table}[h]
% \centering
% \begin{tabular}{l l l}
% \toprule
% \textbf{Treatments} & \textbf{Response 1} & \textbf{Response 2} \\
% \midrule
% Treatment 1 & 0.0003262 & 0.562 \\
% Treatment 2 & 0.0015681 & 0.910 \\
% Treatment 3 & 0.0009271 & 0.296 \\
% \bottomrule
% \end{tabular}
% \caption{Table caption}
% \label{tab:example} % Unique label used for referencing the table in-text
% %\addcontentsline{toc}{table}{Table \ref{tab:example}} % Uncomment to add the table to the table of contents
% \end{table}
% Referencing Table \ref{tab:example} in-text automatically.
% %------------------------------------------------
% \section{Figure}
% \begin{figure}[h]
% \centering\includegraphics[scale=0.5]{placeholder.jpg}
% \caption{Figure caption}
% \label{fig:placeholder} % Unique label used for referencing the figure in-text
% % \addcontentsline{toc}{figure}{Figure \ref{fig:placeholder}} % Uncomment to add the figure to the table of contents
% \end{figure}
% Referencing Figure \ref{fig:placeholder} in-text automatically.
%----------------------------------------------------------------------------------------
% BIBLIOGRAPHY
%----------------------------------------------------------------------------------------
\renewcommand{\bibname}{参考文献}
\chapter*{参考文献}
\markboth{\sffamily\normalsize\bfseries 参考文献}{\sffamily\normalsize\bfseries 参考文献}
\addcontentsline{toc}{chapter}{\textcolor{ocre}{参考文献}} % Add a Bibliography heading to the table of contents
\printbibliography[heading=bibempty]
%------------------------------------------------
% \section*{论文}
% \addcontentsline{toc}{section}{论文}
% \printbibliography[heading=bibempty,type=article]
%------------------------------------------------
% \section*{书籍}
% \addcontentsline{toc}{section}{书籍}
% \printbibliography[heading=bibempty,type=book]
%----------------------------------------------------------------------------------------
% INDEX
%----------------------------------------------------------------------------------------
\renewcommand{\indexname}{\sffamily\bfseries 索引}
\cleardoublepage % Make sure the index starts on an odd (right side) page
\phantomsection
\setlength{\columnsep}{0.75cm} % Space between the 2 columns of the index
\addcontentsline{toc}{chapter}{\textcolor{ocre}{索引}} % Add an Index heading to the table of contents
\printindex % Output the index
%----------------------------------------------------------------------------------------
\end{document}