-
DescriptionWhen generating a Word document using a reference docx template, the figure caption (fig-cap) is not properly centered in the output, despite the "Image Caption" style being set to center alignment in the reference document. Expected behavior: The figure caption should be centered according to the "Image Caption" style in the reference docx template. Actual behavior: The figure caption maintains left alignment regardless of the style settings in the reference document. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Please use the search before opening new threads. Thanks you! |
Beta Was this translation helpful? Give feedback.
-
Thank you for your reply! I found that using As the official documentation notes:
It would still be helpful to have control over the alignment, especially since it's possible in HTML. In Word, image captions use the built-in "Image Caption" style. It seems that Quarto currently doesn't allow overriding the alignment of this style through custom reference documents or other methods. Would it be possible to support custom styling (e.g., center alignment) for captions in Word outputs, perhaps by letting users modify the "Image Caption" style via a custom reference .docx? Thanks again for your help! |
Beta Was this translation helpful? Give feedback.
Please use the search before opening new threads. Thanks you!