There are hundreds of online resources for learning how to code.

But there are much fewer online resources for math.

Maybe that's because LaTeX (the premier math writing tool) isn't good at creating them.

#QuartoPub can do both. So, is it a worthy alternative?🧵 #mathematics
What is Quarto?

Short answer: It's a tool that can create many output formats all from one interface.

That means you can create classical PDF math papers as well as online math books with Quarto.
You may be sceptical about the online part. Maybe you have only seen math in PDF format.

But I assure you that it's a real thing. And it's powerful.

For example, every day hundreds of mathematicians on MathOverflow talk about research-level math online. mathoverflow.net
And the best part about Quarto is that it is really easy to learn.

The formulas themselves use the LaTeX syntax you already know.

And the other parts are not that much different from LaTeX. If anything, they're simpler in Quarto.

Here's a little cheatsheet. Image
Equipped with this cheatsheet we can already understand most of the following Quarto code.

Notice the first few lines. These are like the header in LaTeX and contain the metadata of the document. Image
The header implies that we can create a pdf- and html-file from this. Here's how they look.

Pretty similar, right?

That's the power of Quarto.

One Interface, many Outputs. ImageImage
Alright, you get the idea.

Now, let me show you that Quarto can do all the tricks of the LaTeX trade.

I hope that once you accept that, you are less hesitant to adopt Quarto.

Once you're at that point, maybe making your beautiful math accessible online isn't so hard anymore.
So, how can we customize our pdf?

Luckily, you can still use all of your LaTeX knowledge to style your output.

In the Quarto header you can overwrite the default style with your own latex commands.

Let's use that to make the theorem and definition numbering better. Image
Don't worry if you don't understand all the changes right away.

This isn't a full-blown Quarto tutorial after all.

But I'll show you how to try out Quarto yourself at the end.
This requires two changes in the header:

1. Enable section numbering
2. Add a latex file that reformats the standard def/thm environments (using a dummy environment) ImageImageImage
Notice that the changes in our header affect ONLY the pdf-output.

This means that we get the freedom to style each output separately.
But what if we need a very specific PDF output? Like for a journal?

In that case we have 2 options:

1. Check if there is already a Quarto template for your journal.

2. Download the journal LaTeX template and use it as template in the Quarto header
Option 1: Quarto template

The list of journal-specific templates is currently short. After all, Quarto is quite new.

But the list is growing. You can find a current list here
github.com/mcanouil/aweso…
Option 2: Use a LaTeX template

You can declare a LaTeX template in the header. For example, here's a pdf generated from the Wiley template.

The mechanics are a bit tricky to describe in 280 characters. But the Quarto docs explain it very well at quarto.org/docs/journals/… Image
Finally, let me address maybe one last concern:

What about the tex-code? At some point you will need tex-code for the journal or someone else.

But that's no problem at all. You can simply set "keep-tex" to true in the header and you will have both the pdf- and the tex-file.
Alright, that's a wrap.

I hope that you enjoyed this thread. If so, don't forget to spread the word.

Are you curious about Quarto now? You can find resources to get started at

• • •

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

Keep Current with IAmSciComm - Albert Rapp

IAmSciComm - Albert Rapp 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 @iamscicomm

Nov 2
I have 10+ years of university-level education.

But no lecture taught me how to create good visualizations.

These things are crucial for communication but are often not part of the training.

So, let's have a crash course on visualization guidelines anyone can implement. 🧵
1. Know your audience

You can't use the same visualization for every audience.

A plot that works in a scientific journal may bore (or confuse) non-scientists.
2. Know your takeaways

Forget the dream of putting ALL of your great insights into one powerful plot.

This. does. not. work.

If anything, this dream is a gateway to using too many chart types all at once.

Visualize only your most important insights (maybe in separate plots).
Read 17 tweets
Oct 31
Quarto becomes *really* cool when you see all the beautiful outputs it can create.

Let's have a look at some more #QuartoPub examples.

Let's start with good old fashioned PDF documents.

With Quarto, you can still do all the PDF stuff you used to do.

nmfs-opensci.github.io/quarto_titlepa… ImageImage
You can even add beautiful title pages to your PDFs.
nmfs-opensci.github.io/quarto_titlepa… Image
Read 9 tweets
Aug 30
Alright, another common misconception I encounter is the gene vs allele/variant mixup. Most often I see it phrased something like "She has the gene for breast cancer."
In this example, I think we all understand what the person means: she has a genetic variant that makes her more predisposed to breast cancer. For a lot of purposes, that's the only information we really need.
But in reality, we all have two copies or alleles of the BRCA2 gene, one from each parent. But some of us have versions of that gene that make us more prone to developing breast cancer.
Read 9 tweets
Aug 30
Alright, time to talk some DNA misconceptions and how we can try and break them down!

First up, myths about dominant and recessive traits.
This one hurts, because I thought a lot of these were true for a while!

Often when learning about genetics, we learn that things like tongue-rolling, attached earlobes, and PTC tasting are pure dominant/recessive traits. They're simple, easy traits to demonstrate in a classroom.
But unfortunately, many of them aren't really true dominant/recessive traits! There's a great website called "Myths of Human Genetics" by John H. McDonald at the University of Delaware that breaks down where many of these myths came from: udel.edu/~mcdonald/myth…
Read 12 tweets
Aug 30
Good morning, all! Today, we're gonna talk about the importance of SciComm in Genetics. Why genetics specifically?

Because that's what my PhD is in, so I'm biased towards it being the coolest science 😂.
BUT ALSO because I strongly believe we're all increasingly asked to make choices that involve genetics in our everyday lives, and I want to equip everyone with the vocabulary to feel comfortable making these choices, from getting a DNA test at the doctor to understanding GMOs.
And while I've believed this for a long time, it was thrown into an incredible spotlight over the past few years, as things like PCR and RNA became household words. Imagine my delight as I saw RNA trending, and then the sadness as I found threads full of misinformation.
Read 6 tweets
Aug 29
I am always happy to help with this question! Here's a thread on my best recs for starting out in video.
First, if you have a smartphone with a video camera, you already have a very impressive piece of equipment in your hand. Multiple feature films have been shot on smartphones recently (admittedly they often have some extra lenses on them) and the quality can really be stunning.
(Also the saying "The best camera is the one you have with you," really applies here).
Read 13 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!

:(