Marcelliniโ€™s Blog
  • Home
  • ๐Ÿงญ Explore
    • ๐Ÿท๏ธ Tags
    • ๐Ÿ“‚ Categories
  • ๐Ÿง  Exact Sciences
    • ๐Ÿงฎ Mathematics
    • ๐Ÿ“Š Statistics
    • ๐Ÿ”ญ Physics
    • ๐Ÿ’ป Programming
  • ๐Ÿ“ Personal Blog
    • ๐Ÿ“ Personal Blog
    • ๐Ÿ‘ค About Me and the Blog
  • ๐Ÿ“˜ Courses
    • ๐Ÿงฎ Math Courses
    • ๐Ÿ“Š Statistics Courses
  • ๐Ÿ—บ๏ธ Site Map
  • PT ๐Ÿ‡ง๐Ÿ‡ท
  • Contact

On this page

  • 1 ๐Ÿ“˜ ๐Ÿ‘จโ€๐Ÿ’ป ๐Ÿ“ LaTeX Templates for Use with Quarto
    • 1.1 Introduction
    • 1.2 Inline Equations
    • 1.3 Block Equations
    • 1.4 Systems of Equations
    • 1.5 Matrices
    • 1.6 Summations, Products, Integrals
    • 1.7 Fractions, Powers, and Roots
    • 1.8 Logic and Sets
    • 1.9 Conclusion
  • 2 ๐Ÿ”— Useful Links

๐Ÿ“˜ ๐Ÿ‘จโ€๐Ÿ’ป ๐Ÿ“ LaTeX Templates for Use with Quarto

programming
LaTeX
Quarto
article
Quarto allows the use of mathematical formulas with LaTeX inside .qmd files, both inline and in block form.
Author

Blog do Marcellini

Published

June 27, 2025


โ† Back to the Programming Reading Guide ๐Ÿ‘จโ€๐Ÿ’ป

โ† Back to the LaTeX Section ๐Ÿ“

โ† Back to the Programming Section ๐Ÿ‘จโ€๐Ÿ’ป


LaTeX

1 ๐Ÿ“˜ ๐Ÿ‘จโ€๐Ÿ’ป ๐Ÿ“ LaTeX Templates for Use with Quarto

1.1 Introduction

Quarto allows the use of mathematical formulas with LaTeX inside .qmd files, both inline and in blocks.
This makes it possible to create scientific, technical, and educational documents with precise and elegant mathematical notation.


1.2 Inline Equations

Inline equations are written between $ and $:

Example:

Euler's identity is: $e^{i\pi} + 1 = 0$

Result:

Eulerโ€™s identity is: \(e^{i\pi} + 1 = 0\)


1.3 Block Equations

Block equations use $$ as delimiters and are centered:

$$
x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}
$$

Result:

\[ x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a} \]


1.4 Systems of Equations

You can use \begin{align} or \begin{cases}:

$$
\begin{cases}
x + y = 2 \\
2x - y = 3
\end{cases}
$$

Result:

\[ \begin{cases} x + y = 2 \\ 2x - y = 3 \end{cases} \]


1.5 Matrices

$$
A = \begin{bmatrix}
1 & 2 \\
3 & 4
\end{bmatrix}
$$

Result:

\[ A = \begin{bmatrix} 1 & 2 \\ 3 & 4 \end{bmatrix} \]


1.6 Summations, Products, Integrals

$$
\sum_{i=1}^{n} i = \frac{n(n+1)}{2}
$$

$$
\prod_{k=1}^{n} k = n!
$$

$$
\int_0^\infty e^{-x} dx = 1
$$

Result:

\[ \sum_{i=1}^{n} i = \frac{n(n+1)}{2} \]

\[ \prod_{k=1}^{n} k = n! \]

\[ \int_0^\infty e^{-x} dx = 1 \]


1.7 Fractions, Powers, and Roots

$$
\frac{a + b}{c}, \quad x^2, \quad \sqrt{x}, \quad \sqrt[3]{x}
$$

Result:

\[ \frac{a + b}{c}, \quad x^2, \quad \sqrt{x}, \quad \sqrt[3]{x} \]


1.8 Logic and Sets

$$
A \cap B, \quad A \cup B, \quad A \subseteq B, \quad A \in B
$$

$$
\forall x \in \mathbb{R}, \quad \exists y > 0
$$

Result:

\[ A \cap B, \quad A \cup B, \quad A \subseteq B, \quad A \in B \]

\[ \forall x \in \mathbb{R}, \quad \exists y > 0 \]


1.9 Conclusion

LaTeX support in Quarto allows you to write mathematical expressions with the same power and precision as a scientific paper.
These templates serve as a foundation for producing technical and educational content with a high visual standard.


โ† Back to the Programming Reading Guide ๐Ÿ‘จโ€๐Ÿ’ป

โ† Back to the LaTeX Section ๐Ÿ“

โ† Back to the Programming Section ๐Ÿ‘จโ€๐Ÿ’ป


๐Ÿ” Back to Top


Blog do Marcellini โ€” Exploring Mathematics, Statistics, and Physics with Rigor and Beauty.

Note

Created by Blog do Marcellini with โค๏ธ and code.

2 ๐Ÿ”— Useful Links

  • ๐Ÿง‘โ€๐Ÿซ About the Blog
  • ๐Ÿ’ป Project GitHub
  • ๐Ÿ“ฌ Contact via Email

ยฉ 2025 - Marcelliniโ€™s Blog

 

๐Ÿ“ฌ Contact via Email
๐Ÿ’ป GitHub Repository