summaryrefslogtreecommitdiff
path: root/resources
diff options
context:
space:
mode:
authorIain McGinniss <iainmcgin@gmail.com>2013-02-20 12:39:45 +0000
committerIain McGinniss <iainmcgin@gmail.com>2013-02-20 12:39:45 +0000
commit54273a3e97145841eb3f745888dbdc689bd59d1c (patch)
tree26079d41f82958bbd1877da4a400b0c08c2a904f /resources
parent1352994346ee78a0d4140c65e61822aca12229c2 (diff)
downloadscala-54273a3e97145841eb3f745888dbdc689bd59d1c.tar.gz
scala-54273a3e97145841eb3f745888dbdc689bd59d1c.tar.bz2
scala-54273a3e97145841eb3f745888dbdc689bd59d1c.zip
set Luxi Mono and Heuristica (Utopia) as the default fonts for
monospace and main text respectively for PDF output. Added notes on required packages to README
Diffstat (limited to 'resources')
-rw-r--r--resources/scala-ref-template.latex11
1 files changed, 3 insertions, 8 deletions
diff --git a/resources/scala-ref-template.latex b/resources/scala-ref-template.latex
index b5b1ad56a5..077a0dc2a0 100644
--- a/resources/scala-ref-template.latex
+++ b/resources/scala-ref-template.latex
@@ -1,6 +1,5 @@
\documentclass[$if(fontsize)$$fontsize$,$endif$$if(lang)$$lang$,$endif$$if(papersize)$$papersize$,$endif$]{$documentclass$}
-\usepackage[T1]{fontenc}
-\usepackage{lmodern}
+
\usepackage{mathrsfs}
\usepackage{amssymb,amsmath}
\usepackage{ifxetex,ifluatex}
@@ -21,15 +20,11 @@ $endif$
\fi
\defaultfontfeatures{Mapping=tex-text,Scale=MatchLowercase}
\newcommand{\euro}{€}
-$if(mainfont)$
- \setmainfont{$mainfont$}
-$endif$
+ \setmainfont{Heuristica Regular}
+ \setmonofont[Scale=0.8]{Luxi Mono}
$if(sansfont)$
\setsansfont{$sansfont$}
$endif$
-$if(monofont)$
- \setmonofont{$monofont$}
-$endif$
$if(mathfont)$
\setmathfont{$mathfont$}
$endif$