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! Code snippet (CSS) highlighting the .reveal .footer positionThe output: a footer banner which reaches right to the botto
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. Code snippet (CSS):  .reveal .slide-logo {   display: block;
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. $link-color: #28A569   .reveal a {   color: #11559A; }  .rev
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! Code snippet (Markdown):  # Section title slide {background-The output: a slide with a dark background image and some wh
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. Code snippet (CSS):  .reveal .slide ul li {   list-style: no
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 Screenshot of the menu that appears when we click to create Screenshot of the equivalent menu for a Quarto document. The

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Cara Thompson

Cara Thompson Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @cararthompson

Apr 6
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 Code snippet: blend <- func...
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.: Code snippet:   coord_fixed...
Read 5 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us on Twitter!

:(