Skip to content

How to place caption of margin figures below them while using cap-location: margin? #3826

Answered by dragonstyle
astoeriko asked this question in Q&A
Discussion options

You must be logged in to vote

It would actually be ideal if that worked (I'm opening and issue to track this - we should know better than repositioning a caption when it is already in the margin). In the meantime, you can work around this like so:

![This is a figure that will be placed in the main column. However, its caption should be in the margin.](test.png){#fig-main-col .margin-caption}



![This figure is in the margin. I would like its caption to be right below the image, but it appears next to it, making the margin too wide.](test.png){#fig-margin-col .column-margin}


::: {.column-margin}
![This figure is in the margin. Its caption will not be visible.](test.png){#fig-margin-col2}
I can cheat a bit and write …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@astoeriko
Comment options

Answer selected by astoeriko
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants