summaryrefslogtreecommitdiff
path: root/doc/introduction/ScalaIntro.tex
blob: 36bac7b8098429d0bbcdc312ff0287d8dc71d5ac (plain) (blame)
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
% $Id$

\documentclass[a4paper,12pt,twoside,titlepage]{book}

\usepackage{alltt}% Verbatim extended with the ability to use normal commands
\usepackage{color}
\usepackage{scaladoc}
\usepackage{url}

\newcommand{\docversion}{1.1}
\renewcommand{\doctitle}{An Introduction \\ to Scala}
\renewcommand{\docsubtitle}{Version \docversion}
\renewcommand{\docauthor}{Martin Odersky \\
Philippe Altherr \\
Vincent Cremet \\
Burak Emir \\ 
St\'ephane Micheloud \\
Nikolay Mihaylov \\
Michel Schinz \\
Erik Stenman \\
Matthias Zenger \\[25mm]\ }

\newcommand{\langname}[1]{#1{}}
\newcommand{\CSharp}{\langname{C\#}}
\newcommand{\DotNet}{\langname{.NET}}
\newcommand{\Scala}{\langname{Scala}}

\renewcommand{\sectionmark}[1]{%
  \markright{#1}}
\fancyhead[RE]{An Introduction to \Scala}  % Chapter in the right on even pages

\definecolor{darkgreen}{rgb}{0,0.5,0.3} 

\begin{document}
\frontmatter
\makedoctitle
\clearemptydoublepage
\tableofcontents
\mainmatter

%\begin{center}
%\LARGE\textbf{\\ An Introduction to \Scala}
%\end{center}

% disables chapter, section and subsection numbering
\setcounter{secnumdepth}{-1}

\section{The \Scala Programming Language}

\input{MainPart}

\end{document}