From ad15e98bc05de5e309f2b80929ced1b762948e51 Mon Sep 17 00:00:00 2001 From: Joseph Timothy Foley Date: Mon, 27 May 2024 09:45:34 +0000 Subject: [PATCH] whitespace and polyglossia testing --- custom.sty | 1 - test.tex | 66 +++++++++--------------------------------------------- 2 files changed, 10 insertions(+), 57 deletions(-) diff --git a/custom.sty b/custom.sty index dec7a94..acc63f6 100644 --- a/custom.sty +++ b/custom.sty @@ -30,7 +30,6 @@ \usepackage{siunitx} %% \SI{9.82}{\meter\per\second\square} - %% FIXME system for making notes to each other for what needs to %% be completed in a group document. \usepackage[layout=inline]{fixme} diff --git a/test.tex b/test.tex index 30655ee..0185e30 100644 --- a/test.tex +++ b/test.tex @@ -1,72 +1,25 @@ \documentclass{memoir} -\usepackage[online,IS]{ruthesis} -\usepackage[useregional]{datetime2} -\usepackage{xparse}%Latex3 argument parsing - +%\usepackage[useregional]{datetime2} +\usepackage{polyglossia} +\setdefaultlanguage{icelandic} +\usepackage{stix2} %\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{2020}{2}{2} +%\date{2020}{2}{2} %% TODO: use datetime2 to be smarter about dates -% \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. - % \icelandicmonthiiname to manually create names - \today -\end{abstract} - -\selectlanguage{english} -\begin{abstract} - This is a test abstract in English. - \today -\end{abstract} - -\newpage -\chapter{Test Chapter} -\newcommand{\varEN}{***English***} -\newcommand{\varIS}{***Icelandic***} -\NewDocumentCommand{\setVar}{O{#2} m} -% ARGS: [optional use #2], {mandatory} -{ - \renewcommand{\varIS}{#1} - \renewcommand{\varEN}{#2} -} -\setVar{Universal Title} - - \begin{itemize} - \item English: \varEN{} - \item Icelandic: \varIS{} - \end{itemize} - - 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{} +\begin{figure} + \centering + \caption{A caption} +\end{figure} \end{document} %%%%%%%%%%%%%%%%%%%% TeXStudio Magic Comments %%%%%%%%%%%%%%%%%%%%% @@ -84,4 +37,5 @@ blah blah blah %%% Local Variables: %%% mode: latex %%% TeX-master: t +%%% TeX-engine: luatex %%% End: