transfer from old repo

This commit is contained in:
Andreas Gammelgaard Damsbo 2026-08-19 09:27:27 +02:00
commit 277e2b8cf3
No known key found for this signature in database
1111 changed files with 83736 additions and 0 deletions

View file

@ -0,0 +1,52 @@
% ---------------
% TITLE SECTION
% ---------------
$if(published)$
$if(code-repo)$
\published{\textbf{$date$} \qquad $published$ \\ {\scriptsize $code-repo$}}
$else$
\published{\textbf{$date$} \qquad {\scriptsize $published$}}
$endif$
$else$
$if(code-repo)$
\published{\textbf{$date$} \\ {\scriptsize $code-repo$}}
$else$
\published{\textbf{$date$}}
$endif$
$endif$
$if(title)$
\maketitle
$endif$
$if(abstract)$
\begin{abstract}
$abstract$
\end{abstract}
\vskip 3em
$endif$
$if(keywords)$
\begin{keywords}
\def\sep{;\ }
$for(keywords/allbutlast)$$keywords$\sep $endfor$
$for(keywords/last)$$keywords$$endfor$
\end{keywords}
$endif$
$if(epigraph)$
$for(epigraph)$
$if(epigraph.source)$
\epigraph{$epigraph.text$}{---$epigraph.source$}
$else$
\epigraph{$epigraph.text$}
$endif$
$endfor$
$endif$
% -------------------
% END TITLE SECTION
% -------------------
\newpage

View file

@ -0,0 +1,78 @@
% -----------------------
% END-OF-PREAMBLE STUFF
% -----------------------
$if(epigraph)$
% -----------
% Epigraphs
% -----------
\usepackage{epigraph}
\renewcommand{\epigraphsize}{\sffamily\footnotesize}
\setlength{\epigraphrule}{0em}
\setlength{\beforeepigraphskip}{-2em}
\setlength{\afterepigraphskip}{1em}
$endif$
$if(biblatex)$
% ----------
% BibLaTeX
% ----------
$if(biblatex-chicago)$
\usepackage[$if(biblio-style)$$biblio-style$,$endif$$for(biblatexoptions)$$biblatexoptions$$sep$,$endfor$]{biblatex-chicago}
$else$
\usepackage[$if(biblio-style)$style=$biblio-style$,$endif$$for(biblatexoptions)$$biblatexoptions$$sep$,$endfor$]{biblatex}
$endif$
\setlength\bibitemsep{0pt} % No space between bib entries
\renewcommand*{\bibfont}{\footnotesize} % Use smaller font
\setlength\bibhang{\parindent} % Match document indentation
% Fix biblatex's odd preference for using In: by default.
\renewbibmacro{in:}{%
\ifentrytype{article}{}{%
\printtext{\bibstring{}\intitlepunct}}}
\addbibresource{$bibliography$}
$endif$
% ----------------------
% Title block elements
% ----------------------
\usepackage{orcidlink} % Create automatic ORCID icons/links
$if(title)$
\title{$title$$if(thanks)$\thanks{$thanks$}$endif$}
$endif$
$if(subtitle)$
\usepackage{etoolbox}
\makeatletter
\providecommand{\subtitle}[1]{% add subtitle to \maketitle
\apptocmd{\@title}{\par {\vskip 0.25em \large #1 \par}}{}{}
}
\makeatother
\subtitle{$subtitle$}
$endif$
\author{
$for(by-author)$
{\large $it.name.literal$$if(it.orcid)$~\orcidlink{$it.orcid$}$endif$}%
$if(it.attributes.corresponding)$\thanks{Corresponding author.}$endif$ \\%
$for(it.affiliations)$$it.name$ \\$endfor$%
{\footnotesize \url{$it.email$}} \and
$endfor$
}
\date{}
% Typeset URLs in the same font as their parent environment
%
% This has to come at the end of the preamble, after any biblatex stuff because
% some biblatex styles (like APA) define their own \urlstyle{}
\usepackage{url}
\urlstyle{same}
% ---------------------------
% END END-OF-PREAMBLE STUFF
% ---------------------------