How do you adjust the formatting of the title slide (e.g.; its class so I can set inverse = FALSE). I've searched high and low for how to do this but no success. ..
see https://github.com/yihui/xaringan/issues/5
You can change everything using the .title-slide class while setting seal: false in the YAML header.
THanks!
Thanks @pat-s Now I'm having some trouble figuring out how to specify the changes (i'm new to yaml). Can you help create a workable example with a title slide that is not inverted?
title: "a"
subtitle: "b"
author: "c"
date: "d"
seal: false
output:
xaringan::moon_reader:
css: ["default", "xaringan.css"]
lib_dir: libs
nature:
highlightStyle: github
highlightLines: true
countIncrementalSlides: false
ratio: '16:9'
---
# Slide 1
---
# Slide 2
title: "Presentation Ninja"
subtitle: "âš”<br/>with xaringan"
author: "Yihui Xie"
date: "2016/12/12"
output:
xaringan::moon_reader:
lib_dir: libs
nature:
highlightStyle: github
highlightLines: true
countIncrementalSlides: false
seal: false
---
class: title-slide-custom
<br><br><br>
# Header1
<br><br>
## Header 2
### Header3
---
# slide 1
and put this in your custom CSS if you want to suppress slide numbers on the title slide:
.title-slide-custom .remark-slide-number {
display: none;
}
Perfect! Thanks very much!
Hi @ndphillips, we just added titleSlideClass as an option to the nature argument of moon_reader that allows you to make this change to the title slide classes from your YAML header.
To get back to your original post, you can now remove the inverse class from the title slide by adding following line to the YAML of your slides:
output:
xaringan::moon_reader:
nature:
titleSlideClass: [center, middle]
The default is center middle inverse, so adding inverse is dropped. You can also of course add any arbitrary CSS class to the title slide this way.
@gadenbuie Thanks!!!!
Most helpful comment
Hi @ndphillips, we just added
titleSlideClassas an option to thenatureargument ofmoon_readerthat allows you to make this change to the title slide classes from your YAML header.To get back to your original post, you can now remove the inverse class from the title slide by adding following line to the YAML of your slides:
The default is
center middle inverse, so addinginverseis dropped. You can also of course add any arbitrary CSS class to the title slide this way.