Today I've mostly been building a #QuartoPub slides template. Here are 5 things (+ a question) I spent a while figuring out - some might be obvious, some are a bit hacky.
Sharing in the hope of saving other #rstats users some time!
1/5: Need to move the footer? Find footer.css!
2/5 Want a logo over a dark footer? footer.css is also where you can change the z-index of your logo and its padding, if you want to make it appear over the top the footer and align it as you choose.
3/5: Want to change the colour of the controls in the footer? Be careful!
I spent a while changing the colour of .fas etc, only to realise I'd made all the chalkboard colour selectors the same colour - oops!
Instead, change $link-color, and override your hyperlink formatting.
4/5: Looking to change the text to white in your slides when the background image is dark?
Specify a background colour even the background is entirely covered by the image - the text will then automatically be changed to white!
5/5: Want to change how bullet points are rendered? Watch out for the panel tabset headers!
Turns out, they're also a list of some sort, so if you do change your default bullet points, make sure you override that when it comes to tabsets.
Finally: Here comes the question... How do I make this into a template?
I've set it up the same way as I have for {pagedown} and {xaringan} templates, but there's no "From Template" button with Quarto... What am I missing? #QuartoPub
• • •
Missing some Tweet in this thread? You can try to
force a refresh
Five quick #rstats tips I've picked up in the plots I've made for the first category of the #30DayChartChallenge 🧵👇
1. Need to plot a million points and ggplot() is taking too long but you want to stay within the tidyverse?
👉 Use 📦{scattermore} with geom_scattermore() 🥳
2.Using several subplots together to tell a story and they each have their own colour scheme?
👉 Create a function to blend in a bit of the same colour into all the others to create a more unified look
3. Struggling with squished images when using {ggimage}?
👉 Plot the data with a ratio of 1:1 and use coord_equal()
👉 If that's not an option (e.g. x is categorical), adjust the ratio of the x to y increments within coord_fixed(), e.g.: