Closed mgeier closed 1 year ago
The boxes should also have all 4 borders when they are broken between pages.
Hi, use pre_box-decoration-break=clone
in latex_elements.sphinxsetup
I know that I can add
pre_border-radius=0px
tolatex_elements.sphinxsetup
, but this shouldn't be a user setting in the first place.
Yes use pre_border-radius=0pt
to revert to pre 6.0.0 default (I edited to 0pt
in place of 0px
although it amounts to same as ).0px
because px
is not really native to LaTeX, but is supported by some engines and Sphinx adds a layer so that it is always available
Sorry I had to edit again, the px
is allowed for image dimensions in Sphinx contexts and all engines, but not for usage everywhere. You can use it with pdflatex, but it is not supported by platex, neither by xelatex. It is supported by lualatex. For image dimensions Sphinx adds an intermediate layer to intercept px
. Not for arbitrary dimension assignments.
Thanks for the quick answer!
I've created #685 as a possible way forward.
Would this be the correct solution?
The boxes for code cells should never have rounded corners.
I know that I can add
pre_border-radius=0px
tolatex_elements.sphinxsetup
, but this shouldn't be a user setting in the first place.The boxes should also have all 4 borders when they are broken between pages.
@jfbu Do you have an idea how to achieve this?