Skip to content
Snippets Groups Projects
Commit fd5b4e1e authored by Luke Naylor's avatar Luke Naylor
Browse files

Integrate the filtered sage scripts into build sys

parent afedab1e
No related branches found
No related tags found
No related merge requests found
......@@ -5,7 +5,7 @@ MAINTEXFILE = main.tex
TEXFILES = ${MAINTEXFILE}
SAGETEXSCRIPT = main.sagetex.sage
main.pdf: ${TEXFILES} main.sagetex.sout
main.pdf: ${TEXFILES} main.sagetex.sout filtered_sage.txt
latexmk
main.sagetex.sout: ${SAGETEXSCRIPT} ${PYPLOTFILES}
......
......@@ -284,4 +284,34 @@ In the case $\beta = \beta_{-}$ (or $\beta_{+}$) this can be simplified.
\section{Conclusion}
\section{Appendix - SageMath code}
\definecolor{codegreen}{rgb}{0,0.6,0}
\definecolor{codegray}{rgb}{0.5,0.5,0.5}
\definecolor{codepurple}{rgb}{0.58,0,0.82}
\definecolor{backcolour}{rgb}{0.95,0.95,0.92}
\lstdefinestyle{mystyle}{
backgroundcolor=\color{backcolour},
commentstyle=\color{codegreen},
keywordstyle=\color{magenta},
numberstyle=\tiny\color{codegray},
stringstyle=\color{codepurple},
basicstyle=\ttfamily\footnotesize,
breakatwhitespace=false,
breaklines=true,
captionpos=b,
keepspaces=true,
numbers=left,
numbersep=5pt,
showspaces=false,
showstringspaces=false,
showtabs=false,
tabsize=2
}
\lstset{style=mystyle}
\lstinputlisting[language=python]{filtered_sage.txt}
\end{document}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment