Got rid of "by" on title page and resized. Switched to more Times-like font.
This commit is contained in:
@@ -16,7 +16,7 @@
|
|||||||
\SupervisorHeading{Thesis Committee}
|
\SupervisorHeading{Thesis Committee}
|
||||||
\Supervisors{
|
\Supervisors{
|
||||||
\personinfo{Superior A. Teacher}{Supervisor}{Professor}{Reykjavik University}{Iceland}
|
\personinfo{Superior A. Teacher}{Supervisor}{Professor}{Reykjavik University}{Iceland}
|
||||||
\personinfo{Helpful A. Teacher}{Co-advisor}{Assistant Professor}{LUniversity of Iceland}{Iceland}
|
\personinfo{Helpful A. Teacher}{Co-advisor}{Assistant Professor}{University of Iceland}{Iceland}
|
||||||
\personinfo{Tough E. Questions}{Examiner}{Associate Professor}{Massachusetts Institute of Technology}{USA}
|
\personinfo{Tough E. Questions}{Examiner}{Associate Professor}{Massachusetts Institute of Technology}{USA}
|
||||||
}
|
}
|
||||||
%\ExaminerHeading{Examiner}
|
%\ExaminerHeading{Examiner}
|
||||||
|
|||||||
@@ -29,17 +29,18 @@ RoboSub competition website (and documents) if working on the lighting system fo
|
|||||||
\end{figure}
|
\end{figure}
|
||||||
\begin{table}
|
\begin{table}
|
||||||
\centering
|
\centering
|
||||||
\begin{tabular}{ll}
|
\begin{tabular}{ll}\toprule
|
||||||
$x$& $x^{2}$\\
|
$x$& $x^{2}$\\\midrule
|
||||||
1 &1\\
|
1 &1\\
|
||||||
2 &4\\
|
2 &4\\
|
||||||
3 &9\\
|
3 &9\\\bottomrule
|
||||||
\end{tabular}
|
\end{tabular}
|
||||||
\caption{Table of squared numbers}\label{tab:numbers}
|
\caption{Table of squared numbers}\label{tab:numbers}
|
||||||
\end{table}
|
\end{table}
|
||||||
There is an RU logo in Figure~\ref{fig:ru-logo}.
|
There is an RU logo in Figure~\ref{fig:ru-logo}.
|
||||||
This logo will scale according to the width of the text on the page.
|
This logo will scale according to the width of the text on the page.
|
||||||
There is a helpful list of squared numbers in Table~\ref{tab:numbers}.
|
There is a helpful list of squared numbers in Table~\ref{tab:numbers}.
|
||||||
|
This table is formatted in the style of a book, which is very differerent than the style one is used to in Excel.
|
||||||
|
|
||||||
The test text ``Lorem Ipsum''\index{Lorem Ipsum} is from an ancient text from 45 B.C. \cite{cicero46deFinibus, lipsomwebsite}\\
|
The test text ``Lorem Ipsum''\index{Lorem Ipsum} is from an ancient text from 45 B.C. \cite{cicero46deFinibus, lipsomwebsite}\\
|
||||||
\lipsum[1-5]
|
\lipsum[1-5]
|
||||||
|
|||||||
38
rubook.sty
38
rubook.sty
@@ -85,8 +85,6 @@
|
|||||||
%% carefully before modifying any of the execution and previous section.
|
%% carefully before modifying any of the execution and previous section.
|
||||||
%% ---------------- Package Loading -----------------------------
|
%% ---------------- Package Loading -----------------------------
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
\ifbool{online}
|
\ifbool{online}
|
||||||
{\ExecuteOptions{openany}}%% Online format does not have right-vs-left
|
{\ExecuteOptions{openany}}%% Online format does not have right-vs-left
|
||||||
{\ExecuteOptions{openright}}%% All of our printed formats are going to be opening to the right
|
{\ExecuteOptions{openright}}%% All of our printed formats are going to be opening to the right
|
||||||
@@ -154,6 +152,14 @@
|
|||||||
%% Option: allowmove makes URLs not-fragile, so they can go in things that move
|
%% Option: allowmove makes URLs not-fragile, so they can go in things that move
|
||||||
%% WARNING: If this breaks you will get very very weird errors
|
%% WARNING: If this breaks you will get very very weird errors
|
||||||
|
|
||||||
|
%% ---------------- Miscellaneous Packages ----------------------
|
||||||
|
\RequirePackage{lipsum}
|
||||||
|
% generates some test text for seeing how pages lay out
|
||||||
|
%% usage: \lipsum[STARTNUM-ENDNUM]
|
||||||
|
|
||||||
|
\RequirePackage{booktabs}
|
||||||
|
%% Format tables properly as in a book
|
||||||
|
%% \toprule,\midrule,\bottomrule
|
||||||
|
|
||||||
%% ---------------- Fonts -----------------------------
|
%% ---------------- Fonts -----------------------------
|
||||||
%%% For help, read http://latex-project.org/guides/fntguide.pdf
|
%%% For help, read http://latex-project.org/guides/fntguide.pdf
|
||||||
@@ -162,9 +168,6 @@
|
|||||||
\newlength{\normaltextsize}
|
\newlength{\normaltextsize}
|
||||||
\setlength{\normaltextsize}{\f@size pt}
|
\setlength{\normaltextsize}{\f@size pt}
|
||||||
|
|
||||||
\RequirePackage{lipsum}% generates some test text
|
|
||||||
%% usage: \lipsum[STARTNUM-ENDNUM]
|
|
||||||
|
|
||||||
%% Font guide at
|
%% Font guide at
|
||||||
%% http://latex-project.org/guides/fntguide.pdf
|
%% http://latex-project.org/guides/fntguide.pdf
|
||||||
|
|
||||||
@@ -206,30 +209,12 @@
|
|||||||
% \def\myfont{\fontencoding{T1}\fontfamily{lm}\fontseries{m}\fontshape{n}\fontsize{14pt}{16pt}\selectfont}
|
% \def\myfont{\fontencoding{T1}\fontfamily{lm}\fontseries{m}\fontshape{n}\fontsize{14pt}{16pt}\selectfont}
|
||||||
% \fontsize{SIZE}{BASELINESKIP}
|
% \fontsize{SIZE}{BASELINESKIP}
|
||||||
|
|
||||||
\def\frontcovertitlefont{\fontfamily{phv}\fontseries{b}\fontshape{n}\fontsize{20.74}{24}\selectfont}
|
|
||||||
\def\frontcovertitletext{\fontfamily{phv}\fontseries{m}\fontshape{n}\fontsize{14.4}{16}\selectfont}
|
|
||||||
\def\titletitlefont{\fontseries{b}\fontsize{17pt}{20pt}\selectfont}
|
\def\titletitlefont{\fontseries{b}\fontsize{17pt}{20pt}\selectfont}
|
||||||
\def\titletextfont{\fontsize{14pt}{16pt}\selectfont}
|
\def\titletextfont{\fontsize{14pt}{16pt}\selectfont}
|
||||||
\def\titleinfofont{\fontsize{12}{14}\selectfont}
|
\def\titleinfofont{\fontsize{12}{14}\selectfont}
|
||||||
\def\sigtextfont{\fontsize{12pt}{14pt}\selectfont}
|
\def\sigtextfont{\fontsize{12pt}{14pt}\selectfont}
|
||||||
\def\warningfont{\fontseries{b}\fontsize{24pt}{28pt}\selectfont}
|
\def\warningfont{\fontseries{b}\fontsize{24pt}{28pt}\selectfont}
|
||||||
|
|
||||||
%%%%%%%%%%%%%%%%%% TextPos Settings %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
||||||
%% These macros allow you to arbitrarily position things on the page
|
|
||||||
%% This is needed for any cover pages/graphics
|
|
||||||
|
|
||||||
%\RequirePackage{printlen}% display lengths in arbitrary units
|
|
||||||
%\ifbool{debug}{\PassOptionsToPackage{showboxes}{textpos}}
|
|
||||||
%\RequirePackage[absolute, verbose]{textpos}%
|
|
||||||
|
|
||||||
%% These commands set the units in \begin{textblock} when not
|
|
||||||
%% directly specified
|
|
||||||
%% We set them to the page sizes so we can align from them
|
|
||||||
%\setlength{\TPHorizModule}{\paperwidth}
|
|
||||||
%\setlength{\TPVertModule}{\paperheight}
|
|
||||||
%%\setlength{\TPMargin}{2mm} %% margins inside the textblock*
|
|
||||||
%\textblockorigin{0mm}{0mm} % start everything near the top-left corner
|
|
||||||
|
|
||||||
%%%%%%%%%%%%%%%%% Colors %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%5
|
%%%%%%%%%%%%%%%%% Colors %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%5
|
||||||
%% Setting colors in text
|
%% Setting colors in text
|
||||||
%% Usage:
|
%% Usage:
|
||||||
@@ -271,10 +256,13 @@
|
|||||||
\newcommand{\frontlogo@rubook}{ru-logo}
|
\newcommand{\frontlogo@rubook}{ru-logo}
|
||||||
\newcommand{\frontlogo}[1]{\renewcommand{\frontlogo@rubook}{#1}}
|
\newcommand{\frontlogo}[1]{\renewcommand{\frontlogo@rubook}{#1}}
|
||||||
|
|
||||||
\renewcommand{\maketitlehooka}{\begin{centering}\includegraphics[width=4cm]{\frontlogo@rubook}\par\end{centering}}%
|
\renewcommand{\maketitlehooka}{\begin{centering}\includegraphics[width=4cm]{\frontlogo@rubook}\par\end{centering}\vspace{2mm}}%
|
||||||
\renewcommand{\pretitle}{\begin{center}\titletitlefont}%
|
\renewcommand{\pretitle}{\begin{center}\titletitlefont}%
|
||||||
\renewcommand{\posttitle}{\par\end{center}}
|
\renewcommand{\posttitle}{\par\end{center}}
|
||||||
\renewcommand{\maketitlehookb}{\begin{center}\titletextfont{}by\par\end{center}}
|
|
||||||
|
% \renewcommand{\maketitlehookb}{\begin{center}\titletextfont{}by\end{center}\vspace{1mm}}
|
||||||
|
% 1mm adjustment to center the "by". I've disabled it because I think the "by" looks unprofessional.
|
||||||
|
|
||||||
\renewcommand{\preauthor}{\titletextfont\begin{center}\large\par}
|
\renewcommand{\preauthor}{\titletextfont\begin{center}\large\par}
|
||||||
\renewcommand{\postauthor}{\par\end{center}}
|
\renewcommand{\postauthor}{\par\end{center}}
|
||||||
\newcommand{\titledetails}[1]{\renewcommand{\maketitlehookc}{#1}}
|
\newcommand{\titledetails}[1]{\renewcommand{\maketitlehookc}{#1}}
|
||||||
|
|||||||
36
ruthesis.sty
36
ruthesis.sty
@@ -16,21 +16,47 @@
|
|||||||
\newcommand{\fileauthor@ruthesis}{Joseph Timothy Foley, foley at RU.IS}
|
\newcommand{\fileauthor@ruthesis}{Joseph Timothy Foley, foley at RU.IS}
|
||||||
\ProvidesPackage{ruthesis}[\filedate@ruthesis by \fileauthor@ruthesis]
|
\ProvidesPackage{ruthesis}[\filedate@ruthesis by \fileauthor@ruthesis]
|
||||||
\NeedsTeXFormat{LaTeX2e}
|
\NeedsTeXFormat{LaTeX2e}
|
||||||
\typeout{Thesis Class (English) for Reykjavik University \fileversion@ruthesis <\filedate@ruthesis>, by \fileauthor@ruthesis}
|
\typeout{Thesis Class for Reykjavik University \fileversion@ruthesis <\filedate@ruthesis>, by \fileauthor@ruthesis}
|
||||||
|
|
||||||
%% ---------------- Execution of Options -----------------------------
|
%% ---------------- Execution of Options -----------------------------
|
||||||
%\ProcessOptions\relax% this stops searching for a * in \ProcessOtions*
|
%\ProcessOptions\relax% this stops searching for a * in \ProcessOtions*
|
||||||
%\LoadClassWithOptions{rubook}% our parent class.
|
%\LoadClassWithOptions{rubook}% our parent class.
|
||||||
\RequirePackage{rubook}%
|
\RequirePackage{rubook}%
|
||||||
|
|
||||||
|
%%%%%%%%%%%%%%%%%%%% Packages %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
|
%%%%%%%%%%%%%%%%%% TextPos %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
%% These macros allow you to arbitrarily position things on the page
|
||||||
|
%% This is needed for any cover pages/graphics
|
||||||
|
|
||||||
|
%\RequirePackage{printlen}% display lengths in arbitrary units
|
||||||
|
%\ifbool{debug}{\PassOptionsToPackage{showboxes}{textpos}}
|
||||||
|
%\RequirePackage[absolute, verbose]{textpos}%
|
||||||
|
|
||||||
|
%% These commands set the units in \begin{textblock} when not
|
||||||
|
%% directly specified
|
||||||
|
%% We set them to the page sizes so we can align from them
|
||||||
|
%\setlength{\TPHorizModule}{\paperwidth}
|
||||||
|
%\setlength{\TPVertModule}{\paperheight}
|
||||||
|
%%\setlength{\TPMargin}{2mm} %% margins inside the textblock*
|
||||||
|
%\textblockorigin{0mm}{0mm} % start everything near the top-left corner
|
||||||
|
|
||||||
|
|
||||||
%%%%%%%%%%%%%%%%%%%% Addional Font Adjustments%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%% Addional Font Adjustments%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
%% rubook sets up some reasonable fonts, but we may need further adjustments
|
%% rubook sets up some reasonable fonts, but we may need further adjustments
|
||||||
%% Note that you can leave off elements and it will use the last value set (or default??)
|
%% Note that you can leave off elements and it will use the last value set (or default??)
|
||||||
% \def\myfont{\fontencoding{T1}\fontfamily{lm}\fontseries{m}\fontshape{n}\fontsize{14pt}{16pt}\selectfont}
|
% \def\myfont{\fontencoding{T1}\fontfamily{lm}\fontseries{m}\fontshape{n}\fontsize{14pt}{16pt}\selectfont}
|
||||||
% \fontsize{SIZE}{BASELINESKIP}
|
% \fontsize{SIZE}{BASELINESKIP}
|
||||||
|
|
||||||
|
%% Default font is halfway between Times and Latin Modern
|
||||||
|
\RequirePackage{newtxtext}
|
||||||
|
\RequirePackage{newtxmath}
|
||||||
|
|
||||||
%% We need the paralist and dashrule package in order to format the BSc cover
|
%% This is the special font used on the PhD cover
|
||||||
|
\def\phdcovertitlefont{\fontfamily{phv}\fontseries{b}\fontshape{n}\fontsize{20.74}{24}\selectfont}
|
||||||
|
\def\phdcovertitletext{\fontfamily{phv}\fontseries{m}\fontshape{n}\fontsize{14.4}{16}\selectfont}
|
||||||
|
|
||||||
|
%% We need the paralist and dashrule package in order to format the signature pages
|
||||||
\RequirePackage{paralist}
|
\RequirePackage{paralist}
|
||||||
\RequirePackage{dashrule}
|
\RequirePackage{dashrule}
|
||||||
|
|
||||||
@@ -185,7 +211,7 @@
|
|||||||
\renewcommand{\maketitlehookc}{\begin{center}\DegreeAbbrv@ruthesis{} \DocumentType@ruthesis{} %
|
\renewcommand{\maketitlehookc}{\begin{center}\DegreeAbbrv@ruthesis{} \DocumentType@ruthesis{} %
|
||||||
\ifdef\ects@ruthesis{of \ects@ruthesis{} ECTS credits}%
|
\ifdef\ects@ruthesis{of \ects@ruthesis{} ECTS credits}%
|
||||||
submitted to the \School@ruthesis\ \\%
|
submitted to the \School@ruthesis\ \\%
|
||||||
at \theInstitution in partial fulfillment\\%
|
at \theInstitution{} in partial fulfillment\\%
|
||||||
of the requirements for the degree of \\%
|
of the requirements for the degree of \\%
|
||||||
\textbf{\DegreeLong@ruthesis}\par\end{center}}
|
\textbf{\DegreeLong@ruthesis}\par\end{center}}
|
||||||
|
|
||||||
@@ -199,7 +225,7 @@
|
|||||||
\setlength{\plparsep}{0.5\baselineskip} % space between entries
|
\setlength{\plparsep}{0.5\baselineskip} % space between entries
|
||||||
\setlength{\plitemsep}{0.5\baselineskip} % space between lines
|
\setlength{\plitemsep}{0.5\baselineskip} % space between lines
|
||||||
\begin{rolelist}
|
\begin{rolelist}
|
||||||
\item \supervisorheading@ruthesis{}
|
\item \supervisorheading@ruthesis{}:
|
||||||
\begin{peoplelist}
|
\begin{peoplelist}
|
||||||
\supervisors@ruthesis{}
|
\supervisors@ruthesis{}
|
||||||
% \end{peoplelist}
|
% \end{peoplelist}
|
||||||
|
|||||||
Reference in New Issue
Block a user