mitsuba/doc/main.tex

114 lines
2.2 KiB
TeX
Raw Normal View History

2010-08-10 09:25:24 +08:00
\documentclass[footexclude,12pt,DIV11]{scrartcl}
% Wenzel's standard prelude
% ----- 8< ----- 8< ------
\usepackage[english]{babel}
\usepackage[T1]{fontenc}
\usepackage{textcomp}
\usepackage{lmodern}
\usepackage{charter}
\usepackage{graphicx}
\usepackage{array}
\usepackage{booktabs}
\usepackage{color}
\usepackage{listings}
\usepackage{amsmath}
\usepackage{enumerate}
\usepackage[utf8]{inputenc}
\setcounter{tocdepth}{2}
\usepackage[
bookmarks
,bookmarksnumbered
,colorlinks
,linkcolor=myblue
,urlcolor=myblue
,citecolor=myblue
,pdfpagelabels
,pdftitle={Mitsuba documentation}
,pdfauthor={Wenzel Jakob}
,pdfstartview=FitH
]{hyperref}
\typearea[current]{last}
\raggedbottom
\usepackage[expansion=false]{microtype}
%\UseMicrotypeSet[protrusion]{basictext}
\renewcommand*\ttdefault{txtt}
\usepackage{scrpage2}
\ofoot[]{}
\cfoot[]{}
\ihead{\sc\leftmark}
\ohead{\sc\rightmark}
\chead{}
\setheadsepline{.2pt}
\automark[section]{chapter}
\setkomafont{pagenumber}{\normalfont}
\addtokomafont{sectioning}{\color{myblue}\rmfamily}
\addtokomafont{descriptionlabel}{\rmfamily}
\pagestyle{scrheadings}
\definecolor{myblue}{rgb}{0,.1,.6}
\definecolor{myred}{rgb}{0.63,.16,.16}
\definecolor{lstshade}{gray}{0.94}
\definecolor{lstframe}{gray}{0.75}
\definecolor{lstcomment}{gray}{0.5}
% Cite a figure/listing
2010-08-10 09:25:24 +08:00
\newcommand{\cfig}[1]{\mbox{Figure \ref{fig:#1}}}
\newcommand{\clst}[1]{\mbox{Listing \ref{lst:#1}}}
\newcommand{\code}[1]{\texttt{#1}}
% Listings settings
\lstset{
mathescape = true,
captionpos = b,
frame = single,
backgroundcolor = \color{lstshade},
rulecolor = \color{lstframe},
tabsize = 4,
columns = flexible,
keepspaces,
belowskip = \smallskipamount,
keywordstyle = \bfseries,
commentstyle=\color{lstcomment}\itshape,
basicstyle = \small\ttfamily,
breaklines = true
}
\lstnewenvironment{cpp}{\lstset{language=c++}}
{}
\lstnewenvironment{xml}{\lstset{language=xml}}
{}
\lstnewenvironment{shell}{\lstset{language=bash}}
{}
2010-08-10 09:25:24 +08:00
% ----- 8< ----- 8< ------
\title{
Mitsuba Documentation
}
\author{Wenzel Jakob}
\date{\today}
\begin{document}
\maketitle
\clearpage
\ofoot[\pagemark]{\pagemark}
\include{introduction}
\include{compiling}
\include{basics}
2010-08-10 09:25:24 +08:00
\include{integrator}
\include{parallelization}
\tableofcontents
\end{document}