summaryrefslogtreecommitdiff
path: root/support
diff options
context:
space:
mode:
authorMatthias Zenger <mzenger@gmail.com>2003-08-21 10:55:12 +0000
committerMatthias Zenger <mzenger@gmail.com>2003-08-21 10:55:12 +0000
commit71cd6f04845b5d0d2fbbe2e4d687fd979e2ba1cc (patch)
tree994708afdee83ec638a345723ab49bfa4c307596 /support
parent14b1a37788f373c99524bcaddac125233c7ac7c6 (diff)
downloadscala-71cd6f04845b5d0d2fbbe2e4d687fd979e2ba1cc.tar.gz
scala-71cd6f04845b5d0d2fbbe2e4d687fd979e2ba1cc.tar.bz2
scala-71cd6f04845b5d0d2fbbe2e4d687fd979e2ba1cc.zip
Cleaned up code and fixed titlepage bug.
Diffstat (limited to 'support')
-rw-r--r--support/latex/scaladoc.sty12
1 files changed, 7 insertions, 5 deletions
diff --git a/support/latex/scaladoc.sty b/support/latex/scaladoc.sty
index 2227ad1270..61ea770cb1 100644
--- a/support/latex/scaladoc.sty
+++ b/support/latex/scaladoc.sty
@@ -51,11 +51,13 @@
{\thesection}
{1em}
{}
+\titlespacing{\section}{0pt}{*4}{*2}
\titleformat{name=\subsection}
{\sffamily\bfseries\normalsize}
{\thesubsection}
{0.666em}
{}
+\titlespacing{\subsection}{0pt}{*2}{*1}
\titleformat{name=\subsubsection}
{\sffamily\bfseries\normalsize}
{\thesubsubsection}
@@ -202,15 +204,15 @@
\begin{tabular}{p{0.6\textwidth}>{\columncolor[gray]{.82}[\tabcolsep]}p{0.327\textwidth}}%
\rowcolor[gray]{.82}\ & \ \\%
\ & \ \\[35mm]%
- \hspace*{4mm}{\sffamily\huge\bfseries\parbox{0.55\textwidth}{\doctitle}} & \ \\[42mm]%
- \ & {\sffamily\large \docsubtitle} \\[.5ex]%
- \ & {\sffamily\large \docdate} \\[16mm]%
- \ & {\sffamily\large\bfseries\parbox{0.31\textwidth}{\docauthor}} \\[55mm]%
+ \hspace*{4mm}{\sffamily\LARGE\bfseries\parbox{0.55\textwidth}{\doctitle}} & \ \\[42mm]%
+ \ & {\sffamily\normalsize \docsubtitle} \\[.5ex]%
+ \ & {\sffamily\normalsize \docdate} \\[16mm]%
+ \ & {\sffamily\normalsize\bfseries\parbox{0.31\textwidth}{\docauthor}} \\%
\rowcolor[gray]{.82} \ & \ \\%
\multicolumn{2}{>{\columncolor[gray]{.82}[\tabcolsep]}r}{%
\small\sc Programming Methods Laboratory}\\[-.2ex]%
\multicolumn{2}{>{\columncolor[gray]{.82}[\tabcolsep]}r}{%
- \small\sc Swiss Federal Institute of Technology, Lausanne}\\[-.2ex]%
+ \small\sc EPFL}\\[-.2ex]%
\multicolumn{2}{>{\columncolor[gray]{.82}[\tabcolsep]}r}{%
\small\sc Switzerland}\\[-.6ex]%
\rowcolor[gray]{.82} \ & \ %