Skip to content

Commit

Permalink
tidy up short report template
Browse files Browse the repository at this point in the history
  • Loading branch information
adamhsparks committed Sep 23, 2024
1 parent c6cfc84 commit d0c0991
Showing 1 changed file with 12 additions and 14 deletions.
26 changes: 12 additions & 14 deletions docs/demos/template-short-report.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ format:
aagi-pdf+short+report: default
---

```{r}
```{r setup}
#| include: false
# library(rmarkdown)
Expand Down Expand Up @@ -56,7 +56,7 @@ library(AAGIThemes)
library(AAGIPalettes)
```

```{r}
```{r sp}
#| include: false
#| label: config-for-title
Expand All @@ -83,12 +83,12 @@ email: "`r email`"
# Section 1

Report text goes here. This template is designed for smaller ("one-page") AAGI
reports. The AAGI logo and partners footer appear only on this first page.
reports.
The AAGI logo and partners footer appear only on this first page.

You can colour text/tables/etc using the various AAGI palette colours. Use
`\textcolor{aagiteal}{...}` for \textcolor{aagiteal}{AAGI Teal}, or
`\textcolor{aagibrightgreen}{...}` for
\textcolor{aagibrightgreen}{AAGI Bright Green}, for instance. @tbl-aagipalette shows the standard palette colours available for use.
You can colour text/tables/etc using the various AAGI palette colours.
Use `\textcolor{aagiteal}{...}` for `\textcolor{aagiteal}{AAGI Teal}`, or `\textcolor{aagibrightgreen}{...}` for `\textcolor{aagibrightgreen}{AAGI Bright Green}`, for instance.
@tbl-aagipalette shows the standard palette colours available for use.

::: {#tbl-aagipalette}
```{=tex}
Expand All @@ -109,25 +109,23 @@ You can colour text/tables/etc using the various AAGI palette colours. Use
```

The AAGI palette colours.

:::


## This is a subsection heading

This is an example of a reference [@blah]. References appear at the end of the
report by default, after the last heading `# References` on the last line of
this .Rmd file (but feel free to change the title to whatever you like).
This is an example of a reference [@blah].
References appear at the end of the report by default, after the last heading `# References` on the last line of this .Rmd file (but feel free to change the title to whatever you like).

\begin{note}
{\bf\color{aagiteal!75!black} Example Note}\quad
Use \verb|\begin{note}...\end{note}| to create coloured notes like this
that stand out on the page.
\end{note}

Example R code, using the `AAGIThemes` package to produce
Figure \@ref(fig:example1).
```{r}
Example R code, using the [{AAGIThemes}](https://aagi-aus.github.io/AAGIThemes/) package to produce Figure \@ref(fig:example1).

```{r plot-eg}
#| label: fig-example1
#| fig-cap: "Here is a plot."
#| fig-height: 3
Expand Down

0 comments on commit d0c0991

Please sign in to comment.