make the title page look nicer in HTML
authorSimon Marlow <marlowsd@gmail.com>
Tue, 6 Jul 2010 10:26:05 +0000 (10:26 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Tue, 6 Jul 2010 10:26:05 +0000 (10:26 +0000)
report/haskell.verb

index 88055d8..0040274 100644 (file)
 
 \setcounter{page}{0}
 
+% tex4ht wants to use display:table with fbox, which seems to interact
+% badly with centering.  Hence dropping the box around the title in HTML:
+\ifhtml{%
+\begin{center}
+{\LARGE\bf Haskell 2010} \\[.1in]
+{\LARGE\bf Language Report} \\[.3in]
+\end{center}
+}{%
 \outline{
 \vspace{.3in}
 \begin{center}
 \end{center}
 \vspace{.3in}
 }
+}
+
 \vspace{.15in}
 \begin{center} \large
 Simon Marlow\\