wjschne / apaquarto

A quarto extension for creating APA7 documents in .docx, .html, and .pdf formats
https://wjschne.github.io/apaquarto/
Creative Commons Zero v1.0 Universal
166 stars 15 forks source link

No Indent after Header #78

Closed juliandehne closed 4 months ago

juliandehne commented 4 months ago

Thank you again for this wonderful template.

Currently I am trying to figure out how to suppress indentation after a Heading which I believe is not APA style. I HTML I could do something like:

{ h1 + p, h2 + p, h3 + p, h4 + p, h5 + p, h6 + p {
    text-indent: 0;
}

How would you go about it for docx?

wjschne commented 4 months ago

Thanks!

APA style always indents after a heading. If you need to make an exception, you can enclose a paragraph in a fenced div with the .NoIndent class:

:::{.NoIndent}
This paragraph will not be indented.
:::

If you want to turn off the indenting for every first paragraph in the .docx format, you would need to change the indenting of the First Paragraph style in the apaquarto.docx file in the apaquarto _extensions folder.

juliandehne commented 4 months ago

Thanks a lot!