Skip to content

Instantly share code, notes, and snippets.

@massahud
Created December 2, 2022 14:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save massahud/8d5fc6501032166ae2dd960a21a6c2ef to your computer and use it in GitHub Desktop.
Save massahud/8d5fc6501032166ae2dd960a21a6c2ef to your computer and use it in GitHub Desktop.
Remove date from jupyter exported pdf

Remove date from jupyter exported pdf

Add \date{} to share/jupyter/nbconvert/templates/latex/base.text.j2 anywhere before /maketitle (e.g. before the title block)

If you want to control it using the notebook metadata, add this instead:

    ((* if nb.metadata.get('nodate', false) *))
    \date{}
    ((* endif *))

And add "nodate": true to the notebook metadata

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment