quarto-journals / plos

Quarto template for Public Library of Science
https://quarto-journals.github.io/plos/
MIT License
20 stars 3 forks source link

Offer a way to help format supplementary part #7

Closed cderv closed 2 years ago

cderv commented 2 years ago

https://github.com/quarto-journals/plos/blob/1f79ef691a0538a94eaedd1b3c8488e5fc3e7008/style-guide/plos_latex_template.tex#L320-L345

cderv commented 2 years ago

It will be like this

::: {.supp}
## S1 Fig. {#s1-fig}

Bold the title sentence will be the first paragraph

Add descriptive text after the title of the item (optional) as second paragraph
:::

to produce

 \paragraph*{S1 Fig.} 
 \label{s1-fig} 
 {\textbf Bold the title sentence.} Add descriptive text after the title of the item (optional). 

in LaTeX

This will allow formating in HTML later.