Layout headache
This commit is contained in:
parent
ac6e838e48
commit
3d618c001b
|
@ -40,7 +40,7 @@
|
||||||
\newcommand*{\subtitle}[1]{\gdef\@subtitle{#1}}
|
\newcommand*{\subtitle}[1]{\gdef\@subtitle{#1}}
|
||||||
%% FRONTMATTER
|
%% FRONTMATTER
|
||||||
\newcommand*{\myfrontmatter}{%
|
\newcommand*{\myfrontmatter}{%
|
||||||
\newgeometry{top=3cm, bottom=3cm,left=2.25 cm, right=2.25cm}
|
%% \newgeometry{top=3cm, bottom=3cm,left=2.25 cm, right=2.25cm}
|
||||||
\begingroup
|
\begingroup
|
||||||
\thispagestyle{empty}
|
\thispagestyle{empty}
|
||||||
{\Huge\@title}\\[.5cm]
|
{\Huge\@title}\\[.5cm]
|
||||||
|
@ -66,7 +66,7 @@ Master's thesis in Computer Science
|
||||||
}
|
}
|
||||||
|
|
||||||
\renewcommand*{\maketitle}{%
|
\renewcommand*{\maketitle}{%
|
||||||
\begin{titlepage}
|
%% \begin{titlepage}
|
||||||
|
|
||||||
% TITLE PAGE
|
% TITLE PAGE
|
||||||
\newpage
|
\newpage
|
||||||
|
@ -131,5 +131,6 @@ Telephone +46 31 772 1000 \setlength{\parskip}{0.5cm}\\
|
||||||
%Printed by [Name of printing company]\\
|
%Printed by [Name of printing company]\\
|
||||||
Gothenburg, Sweden \the\year
|
Gothenburg, Sweden \the\year
|
||||||
|
|
||||||
\restoregeometry
|
%% \restoregeometry
|
||||||
\end{titlepage}}
|
%% \end{titlepage}
|
||||||
|
}
|
||||||
|
|
11
doc/main.tex
11
doc/main.tex
|
@ -43,19 +43,14 @@
|
||||||
\department{Department of Computer Science and Engineering}
|
\department{Department of Computer Science and Engineering}
|
||||||
\researchgroup{Programming Logic Group}
|
\researchgroup{Programming Logic Group}
|
||||||
|
|
||||||
%% \newtheorem{prop}{Proposition}
|
|
||||||
\makeatletter
|
|
||||||
\newcommand*{\rom}[1]{\expandafter\@slowroman\romannumeral #1@}
|
|
||||||
\makeatother
|
|
||||||
|
|
||||||
\begin{document}
|
\begin{document}
|
||||||
|
|
||||||
|
\frontmatter
|
||||||
\myfrontmatter
|
\myfrontmatter
|
||||||
\pagenumbering{roman}
|
|
||||||
\maketitle
|
\maketitle
|
||||||
\addtocontents{toc}{\protect\thispagestyle{empty}}
|
\addtocontents{toc}{\protect\thispagestyle{empty}}
|
||||||
\tableofcontents
|
\tableofcontents
|
||||||
\pagenumbering{arabic}
|
\mainmatter
|
||||||
%
|
%
|
||||||
\input{introduction.tex}
|
\input{introduction.tex}
|
||||||
\input{cubical.tex}
|
\input{cubical.tex}
|
||||||
|
@ -67,7 +62,6 @@
|
||||||
\nocite{coquand-2013}
|
\nocite{coquand-2013}
|
||||||
|
|
||||||
\bibliography{refs}
|
\bibliography{refs}
|
||||||
%% \printindex
|
|
||||||
\begin{appendices}
|
\begin{appendices}
|
||||||
\setcounter{page}{1}
|
\setcounter{page}{1}
|
||||||
\pagenumbering{roman}
|
\pagenumbering{roman}
|
||||||
|
@ -75,4 +69,5 @@
|
||||||
%% \input{planning.tex}
|
%% \input{planning.tex}
|
||||||
%% \input{halftime.tex}
|
%% \input{halftime.tex}
|
||||||
\end{appendices}
|
\end{appendices}
|
||||||
|
\printindex
|
||||||
\end{document}
|
\end{document}
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
\usepackage{amssymb,amsmath,amsthm,stmaryrd,mathrsfs,wasysym}
|
\usepackage{amssymb,amsmath,amsthm,stmaryrd,mathrsfs,wasysym}
|
||||||
\usepackage[toc,page]{appendix}
|
\usepackage[toc,page]{appendix}
|
||||||
\usepackage{xspace}
|
\usepackage{xspace}
|
||||||
\usepackage[a4paper]{geometry}
|
\usepackage[a4paper,top=3cm,bottom=3cm]{geometry}
|
||||||
\usepackage{makeidx}
|
\usepackage{makeidx}
|
||||||
\makeindex
|
\makeindex
|
||||||
% \setlength{\parskip}{10pt}
|
% \setlength{\parskip}{10pt}
|
||||||
|
@ -88,3 +88,28 @@
|
||||||
\newunicodechar{𝒜}{\textfallback{?}}
|
\newunicodechar{𝒜}{\textfallback{?}}
|
||||||
\newunicodechar{ℬ}{\textfallback{?}}
|
\newunicodechar{ℬ}{\textfallback{?}}
|
||||||
%% \newunicodechar{≊}{\textfallback{≊}}
|
%% \newunicodechar{≊}{\textfallback{≊}}
|
||||||
|
\makeatletter
|
||||||
|
\newcommand*{\rom}[1]{\expandafter\@slowroman\romannumeral #1@}
|
||||||
|
\makeatother
|
||||||
|
\makeatletter
|
||||||
|
|
||||||
|
\newcommand\frontmatter{%
|
||||||
|
\cleardoublepage
|
||||||
|
%\@mainmatterfalse
|
||||||
|
\pagenumbering{roman}}
|
||||||
|
|
||||||
|
\newcommand\mainmatter{%
|
||||||
|
\cleardoublepage
|
||||||
|
% \@mainmattertrue
|
||||||
|
\pagenumbering{arabic}}
|
||||||
|
|
||||||
|
\newcommand\backmatter{%
|
||||||
|
\if@openright
|
||||||
|
\cleardoublepage
|
||||||
|
\else
|
||||||
|
\clearpage
|
||||||
|
\fi
|
||||||
|
% \@mainmatterfalse
|
||||||
|
}
|
||||||
|
|
||||||
|
\makeatother
|
||||||
|
|
Loading…
Reference in a new issue