Quarto Word Templates apply different style to table section

I am creating a report in quarto that is rendered to docx. I have created an APA-compliant reference document and stored it in the project folder following these official instructions. When I render the document to docx, the default style is applied to all parts of my document. However, for my Table section I want to apply another style from my custom-reference-doc.docx. Is this possible with Quarto?

---
title: "Report"
format:
  docx:
    reference-doc: custom-reference-doc.docx
editor: visual
execute: 
  echo: false
  toc: true
  toc-depth: 2
---

Apply the standard style to this piece of text.

Apply the style "No spacing" to everything down below:
Tables
```{r}
head(cars)

Only way to apply custom style is following the Pandoc syntax: Pandoc - Pandoc User’s Guide

You should be able to create a custom style for your table, and apply to the doc part.

If it does not work, you can open an issue in Quarto repo and provide a reproducible example

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.