Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[jupyterbook-latex] [lqcontrol] wrong location for an inserted figure #91

Open
shlff opened this issue Feb 10, 2021 · 2 comments
Open

Comments

@shlff
Copy link
Member

shlff commented Feb 10, 2021

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):

Screen Shot 2021-02-11 at 4 58 01 am

@shlff shlff changed the title [jupyterbook-latex] [lqcontrol] [jupyterbook-latex] [lqcontrol] wrong location for an inserted figure Feb 10, 2021
@mmcky
Copy link
Contributor

mmcky commented Feb 15, 2021

@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.

@mmcky mmcky self-assigned this Feb 19, 2021
@shlff
Copy link
Member Author

shlff commented Jun 8, 2023

This issue still exists. Please find the newest build:

https://python.quantecon.org/_pdf/quantecon-python.pdf

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

No branches or pull requests

2 participants