91 lines
1.7 KiB
Plaintext
91 lines
1.7 KiB
Plaintext
---
|
|
title: "Template Quarto"
|
|
subtitle: "pour mes documents"
|
|
type-document:
|
|
cours: true
|
|
format:
|
|
cours-pdf:
|
|
toc: false
|
|
author: Jeff LANCE
|
|
date: last-modified
|
|
---
|
|
|
|
# Introduction
|
|
|
|
Cette extension est un template pour mes documents de cours.\
|
|
Elle est basée sur ma classe $\LaTeX$ `latex-homework/jl-cours`.
|
|
|
|
Ce document est un exemple d'usage de ce template.
|
|
|
|
# Une section
|
|
|
|
\lipsum[1]
|
|
|
|
## Une sous-section
|
|
|
|
\lipsum[1]
|
|
|
|
### Une sous-sous-section
|
|
|
|
\lipsum[1]
|
|
|
|
# Tableaux avec ``tabularray``
|
|
|
|
\begin{center}
|
|
\begin{tblr}{
|
|
colspec={Q[red9,l]Q[c,capri,3cm]ccQ[green9,r]},
|
|
hlines, vlines
|
|
}
|
|
cell 1-1 & cell 1-2 & cell 1-3 & cell 1-4 & cell 1-5 \\
|
|
cell 2-1 & cell 2-2 & cell 2-3 & cell 2-4 & cell 2-5
|
|
\end{tblr}
|
|
\end{center}
|
|
|
|
# Besoin de sauter une page
|
|
|
|
:::{.center}
|
|
Blabla.
|
|
:::
|
|
|
|
# Test des couleurs
|
|
|
|
Test : \textcolor{crimsonglory}{Ce texte est en `crimsonglory`}. Ici en normal.
|
|
|
|
# Test des environnements
|
|
|
|
\begin{definition}[sous-titre]
|
|
Ceci est une définition.
|
|
\end{definition}
|
|
|
|
\begin{definition}*[\textcolor{amber}{sous-titre}]
|
|
Ceci est un définition.
|
|
\end{definition}
|
|
|
|
[En utilisant]{.tanColor} l'extension `latex-environment`.\
|
|
:::
|
|
|
|
:::{.definition options="nouveau"}
|
|
Ceci est encore une définition.
|
|
:::
|
|
|
|
\begin{propriete}[sous-titre]
|
|
Ceci est une propriété.
|
|
\end{propriete}
|
|
|
|
\begin{propriete}*[\textcolor{brickred}{sous-titre}]
|
|
Ceci est un propriété.
|
|
\end{propriete}
|
|
|
|
\begin{theoreme}[sous-titre]
|
|
Ceci est une théorème.
|
|
\end{theoreme}
|
|
|
|
\begin{theoreme}*[\textcolor{columbiablue}{\textbf{sous-titre}}]
|
|
Ceci est un théorème.
|
|
\end{theoreme}
|
|
|
|
# More Information
|
|
|
|
You can learn more about controlling the appearance of PDF output here: <https://quarto.org/docs/output-formats/pdf-basics.html>
|
|
|