lecture-python.myst
lecture-python.myst copied to clipboard
[jupyterbook-latex] [lqcontrol] wrong location for an inserted figure
Hi @AakashGfude and @mmcky , in lecture lqcontrol,
- there is an inserted figure located in a different place from its contexts.
Please see the screenshot (left: PDFs generated by rst
, right: PDFs generated by myst
):
@shlff maybe in this case we should update our latex figure
placement rules
https://www.sphinx-doc.org/en/master/latex.html
'figure_align'
Latex figure float alignment. Whenever an image doesn’t fit into the current page, it will be ‘floated’ into the next page but may be preceded by any other text. If you don’t like this behavior, use ‘H’ which will disable floating and position figures strictly in the order they appear in the source.
Default: 'htbp' (here, top, bottom, page)
maybe we should switch on H
in this case (in _config.yml
) so they are always in place.
This issue still exists. Please find the newest build:
https://python.quantecon.org/_pdf/quantecon-python.pdf