ismayc / thesisdown

An updated R Markdown thesis template using the bookdown package
Other
809 stars 357 forks source link

Figure position in pdf #152

Closed christianholland closed 2 years ago

christianholland commented 3 years ago

Hi there,

when knitting my thesis to a pdf it seems that the figures are placed where they are mentioned in the source code I guess internally it looks like this with the H forcing the figure placement at the indicated position.

\begin{figure}[H]
\includegraphics{figure}
\end{figure}

As you can imagine this can lead to unintentional whitespace between paragraphs. Is there a way to specify in the markdown document thats figures are placed where they fit the best?

Thanks, Christian

image
ismayc commented 3 years ago

I think you are gonna have to dig into the LaTeX template.tex file or reedthesis.cls to turn this off.

github-actions[bot] commented 2 years ago

This issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex: https://reprex.tidyverse.org whenever possible) and link to this issue. If a reprex is not applicable, recording a short Loom video showing what you are seeing can go a long way in helping to diagnose problems.