-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Floating figures: force position #845
Comments
+1 |
FWIW: The sub-elegant workaround @kovla mentions which involves float package, outputing from pandoc into tex, forcing figure not to float with placement specifier of H to the figures, can generate TOC, but you must rerun your latex twice (at least this is the case with xelatex). |
I got a warning saying that
|
Yes -- it's just a warning, so I think it's harmless to +++ Eduardo de Santana Medeiros Alexandre [May 29 16 13:10 ]:
|
This solution worked for me: |
Ditto: @faridcher |
@faridcher's solution seems to be adequate, thus closing this issue. |
It might be enough to override default placement like this: \makeatletter
\def\fps@figure{h}
\makeatother |
thus for the pandoc markdown it will be like this?
|
This seems to work. |
This was not working for me. I had to change the h to uppercase
pandoc 2.19.2 |
It doesn't look like this issue has been raised before, so here goes. In Markdown, one currently has two options to specify a graphical image:
Upon conversion to PDF a figure with caption would float, most often landing on the final page of the document. While it is possible to force the image to remain in place, this occurs at the cost of losing the caption.
This has been discussed here: http://bit.ly/18hElYg, but the workaround is not very elegant, and certainly breaks the automated workflow.
The text was updated successfully, but these errors were encountered: