Doing More with Quarto

Now that you know how to add figures, tables and references, you can go beyond the basics and add more elements to you research article.

  1. Adding Table of Contents
  2. Adding List of Tables/Figures
  3. Adding Chapters
  4. Adding Appendices
  5. Multiple Outputs

Adding Table to Contents

You can add Table of Contents to you article by adding the toc: true in your YAML.

For Example:

---
title: "My Article"
format: 
  html: 
    toc: true
---

You can also number the sections and specify the depth of the table of contents by specifying the depth and numbering options.

---
title: "My Article"
format: 
  html:
    toc: true
    toc-depth: 3
    number-sections: TRUE
---

Adding List of Figures/Tables

You can also add the List of Figures and List of Tables by adding lot: true and lof: true in the YAML.

---
title: "My Article"
format: 
  html: 
    toc: true
    lof: true
    lof: true
---

Adding Chapters/Appendices

You can add chapters to your Quarto Documents using the short code option.

For Example: You can add a *.qmd file like below…

This would include the content in the introduction.qmd within the current file.

You can know more about include shortcodes here.

Multiple Outputs

Quarto has an arsenal of outputs for your research needs.

  • Documents
  • Presentations
  • Web Pages
  • Books
  • Dashboards
  • Interactive Visualizations
  • and much more…

We will learn more about it in detail subsequently.