feat(dissertation): change Figure to Listing for code

This commit is contained in:
Anthony Berg
2024-05-14 12:07:20 +01:00
parent bbb3635736
commit fe390689a6
3 changed files with 18 additions and 12 deletions

View File

@@ -14,6 +14,13 @@
%\usepackage{vdmlisting}
\usepackage{listings}
\usepackage{minted}
\AtBeginDocument{%
\renewcommand{\thelisting}{%
\thechapter.\arabic{listing}%
}
}
% Taken from vdmlisting
\lstdefinelanguage{VDM_SL}
{morekeywords={RESULT,\#else,\#endif,\#ifdef,\#ifndef,abs,all,always,and,as,atomic,be,be st,bool,by,card,cases,char,comp,compose,conc,dcl,def,definitions,dinter,div,dlmodule,do,dom,dunion,