Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding code snippets to the paper #5

Open
mirca opened this issue Apr 9, 2018 · 1 comment
Open

adding code snippets to the paper #5

mirca opened this issue Apr 9, 2018 · 1 comment

Comments

@mirca
Copy link
Member

mirca commented Apr 9, 2018

I suggest we use the package minted to include python code snippets. It produces beautifully highlighted python code at a minimal cost of compiling the .tex file with the option -shell-escape.

Something like:
pdflatex -shell-escape ms.tex

screenshot:
screen shot 2018-04-09 at 10 30 49 am

@barentsen
Copy link
Member

I love it!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants