-
Notifications
You must be signed in to change notification settings - Fork 323
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
fig-cap-location:top does place the caption above the figure #2154
Comments
Now I notice that if I set fig-cap-location:top in my document yaml, that displays the caption above the figure (even if I also set fig-cap-location:bottom in the chunk that creates the plot and the caption. Maybe fig-cap-location cannot vary between chunks. |
@johngoldin You're correct. The bug here is that we're incorrectly showing |
Were it not for the fact that quarto is new, I would have assumed I was just doing it wrong. The documentation for code cell options refers to the options for fig-cap-location as being [inline | margin], because it sounds like margin is supposed to be available as an option. So I take it that the documentation correctly describes the intended behavior. But code complete showed the options as [top | bottom | margin]. |
This interacts with |
To clarify, when this issue is fixed in a later version of Quarto, will it then be possible to control the location of the figure caption for each figure individually by using |
#7449 will close this issue and allow the overriding as requested above for all float types. |
Bug description
In chunk yaml, when I do "fig-cap-location: top" I still end up with the caption at the bottom. Setting it to "margin" works as expected. Published example is here on quarto-pub.
Might this be related to this issue? I don't know.
I have attached the qmd document that created the result linked to above that I published to quarto-pub:
My system and session version info is all in the published example .
I also tried with quarto --version
1.2.8
I submit this with trepidation because it is a small, simple thing so the simplest explanation is that I made a simple mistake. But just in case I didn't, here's the report.
Checklist
The text was updated successfully, but these errors were encountered: