Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
Max Destabilizer Rank
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
luke naylor latex documents
research
Max Destabilizer Rank
Commits
a03a536d
Commit
a03a536d
authored
1 year ago
by
Luke Naylor
Browse files
Options
Downloads
Patches
Plain Diff
Switch from lstlisting to minted for code block
parent
c41141fd
No related branches found
No related tags found
No related merge requests found
Pipeline
#26875
passed
1 year ago
Stage: test
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.gitignore
+1
-0
1 addition, 0 deletions
.gitignore
Makefile
+0
-1
0 additions, 1 deletion
Makefile
latexmkrc
+1
-1
1 addition, 1 deletion
latexmkrc
main.tex
+4
-27
4 additions, 27 deletions
main.tex
with
6 additions
and
29 deletions
.gitignore
+
1
−
0
View file @
a03a536d
main.*
main.*
!main.tex
!main.tex
filtered_sage.txt
filtered_sage.txt
_minted-main/*
This diff is collapsed.
Click to expand it.
Makefile
+
0
−
1
View file @
a03a536d
...
@@ -6,7 +6,6 @@ TEXFILES = ${MAINTEXFILE}
...
@@ -6,7 +6,6 @@ TEXFILES = ${MAINTEXFILE}
SAGETEXSCRIPT
=
main.sagetex.sage
SAGETEXSCRIPT
=
main.sagetex.sage
main.pdf
:
${TEXFILES} main.sagetex.sout.tmp filtered_sage.txt
main.pdf
:
${TEXFILES} main.sagetex.sout.tmp filtered_sage.txt
lualatex
${
MAINTEXFILE
}
latexmk
latexmk
main.sagetex.sout.tmp
:
${SAGETEXSCRIPT} ${PYPLOTFILES}
main.sagetex.sout.tmp
:
${SAGETEXSCRIPT} ${PYPLOTFILES}
...
...
This diff is collapsed.
Click to expand it.
latexmkrc
+
1
−
1
View file @
a03a536d
@default_files = ('main.tex');
@default_files = ('main.tex');
$pdf_mode = 1;
$pdf_mode = 1;
$pdflatex = 'lualatex -synctex=1 -interaction=nonstopmode';
$pdflatex = 'lualatex
-shell-escape
-synctex=1 -interaction=nonstopmode';
@generated_exts = (@generated_exts, 'synctex.gz');
@generated_exts = (@generated_exts, 'synctex.gz');
This diff is collapsed.
Click to expand it.
main.tex
+
4
−
27
View file @
a03a536d
...
@@ -8,6 +8,7 @@
...
@@ -8,6 +8,7 @@
\usepackage
{
hyperref
}
\usepackage
{
hyperref
}
\usepackage
{
color
}
\usepackage
{
color
}
\usepackage
{
sagetex
}
\usepackage
{
sagetex
}
\usepackage
{
minted
}
\usepackage
[]
{
breqn
}
\usepackage
[]
{
breqn
}
\newcommand
{
\QQ
}{
\mathbb
{
Q
}}
\newcommand
{
\QQ
}{
\mathbb
{
Q
}}
...
@@ -494,32 +495,8 @@ linear terms match those of the other bounds in the previous subsections.
...
@@ -494,32 +495,8 @@ linear terms match those of the other bounds in the previous subsections.
\newpage
\newpage
\section
{
Appendix - SageMath code
}
\section
{
Appendix - SageMath code
}
\definecolor
{
codegreen
}{
rgb
}{
0,0.6,0
}
\usemintedstyle
{
tango
}
\definecolor
{
codegray
}{
rgb
}{
0.5,0.5,0.5
}
\definecolor
{
codepurple
}{
rgb
}{
0.58,0,0.82
}
\inputminted
[obeytabs=true,tabsize=2]
{
python
}{
filtered
_
sage.txt
}
%\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}
\end{document}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment