\documentclass{memoir} %\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} %% TODO: use datetime2 to be smarter about dates \begin{document} %% Titlepage the Memoir way \maketitle blah blah blah \begin{figure} \centering \caption{A caption} \end{figure} \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 %%% TeX-engine: luatex %%% End: