Removing the online option and unnecessary Icelandic switches. (compiles)
This commit is contained in:
6
main.tex
6
main.tex
@@ -1,10 +1,8 @@
|
||||
%%%% This is the general thesis/project report template for most users
|
||||
\documentclass[12pt,a4paper]{memoir}
|
||||
\usepackage[online]{ruthesis}
|
||||
\usepackage[]{ruthesis}
|
||||
%% Options for ruthesis in []:
|
||||
%% online : for electronic submission rather than printing on paper (less blank pages)
|
||||
%% IS Icelandic is main language
|
||||
%%
|
||||
%% IS Icelandic is main language
|
||||
|
||||
%%%%%% Packages and Macros %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
\usepackage{custom}
|
||||
|
||||
38
ruthesis.sty
38
ruthesis.sty
@@ -273,7 +273,7 @@
|
||||
\begin{vplace}[1.0] % ratio of space above and below
|
||||
\centering
|
||||
\OnehalfSpacing%
|
||||
\iflanguage{icelandic}{Höfundarréttur}{Copyright}\\
|
||||
\iflanguage{icelandic}{Höfundarréttur}{Copyright}\\%may need to put other \iflanguage eventually
|
||||
\theauthor\\
|
||||
\thedate\\
|
||||
\end{vplace}
|
||||
@@ -459,24 +459,6 @@
|
||||
{\begin{compactitem}[\hspace{10mm}]}
|
||||
{\end{compactitem}}
|
||||
|
||||
%% Setup Bilingual titles
|
||||
%\newcommand{\thetitle}{**Title in English**}
|
||||
\newcommand{\thetitleIS}{**Title in Icelandic**}
|
||||
%\renewcommand{\title}[2]{\renewcommand{\thetitle}{#1}\renewcommand{\thetitleIS}{#2}}
|
||||
\newcommand{\titleIS}[1]{\renewcommand{\thetitleIS}{#1}}
|
||||
|
||||
%% LaTeX3 attempt at smarter titles
|
||||
%% Still a work in progress --foley 2022-2-3
|
||||
%\% NewDocumentCommand\thesistitle{O{#2} m}
|
||||
% % ARGS: [optional use #2], {mandatory}
|
||||
% {
|
||||
% \NewDocumentCommand\theenglishtitle{}{#2}%babel naming convetion?
|
||||
% \NewDocumentCommand\theicelandictitle{}{#1}
|
||||
% \iflanguage{icelandic}
|
||||
% {\title{\theicelandictitle}}
|
||||
% {\title{\theenglishtitle}}
|
||||
% }
|
||||
|
||||
|
||||
%% Clean up some formatting for the text
|
||||
\renewcommand{\thepage}{\roman{page}}
|
||||
@@ -666,7 +648,7 @@
|
||||
|
||||
|
||||
\renewenvironment{abstract}
|
||||
{\begin{otherlanguage}{english}\begin{coverleft}{\centering%
|
||||
{\begin{coverleft}{\centering%
|
||||
{\titletitlefont\thetitle\\}%%
|
||||
\vspace{\baselineskip}
|
||||
\theauthor\\%
|
||||
@@ -676,21 +658,7 @@
|
||||
\setlength{\parskip}{\baselineskip}%
|
||||
\par\vspace*{2\baselineskip}%
|
||||
\textbf{Abstract}\par\vspace{1ex}}
|
||||
{\par\end{coverleft}\end{otherlanguage}\newpage}
|
||||
|
||||
\newenvironment{abstractIS}
|
||||
{\begin{otherlanguage}{icelandic}\begin{coverleft}{\centering%
|
||||
{\titletitlefont\thetitleIS\\}%%
|
||||
\vspace{\baselineskip}
|
||||
\theauthor\\%
|
||||
\vspace{\baselineskip}
|
||||
\thedate\\%
|
||||
}%
|
||||
\setlength{\parskip}{\baselineskip}%
|
||||
\par\vspace*{2\baselineskip}%
|
||||
\textbf{Útdráttur}\par\vspace{1ex}}
|
||||
{\par\end{coverleft}\end{otherlanguage}\newpage}
|
||||
|
||||
{\par\end{coverleft}\newpage}
|
||||
|
||||
%% ----- END OF FRONT MATERIALS ---------------------------------------------------------------
|
||||
%\RequirePackage{stackengine}%% not sure why this is here
|
||||
|
||||
Reference in New Issue
Block a user