update template

This commit is contained in:
2024-10-29 16:17:04 +08:00
parent a15adfaa91
commit acf2413c0d
4 changed files with 38 additions and 11 deletions
+26
View File
@@ -58,4 +58,30 @@ Figures and/or tables are provided below as the supplementary evidences to the m
\pagebreak
::: {#sfg-demofigure}
```{r}
#| out-width: 60%
#| lightbox:
#| group: all
if (!isRendering) {
mtcars |>
ggplot(aes(x = wt, y = mpg)) +
geom_point() +
labs(x = "Weight", y = "Miles per Gallon") +
dwfun::theme_sci(3, 3)
ggsavep("../figures/demofigure.pdf", loadit = FALSE)
} # End of isrendering
ggsavep("../figures/demofigure.pdf", loadit = TRUE)
```
"This is demo figure in supplementary material"
:::