Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IPython Notebook NB convert formatting Footers?

Using the NB convert with default options ("article") I am not getting a footer with page numbers? I know nothing about LaTex but a brief look at the tpl files seems to indicate that I should get footers (maybe with page numbers?) The "book" option give nice footers, but is not a great format for other reasons...

I looked at the generated tex file and don't see anything for footers,, I did find that I can replace "unknown author" with my name.. :-)

Any guidence on how to modify either the generated tex file or something else?

like image 290
dartdog Avatar asked Dec 11 '25 08:12

dartdog


1 Answers

You can set the author using

ipython nbconvert --to latex --SphinxTransformer.author='John Doe' file.ipynb

like image 107
Michaelnt Avatar answered Dec 13 '25 19:12

Michaelnt



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!