Move title slide
This commit is contained in:
25
assets/revealjs/clone_title_slide.html
Normal file
25
assets/revealjs/clone_title_slide.html
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
<!--
|
||||||
|
Below is the original version of: https://stackoverflow.com/questions/76261113/repeat-title-slide-at-end-of-reveal-js-presentation-and-add-additionnal-slides-a
|
||||||
|
Which *clones* the title slide to the placeholder slide.
|
||||||
|
You can add the placeholder slide like this:
|
||||||
|
## {.placeholder-for-titleSlide visibility="uncounted"}
|
||||||
|
-->
|
||||||
|
|
||||||
|
<script>
|
||||||
|
function move_titleSlide() {
|
||||||
|
var titleSlide = document.querySelector('section#title-slide');
|
||||||
|
var titleSlideClone = titleSlide.cloneNode(true);
|
||||||
|
titleSlideClone.id = 'title-slide-cloned';
|
||||||
|
var placeholder = document.querySelector('section.placeholder-for-titleSlide');
|
||||||
|
var visibility = placeholder.getAttribute('data-visibility');
|
||||||
|
if (visibility !== null) {
|
||||||
|
titleSlideClone.setAttribute('data-visibility', visibility);
|
||||||
|
}
|
||||||
|
placeholder.replaceWith(titleSlideClone);
|
||||||
|
Reveal.sync();
|
||||||
|
}
|
||||||
|
|
||||||
|
window.document.addEventListener("DOMContentLoaded", function (event) {
|
||||||
|
move_titleSlide();
|
||||||
|
});
|
||||||
|
</script>
|
||||||
@@ -9,3 +9,27 @@
|
|||||||
<img src="assets/hecf_signet.svg" alt="HECF Logo" style="height: 4vh; width: auto;">
|
<img src="assets/hecf_signet.svg" alt="HECF Logo" style="height: 4vh; width: auto;">
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
function move_titleSlide() {
|
||||||
|
var titleSlide = document.querySelector('section#title-slide');
|
||||||
|
var placeholder = document.querySelector('section.placeholder-for-titleSlide');
|
||||||
|
|
||||||
|
if (titleSlide && placeholder) {
|
||||||
|
// Transfer visibility attribute from placeholder to title slide
|
||||||
|
var visibility = placeholder.getAttribute('data-visibility');
|
||||||
|
if (visibility !== null) {
|
||||||
|
titleSlide.setAttribute('data-visibility', visibility);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Move the title slide to replace the placeholder
|
||||||
|
placeholder.parentNode.replaceChild(titleSlide, placeholder);
|
||||||
|
|
||||||
|
Reveal.sync();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
window.document.addEventListener("DOMContentLoaded", function (event) {
|
||||||
|
move_titleSlide();
|
||||||
|
});
|
||||||
|
</script>
|
||||||
36
assets/revealjs/move_title_slide.html
Normal file
36
assets/revealjs/move_title_slide.html
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
<!--
|
||||||
|
Below is an adjusted version of: https://stackoverflow.com/questions/76261113/repeat-title-slide-at-end-of-reveal-js-presentation-and-add-additionnal-slides-a
|
||||||
|
Which *moves* the title slide to the placeholder slide.
|
||||||
|
You can add the placeholder slide like this:
|
||||||
|
## {.placeholder-for-titleSlide visibility="uncounted"}
|
||||||
|
-->
|
||||||
|
|
||||||
|
<script>
|
||||||
|
function move_titleSlide() {
|
||||||
|
var titleSlide = document.querySelector('section#title-slide');
|
||||||
|
var placeholder = document.querySelector('section.placeholder-for-titleSlide');
|
||||||
|
|
||||||
|
if (titleSlide && placeholder) {
|
||||||
|
// Transfer visibility attribute from placeholder to title slide
|
||||||
|
var visibility = placeholder.getAttribute('data-visibility');
|
||||||
|
if (visibility !== null) {
|
||||||
|
titleSlide.setAttribute('data-visibility', visibility);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Move the title slide to replace the placeholder
|
||||||
|
placeholder.parentNode.replaceChild(titleSlide, placeholder);
|
||||||
|
|
||||||
|
Reveal.sync();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
window.document.addEventListener("DOMContentLoaded", function (event) {
|
||||||
|
move_titleSlide();
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
#title-slide .subtitle {
|
||||||
|
margin-bottom: 2.5rem
|
||||||
|
}
|
||||||
|
</style>
|
||||||
804
index.html
804
index.html
File diff suppressed because one or more lines are too long
26
index.qmd
26
index.qmd
@@ -36,12 +36,9 @@ revealjs-plugins:
|
|||||||
# - drop
|
# - drop
|
||||||
---
|
---
|
||||||
|
|
||||||
# High-Level View {.center visibility="uncounted"}
|
## The beginning: June 2020 {visibility="uncounted"}
|
||||||
|
|
||||||
|
](assets/allisonhorst/the_beginning_cropped.png)
|
||||||
<!--
|
|
||||||
Render with: quarto preview /home/jonathan/git/PHD-Presentation/25_07_phd_defense/index.qmd --no-browser --port 6074
|
|
||||||
-->
|
|
||||||
|
|
||||||
::: {.hidden}
|
::: {.hidden}
|
||||||
$$
|
$$
|
||||||
@@ -49,21 +46,6 @@ $$
|
|||||||
$$
|
$$
|
||||||
:::
|
:::
|
||||||
|
|
||||||
<!-- :::: {style="font-size: 150%;"}
|
|
||||||
|
|
||||||
<i class="fa fa-fw fa-rocket" style="color:var(--col_grey_9);"></i>   [Research Motivation](#motivation)
|
|
||||||
|
|
||||||
<i class="fa fa-fw fa-book" style="color:var(--col_grey_9);"></i>   [Overview of the Thesis](#sec-overview)
|
|
||||||
|
|
||||||
<i class="fa fa-fw fa-layer-group" style="color:var(--col_grey_9);"></i>   [Online Aggregation](#sec-crps-learning)
|
|
||||||
|
|
||||||
<i class="fa fa-fw fa-chart-line" style="color:var(--col_grey_9);"></i>   [Probabilistic Forecasting of European Carbon and Energy Prices](#sec-voldep)
|
|
||||||
|
|
||||||
<i class="fa fa-fw fa-newspaper" style="color:var(--col_grey_9);"></i>   [Contributions](#sec-contributions)
|
|
||||||
|
|
||||||
:::: -->
|
|
||||||
|
|
||||||
|
|
||||||
```{r, setup, include=FALSE}
|
```{r, setup, include=FALSE}
|
||||||
# Compile with: rmarkdown::render("crps_learning.Rmd")
|
# Compile with: rmarkdown::render("crps_learning.Rmd")
|
||||||
library(latex2exp)
|
library(latex2exp)
|
||||||
@@ -97,9 +79,9 @@ col_orange <- "#ffa600"
|
|||||||
col_yellow <- "#FCE135"
|
col_yellow <- "#FCE135"
|
||||||
```
|
```
|
||||||
|
|
||||||
## The beginning: June 2020
|
## {.placeholder-for-titleSlide}
|
||||||
|
|
||||||
](assets/allisonhorst/the_beginning_cropped.png)
|
# High-Level View {.center visibility="uncounted"}
|
||||||
|
|
||||||
## Motivation
|
## Motivation
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user