Add moghimi things (lang and TOC)
This commit is contained in:
parent
a98b9ed6ca
commit
72f55bc3b7
27
moghimi.sty
27
moghimi.sty
|
@ -42,6 +42,33 @@
|
|||
captionpos=b
|
||||
}
|
||||
|
||||
\lstdefinelanguage{SimpleASM}{
|
||||
morekeywords={INA,OUTA,DEC,JNZ,HALT},
|
||||
sensitive=true,
|
||||
morecomment=[l]{;},
|
||||
morestring=[b]",
|
||||
}
|
||||
|
||||
\lstset{
|
||||
language=SimpleASM,
|
||||
basicstyle=\ttfamily\small,
|
||||
keywordstyle=\color{blue}\bfseries,
|
||||
commentstyle=\color{gray}\itshape,
|
||||
stringstyle=\color{teal},
|
||||
numbers=left,
|
||||
numberstyle=\tiny,
|
||||
stepnumber=1,
|
||||
numbersep=10pt,
|
||||
backgroundcolor=\color{black!2},
|
||||
showspaces=false,
|
||||
showstringspaces=false,
|
||||
breaklines=true,
|
||||
frame=single,
|
||||
captionpos=b,
|
||||
tabsize=4
|
||||
}
|
||||
|
||||
|
||||
% Custom version command to print revision and compile date in footer
|
||||
\renewcommand{\revision}[1]{
|
||||
\clearpage
|
||||
|
|
|
@ -11,6 +11,8 @@
|
|||
|
||||
\begin{document}
|
||||
\maketitle
|
||||
\tableofcontents
|
||||
% \newpage
|
||||
|
||||
\exer[Question]{1}
|
||||
|
||||
|
|
Loading…
Reference in New Issue