Got rid of "by" on title page and resized. Switched to more Times-like font.

This commit is contained in:
2020-02-07 11:46:35 +00:00
parent 3e9a703f0d
commit ffc971cd7e
4 changed files with 49 additions and 34 deletions

View File

@@ -16,7 +16,7 @@
\SupervisorHeading{Thesis Committee}
\Supervisors{
\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}
}
%\ExaminerHeading{Examiner}

View File

@@ -29,17 +29,18 @@ RoboSub competition website (and documents) if working on the lighting system fo
\end{figure}
\begin{table}
\centering
\begin{tabular}{ll}
$x$& $x^{2}$\\
\begin{tabular}{ll}\toprule
$x$& $x^{2}$\\\midrule
1 &1\\
2 &4\\
3 &9\\
3 &9\\\bottomrule
\end{tabular}
\caption{Table of squared numbers}\label{tab:numbers}
\end{table}
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.
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}\\
\lipsum[1-5]

View File

@@ -85,8 +85,6 @@
%% carefully before modifying any of the execution and previous section.
%% ---------------- Package Loading -----------------------------
\ifbool{online}
{\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
@@ -154,6 +152,14 @@
%% 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
%% ---------------- 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 -----------------------------
%%% For help, read http://latex-project.org/guides/fntguide.pdf
@@ -162,9 +168,6 @@
\newlength{\normaltextsize}
\setlength{\normaltextsize}{\f@size pt}
\RequirePackage{lipsum}% generates some test text
%% usage: \lipsum[STARTNUM-ENDNUM]
%% Font guide at
%% 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}
% \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\titletextfont{\fontsize{14pt}{16pt}\selectfont}
\def\titleinfofont{\fontsize{12}{14}\selectfont}
\def\sigtextfont{\fontsize{12pt}{14pt}\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
%% Setting colors in text
%% Usage:
@@ -271,10 +256,13 @@
\newcommand{\frontlogo@rubook}{ru-logo}
\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{\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{\postauthor}{\par\end{center}}
\newcommand{\titledetails}[1]{\renewcommand{\maketitlehookc}{#1}}

View File

@@ -16,21 +16,47 @@
\newcommand{\fileauthor@ruthesis}{Joseph Timothy Foley, foley at RU.IS}
\ProvidesPackage{ruthesis}[\filedate@ruthesis by \fileauthor@ruthesis]
\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 -----------------------------
%\ProcessOptions\relax% this stops searching for a * in \ProcessOtions*
%\LoadClassWithOptions{rubook}% our parent class.
\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%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% 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??)
% \def\myfont{\fontencoding{T1}\fontfamily{lm}\fontseries{m}\fontshape{n}\fontsize{14pt}{16pt}\selectfont}
% \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{dashrule}
@@ -185,7 +211,7 @@
\renewcommand{\maketitlehookc}{\begin{center}\DegreeAbbrv@ruthesis{} \DocumentType@ruthesis{} %
\ifdef\ects@ruthesis{of \ects@ruthesis{} ECTS credits}%
submitted to the \School@ruthesis\ \\%
at \theInstitution in partial fulfillment\\%
at \theInstitution{} in partial fulfillment\\%
of the requirements for the degree of \\%
\textbf{\DegreeLong@ruthesis}\par\end{center}}
@@ -199,7 +225,7 @@
\setlength{\plparsep}{0.5\baselineskip} % space between entries
\setlength{\plitemsep}{0.5\baselineskip} % space between lines
\begin{rolelist}
\item \supervisorheading@ruthesis{}
\item \supervisorheading@ruthesis{}:
\begin{peoplelist}
\supervisors@ruthesis{}
% \end{peoplelist}