Created an IS option to do the right thing with languages and babel

This commit is contained in:
2020-02-07 22:12:22 +00:00
parent d0012827cf
commit 49e6a5bbc3
5 changed files with 440 additions and 37 deletions

61
test.tex Normal file
View File

@@ -0,0 +1,61 @@
%\documentclass{memoir}
\documentclass{article}
\usepackage[online,IS]{ruthesis}
%\usepackage{graphicx}
\title{Minimal Document for Testing}
\author{Joseph T. Foley \and Someone Else}
% \author: Use \and as a separator and \thanks{details} for additional info
\date{\today}
% \usepackage[icelandic,english]{babel}
% \usepackage[english,icelandic]{babel}
%\usepackage[icelandic]{babel}
\begin{document}
% \frontrequiredpages{}
%\ects{30}
%% Titlepage the Memoir way
\maketitle
% \babelensure{icelandic}
\selectlanguage{icelandic}
\begin{abstract}
This is a test abstract in Icelandic.
\end{abstract}
\selectlanguage{english}
\begin{abstract}
This is a test abstract in English.
\end{abstract}
\newpage
\chapter{Test Chapter}
blah blah blah
%\copyrightpage{}%%RUM: Not mentioned
%\signaturepage{}%%RUM: "Signature page (standard format)
%\archivesigpage{}%%RUM: Not mentioned, optional, but should be required
%\abstractpage{}%%RUM: "Abstract (in English and Icelandic)
%\mainmatter{}%%Front matter done, get down to business
%\pagestyle{headings}%default
%Test
%\backcover{}
\end{document}
%%%%%%%%%%%%%%%%%%%% TeXStudio Magic Comments %%%%%%%%%%%%%%%%%%%%%
%% These comments that start with "!TeX" modify the way TeXStudio works
%% For details see http://texstudio.sourceforge.neit/manual/current/usermanual_en.html Section 4.10
%%
%% What encoding is the file in?
% !TeX encoding = UTF-8
%% What language should it be spellchecked?
% !TeX spellcheck = en_US
%% What program should I compile this document with?
% !TeX program = pflatex
%%%%%%%%%%%%%%%%%%% Emacs Variables %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% Local Variables:
%%% mode: latex
%%% TeX-master: t
%%% End: