From cb21c9e341dd8496389f8dfbaf4dc1ab0c78fcbb Mon Sep 17 00:00:00 2001 From: Zhanglong <13936696+jeromecy@users.noreply.github.com> Date: Mon, 18 Nov 2024 16:55:20 +0800 Subject: [PATCH] logo, ref, new section and footer (#21) --- _extensions/aagi/_extension.yml | 2 +- _extensions/aagi/revealjs/aagi.scss | 10 ++++++++++ template.qmd | 15 ++++++++++++++- your_references.bib | 25 +++++++++++++++++++++++++ 4 files changed, 50 insertions(+), 2 deletions(-) create mode 100644 your_references.bib diff --git a/_extensions/aagi/_extension.yml b/_extensions/aagi/_extension.yml index 2e9ff56..dbf828d 100644 --- a/_extensions/aagi/_extension.yml +++ b/_extensions/aagi/_extension.yml @@ -8,7 +8,7 @@ contributes: theme: [default, revealjs/aagi.scss] date-format: long slide-number: true - footer: " " + footer: "" logo: assets/aagi-logo.svg title-slide-attributes: data-background-image: assets/title-slide-main.png diff --git a/_extensions/aagi/revealjs/aagi.scss b/_extensions/aagi/revealjs/aagi.scss index 2dcb3e7..3845710 100644 --- a/_extensions/aagi/revealjs/aagi.scss +++ b/_extensions/aagi/revealjs/aagi.scss @@ -82,5 +82,15 @@ td { } .reveal .slide-logo { + position: absolute; + top: 10px; + right: 10px; max-height: 86px !important; } + +.reveal .slide-number { + position: absolute; + bottom: 10px !important; + right: 10px !important; + top: unset !important; +} \ No newline at end of file diff --git a/template.qmd b/template.qmd index e1bff0f..fb2abf7 100644 --- a/template.qmd +++ b/template.qmd @@ -117,7 +117,10 @@ set_flextable_defaults( # Executive summary -What was provided by AAGI and the main results? +What was provided by AAGI and the main results? + +- Citation example (@sparks2018nasapower), another example @butler2017asreml and @brien2020asremlplus. + # Introduction @@ -167,6 +170,16 @@ Findings and their implications. Include if relevant to the project. +# Conclusion or Discussion + +- Summary of the main findings. +- Implications for the industry (for example). + +# Acknowledgements + +- Funding sources. +- Collaborators. + # References Cited works and literature. diff --git a/your_references.bib b/your_references.bib new file mode 100644 index 0000000..3b48dfe --- /dev/null +++ b/your_references.bib @@ -0,0 +1,25 @@ +@article{sparks2018nasapower, + title={nasapower: a NASA POWER global meteorology, surface solar energy and climatology data client for R}, + author={Sparks, Adam H}, + journal={Journal of Open Source Software}, + volume={3}, + number={30}, + pages={1035}, + year={2018} +} + +@article{butler2017asreml, + title={ASReml-R reference manual version 4}, + author={Butler, DG and Cullis, BR and Gilmour, AR and Gogel, BJ and Thompson, R}, + journal={VSN International Ltd, Hemel Hempstead, HP1 1ES, UK}, + year={2017} +} + + +@article{brien2020asremlplus, + title={asremlPlus: Augments ASReml-R in fitting mixed models and packages generally in exploring prediction differences}, + author={Brien, C}, + journal={R package version}, + pages={4--2}, + year={2020} +} \ No newline at end of file