Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion preamble.tex
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,13 @@
% Note: Toc changed for appendex
\setcounter{tocdepth}{1}

% Explanation of newtheorem syntax - see https://ctan.net/macros/latex/required/amscls/doc/amsthdoc.pdf
% The \newtheorem{annotationdefinition}{Annotation}[chapter]
% Mean that these "theorems" are called Annotation and numbered within chapter
% \newtheorem{annotationdefinition*}[annotationdefinition]{Annotation}
% Mean that these "theorems" are called Annotation and re-using the annotationdefinition-numbering
% Note the subtle syntax difference

% Warning: The way of adding \label inside the theoremstyle below is currently working at LaTeXML version 0.8.4,
% but was broken for a while on their master branch, see
% - https://github.com/brucemiller/LaTeXML/issues/1351
Expand Down Expand Up @@ -304,7 +311,7 @@
\newtheorem{functiondefinition*}[functiondefinition]{Function}
\crefname{functiondefinition*}{function}{functions}
\Crefname{functiondefinition*}{Function}{Functions}
\newtheorem{annotationdefinition*}{Annotation}[chapter]
\newtheorem{annotationdefinition*}[annotationdefinition]{Annotation}
\crefname{annotationdefinition*}{annotation}{annotations}
\Crefname{annotationdefinition*}{Annotation}{Annotations}

Expand Down