Skip to content

TorbjornT/nbconvert_template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Notebook -> LaTeX article

With the plainbase template only markdown cells are included. Code cells and output -- including plots -- are ignored. The motivation being to create a LaTeX file that takes less cleaning up, if it is to be used e.g. as a starting point for a journal article.

Inline plots are ignored because I want a vector format, and SVG doesn't work with LaTeX. See the sample notebook for how one can add figures. I won't claim it's ideal.

scrarctl inherits plainbase and defines the documentclass, so use

jupyter nbconvert --to latex --template scrartcl <notebook>.ipyn

If you want a bibliography, add e.g.

\bibligraphystyle{plainnat}
\bibliography{refs}

in a raw cell.

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published