nicer typesetting

metadata
Wenzel Jakob 2011-06-25 18:46:20 +02:00
parent 7571fda521
commit 83ebeb7edf
2 changed files with 12 additions and 11 deletions

View File

@ -5,9 +5,7 @@
\usepackage[english]{babel} \usepackage[english]{babel}
\usepackage[T1]{fontenc} \usepackage[T1]{fontenc}
\usepackage{textcomp} \usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{charter}
\usepackage{graphicx} \usepackage{graphicx}
\usepackage{array} \usepackage{array}
\usepackage{booktabs} \usepackage{booktabs}
@ -15,8 +13,14 @@
\usepackage{listings} \usepackage{listings}
\usepackage{amsmath} \usepackage{amsmath}
\usepackage{enumerate} \usepackage{enumerate}
\usepackage{calc}
\usepackage[utf8]{inputenc} % 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.}}
\setcounter{secnumdepth}{3} \setcounter{secnumdepth}{3}
\setcounter{tocdepth}{3} \setcounter{tocdepth}{3}
@ -38,9 +42,7 @@
\typearea[current]{last} \typearea[current]{last}
\raggedbottom \raggedbottom
\usepackage[expansion=false, babel=true]{microtype}
\usepackage[expansion=false]{microtype}
\UseMicrotypeSet[protrusion]{basictext}
\renewcommand*\ttdefault{txtt} \renewcommand*\ttdefault{txtt}
\usepackage{scrpage2} \usepackage{scrpage2}
@ -61,7 +63,7 @@
\definecolor{lstshade}{gray}{0.94} \definecolor{lstshade}{gray}{0.94}
\definecolor{lstframe}{gray}{0.75} \definecolor{lstframe}{gray}{0.75}
\definecolor{lstcomment}{gray}{0.5} \definecolor{lstcomment}{gray}{0.5}
\definecolor{lstattrib}{rgb}{0,0.25,0} \definecolor{lstattrib}{rgb}{0,0.34,0}
% Cite a figure/listing % Cite a figure/listing
\renewcommand{\lstlistingname}{Listing} \renewcommand{\lstlistingname}{Listing}
@ -76,6 +78,7 @@
% Listings settings % Listings settings
\lstset{ \lstset{
basicstyle = \small\ttfamily\raggedright,
mathescape = true, mathescape = true,
frame = lrtb, frame = lrtb,
backgroundcolor = \color{lstshade}, backgroundcolor = \color{lstshade},
@ -85,7 +88,6 @@
keepspaces, keepspaces,
belowskip = \smallskipamount, belowskip = \smallskipamount,
framerule = .7pt, framerule = .7pt,
basicstyle = \small\ttfamily\raggedright,
breaklines = true, breaklines = true,
showstringspaces = false, showstringspaces = false,
keywordstyle = \bfseries, keywordstyle = \bfseries,

View File

@ -11,7 +11,6 @@ the word \emph{BSDF} is used synonymously with the term ``surface
scattering model''. This is an abbreviation for scattering model''. This is an abbreviation for
\emph{Bidirectional Scattering Distribution Function}, a more \emph{Bidirectional Scattering Distribution Function}, a more
precise technical description of the model's properties. precise technical description of the model's properties.
In Mitsuba, BSDFs are assigned to \emph{shapes}, which In Mitsuba, BSDFs are assigned to \emph{shapes}, which
describe the visible surfaces in the scene. In the scene describe the visible surfaces in the scene. In the scene
description language, this assignment must description language, this assignment must