I am creating a long document using Quarto, which includes Tables, Figures, and Supplementary Figures, and as well as the cross references to them. For Supplemental Figures, I created a custom float type as instructed at Custom Float Cross-Reference Types – Quarto. Everything works great except the placement of Supplementary Figures. I have 12 Supplementary Figures so far, when rendering the Quarto file to a PDF file, almost each page got two Supplementary Figures to be placed at the top. Actually, I want them to appear together, one after another as a list.
I tried to put the following lines to the YAML header. The option, 'fig-pos: H', works, and put all the Figures together. But the option, 'suppfig-pos: H', has no any effects.
pdf:
number-sections: false
fig-pos: H
suppfig-pos: H
colorlinks: true
lof: false
lot: false
execute:
echo: false
Could you please show me how to put the Supplementary Figures together? Really appreciate it!
I kept the .tex file using keep-tex: true, and manually replaced the line \begin{suppfig} with \begin{suppfig}[H] in the .tex file. Then, the supplementary figures would stay together at the right place in the PDF document.
I will try my best to create a reproducible example. I also encountered some other problems during rendering my qmd -- pretty long document -- file to PDF. This could be pretty challenging since I have never created reproducible examples and never opened an issue on a github repo.