Replies: 1 comment 5 replies
-
Looking at the code here: it is obvious this is not handled by the jupyterbook documentation itself uses a latex_elements section under sphinx, as you would in a sphinx It doesn't add booktabs to the tex file... |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Wondering if there's a way to style pandas dataframes when using the pdflatex builder (with the jupyterbook_latex sphinx extension)?
Pandas does have a
.to_latex()
but if I usedisplay(Latex(df.to_latex()))
, the process doesn't complete.I did add
booktabs
to my_config.yml
file:EDIT: It should have added
\usepackage{booktabs}
to the .tex file, but didn't. I manually added it and ranmake
and the PDF generated like it should.So, apparently I don't have quite the right syntax for the
_config.yml
file, if anybody has a suggestion as to the proper way to set it up?Beta Was this translation helpful? Give feedback.
All reactions