mitsuba/doc/main.tex

162 lines
3.6 KiB
TeX
Raw Normal View History

2011-07-17 21:20:55 +08:00
\documentclass[footinclude=false,11pt,DIV11]{scrartcl}
2010-08-10 09:25:24 +08:00
% Wenzel's standard prelude
% ----- 8< ----- 8< ------
\usepackage[english]{babel}
\usepackage[T1]{fontenc}
2011-06-26 00:46:20 +08:00
\usepackage[utf8]{inputenc}
2010-08-10 09:25:24 +08:00
\usepackage{graphicx}
2011-06-26 09:29:50 +08:00
\usepackage{amsmath}
\usepackage{mathtools}
2010-08-10 09:25:24 +08:00
\usepackage{array}
\usepackage{booktabs}
2011-06-26 09:29:50 +08:00
\usepackage{tabularx}
2010-08-10 09:25:24 +08:00
\usepackage{color}
2011-06-26 09:29:50 +08:00
\usepackage{colortbl}
2010-08-10 09:25:24 +08:00
\usepackage{listings}
\usepackage{enumerate}
\usepackage[absolute]{textpos} % Manual placement of certain things
2011-06-26 09:29:50 +08:00
\usepackage{ragged2e} % Ragged-right columns with hyphenation
\usepackage{macros}
2011-07-02 23:03:57 +08:00
\usepackage[format=hang,font=small,labelfont=bf]{caption}
2011-07-17 21:20:55 +08:00
\usepackage[expansion=false, babel=true]{microtype}
\usepackage{subfig}
2011-06-26 00:46:20 +08:00
% Make sure that ligatures remain searchable in the PDF
\input glyphtounicode
\pdfgentounicode=1
\IfFileExists{MinionPro.sty}
{\usepackage[opticals,fullfamily,lf]{MinionPro}}
{\message{Package MinionPro.sty was not found.}}
2010-08-10 09:25:24 +08:00
2011-06-25 22:49:26 +08:00
\setcounter{secnumdepth}{3}
\setcounter{tocdepth}{3}
2011-07-17 21:20:55 +08:00
\newcommand{\MitsubaVersion}{0.3.0}
2010-08-10 09:25:24 +08:00
\typearea[current]{last}
\raggedbottom
\renewcommand*\ttdefault{txtt}
\usepackage{scrpage2}
\ofoot[]{}
\cfoot[]{}
\automark[subsection]{section}
2010-08-10 09:25:24 +08:00
\ihead{\sc\leftmark}
\ohead{\sc\rightmark}
\chead{}
\setheadsepline{.2pt}
\setkomafont{pagenumber}{\normalfont}
\addtokomafont{sectioning}{\color{myblue}\rmfamily}
\addtokomafont{descriptionlabel}{\rmfamily}
\pagestyle{scrheadings}
2011-07-17 21:20:55 +08:00
\usepackage[
bookmarks,
bookmarksnumbered,
colorlinks,
plainpages=false,
pdfpagelabels,
hypertexnames=false,
linkcolor=myblue,
urlcolor=myblue,
citecolor=myblue,
pdfpagelabels,
pdftitle={Mitsuba \MitsubaVersion\, Documentation},
pdfauthor={Wenzel Jakob},
pdfstartview=FitH
]{hyperref}
2010-08-10 09:25:24 +08:00
\definecolor{myblue}{rgb}{0,.1,.6}
\definecolor{myred}{rgb}{0.63,.16,.16}
2011-06-26 09:29:50 +08:00
\definecolor{lstshade}{gray}{0.95}
\definecolor{lstframe}{gray}{0.80}
2010-08-10 09:25:24 +08:00
\definecolor{lstcomment}{gray}{0.5}
2011-06-26 00:46:20 +08:00
\definecolor{lstattrib}{rgb}{0,0.34,0}
2010-08-10 09:25:24 +08:00
% Listings settings
\lstset{
2011-06-26 00:46:20 +08:00
basicstyle = \small\ttfamily\raggedright,
2010-08-10 09:25:24 +08:00
mathescape = true,
2011-06-25 22:49:26 +08:00
frame = lrtb,
2010-08-10 09:25:24 +08:00
backgroundcolor = \color{lstshade},
rulecolor = \color{lstframe},
tabsize = 4,
columns = flexible,
keepspaces,
belowskip = \smallskipamount,
2011-06-25 22:49:26 +08:00
framerule = .7pt,
2010-08-12 02:00:16 +08:00
breaklines = true,
2011-06-25 22:49:26 +08:00
showstringspaces = false,
keywordstyle = \bfseries,
captionpos = b,
upquote = true
2010-08-10 09:25:24 +08:00
}
2011-06-25 22:49:26 +08:00
\lstdefinelanguage{xml} {
sensitive=true,
morecomment=[s][\color{lstcomment}\itshape]{<!--}{-->},
morecomment=[s][\color{lstcomment}]{<?}{?>},
string=[b]", stringstyle=\color{lstattrib},
keywords= [1] {
shape,bsdf,scene,texture,phase,integer,float,
string,transform,ref,rgb,srgb,spectrum,blackbody,
medium,camera,film,sampler,integrator,luminaire,
translate,rotate,scale,lookAt,point,vector,matrix,
include
2011-06-25 22:49:26 +08:00
},
}
% Set up textpos
\TPGrid{68}{108}
2011-06-25 22:49:26 +08:00
% Thick frames for images
\setlength\fboxsep{0pt}
\setlength\fboxrule{1.5pt}
2011-06-26 09:29:50 +08:00
% Less vertical spacing for \figure[h] floats
\setlength{\intextsep}{3pt}
\lstnewenvironment{shell}[1][]{\lstset{#1}}
{}
2011-06-25 22:49:26 +08:00
\lstnewenvironment{cpp}[1][]{\lstset{language=c++, #1}}
2010-08-10 09:25:24 +08:00
{}
2011-06-25 22:49:26 +08:00
\lstnewenvironment{xml}[1][]{\lstset{language=xml, #1}}
2010-08-10 09:25:24 +08:00
{}
2010-08-11 06:38:22 +08:00
\lstnewenvironment{console}[1][]{\lstset{basicstyle=\footnotesize\ttfamily, float, #1}}
{}
2010-08-10 09:25:24 +08:00
% ----- 8< ----- 8< ------
\title{
2011-06-25 22:49:26 +08:00
Mitsuba Documentation\\\vspace{3mm}
\large Version \MitsubaVersion
2010-08-10 09:25:24 +08:00
}
\author{Wenzel Jakob}
\date{\today}
\begin{document}
\maketitle
\clearpage
\ofoot[\pagemark]{\pagemark}
2010-08-11 06:38:22 +08:00
\tableofcontents
\include{introduction}
\include{compiling}
\include{basics}
\include{format}
\IfFileExists{plugins_generated.tex}{\include{plugins_generated}}{}
%\include{import}
%\include{development}
%\include{integrator}
%\include{parallelization}
\include{acknowledgements}
2010-08-10 09:25:24 +08:00
2011-07-01 07:48:33 +08:00
\bibliographystyle{acm}
\bibliography{main}
2010-08-10 09:25:24 +08:00
\end{document}