update template
This commit is contained in:
@@ -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"
|
||||
|
||||
:::
|
||||
|
||||
|
||||
Reference in New Issue
Block a user