Scroll title above tables and figures in Confluence
It's great that I can choose whether to display scroll titles above or below when exporting tables and figures to Word. I would like the same option for the appearance in Confluence.
- The conventional location for table titles is above, and they are very awkward when placed below.
- It is helpful to separate titles from captions to allow different formatting and greater flexibility for cross-referencing in Word (because if the 'caption' includes only a title you can include the label number number and title in a hyperlink without including the entire caption).
- The Scroll Title macro works better as the title than as the caption, because the title is shorter and because it's the title that should get numbered and formatted after exporting to Word. This means that if I include a longer caption inside the macro frame and use the macro itself for the title, then the caption appears above the title in Confluence. This just doesn't work. It is bad enough having to bring Word-formatting issues into Confluence and worse if I have to make a mess of Confluence for the sake of Word.
FIG 1 Checklist
Our handy checklist features a big green check
to make you feel like the work is already done.
-
Hi Ryan,
Thanks for reaching out to us and providing your example. At the moment, we don't have any plans to introduce caption text, alongside the caption title which we provide already. However, this may be something that we look to introduce in the future. Currently, we have a number of improvements open that pertain to the Scroll Title macro. These include:
- https://k15t.jira.com/browse/EXP-2081 - Allow users to customize the caption prefix
- https://k15t.jira.com/browse/EXP-2549 - Additional display options for Scroll Title macro in Confluence page view
The second of these improvements pertains to providing additional display options for the Scroll Title macro for the appearance in Confluence.
Please sign up to our JIRA (via https://k15t.jira.com/) in order to watch, comment and/or vote on this issue. We'll then send a notification for every status update.
Cheers, Thomas (K15t)
-
Hi Ryan,
It seems your reply was not added to this ticket but we received a notification in our Zendesk that a reply relating to this post had been sent to our 'no-reply' email address – I believe you tried to add an attachment to the Jira issue but unfortunately this is not possible.
Your response seemed to mention that you were using a workaround. Would you mind sharing the details here in this thread so that others can potentially benefit from your same steps?
Thanks in advance, Thomas (K15t)
-
Since I could not move the location of the scroll title, I came up with a way to make it look decent when combined with a caption (inside the macro frame). This is the output as viewed in Confluence. I have not yet checked what complications this approach might cause for exporting to Word or a PDF.
-
My workaround had a few issues, but I have improved it. One issue was that it did not work well when images did not have a white background. A second issue was that I used two divboxes when I only needed one. The third issue is that I forgot that the divbox macro is part of Refined and not included out of the box in Confluence. Sorry! I can't do much about that. There may be alternatives or better solutions, but I am not a developer, and this is what I came up with. Text courtesy of 'office ipsum'. :-)
The image is inside the scroll title macro. The figure title is the scroll title. The longer caption and horizontal rule are below the scroll title macro, inside the divbox. I adjust the max-width setting as needed. The margin settings create enough space above and below the figure (as a whole) to keep it separate from the text on the Confluence page.
Divbox settings: background-color: white; padding: 1em 0em 1em; border-style: none; margin: 2em auto 2em; height: auto; font-size: 0.8em; font-weight: bold; font-color: #1B7898; max-width: 384px;
A professional solution from k15t would be much better. Thanks!
Please sign in to leave a comment.
Comments
4 comments