How to use Word table styles in the same way reference-doc can be used for text styles? #13037
Replies: 2 comments 1 reply
-
Have you looked into Pandoc's GitHub (issues and discussions) for this, as Word document support comes from it, others might have already asked about this there. |
Beta Was this translation helpful? Give feedback.
-
With Pandoc Here is a good read on how Docx can be customized using Pandoc: https://rnwest.engineer/auto-generate-docx-with-pandoc/#how-to-edit-styles This should work with Quarto too. I don't think as of now Pandoc allows to select custom style for Table like for paragraph. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
I've been using quarto to create reports in .docx format that integrate with much larger reports. This means I need styling to match word documents created by others (non-quarto users). The
reference-doc
option is great for this, as it means I can just reference all the very specific word styles that are required for the textual elements of the report. For example, with custom styles in the reference-doc:I'm now trying to do the same with tables. We have custom-made word styles for tables, which I would like to be able to be include in the .docx render without having to open it up and select the style myself. I haven't worked out how to do this in quarto, as it seems that table styles are separate to text styles, and so referencing the table style name doesn't work. Any advice would be much appreciated.
Beta Was this translation helpful? Give feedback.
All reactions