Files
2025-2026/tools/style/notbeamer.sty
Bertrand Benjamin 670a8a1b43
Some checks failed
Sync to mirror repository / sync (push) Failing after 46s
Publish content / push (push) Successful in 1m13s
Publish content / build (push) Successful in 3m19s
Publish content / deploy (push) Successful in 46s
feat(tstmg): affine cours sur les moyennes
2025-11-04 09:43:17 +01:00

115 lines
2.5 KiB
TeX
Executable File

\NeedsTeXFormat{LaTeX2e}
% Pour gérer les todo
\RequirePackage[framemethod=tikz]{mdframed}
\global\mdfdefinestyle{highlight}{%
linecolor=orange, backgroundcolor=orange!10,
linewidth=3pt, roundcorner=5pt,
leftmargin=1cm,rightmargin=1cm,
}
\newcounter{afaire}
\newcommand{\afaire}[2][]{%
% initials of the author (optional) + note in the margin
\refstepcounter{afaire}%
\bigskip
\begin{mdframed}[style=highlight,frametitle={\textbf{À faire au crayon à papier}}]
#2%
\end{mdframed}
\bigskip
}
\newcounter{envideo}
\newcommand{\envideo}[3][]{%
\refstepcounter{envideo}%
{%
\begin{mdframed}[style=highlight,
linecolor=green, backgroundcolor=green!10,
frametitle={\textbf{Voir la vidéo}}
]
#3
\begin{minipage}{0.2\linewidth}
\qrcode{#2}
\end{minipage}
\begin{minipage}{0.8\linewidth}
\url{#2}
\end{minipage}
\end{mdframed}
}}
\newcounter{enplus}
\newcommand{\enplus}[3][]{%
\refstepcounter{enplus}%
{%
\begin{mdframed}[style=highlight,
linecolor=green, backgroundcolor=green!10,
frametitle={\textbf{Pour aller plus loin}}
]
#3
\begin{minipage}{0.2\linewidth}
\qrcode{#2}
\end{minipage}
\begin{minipage}{0.8\linewidth}
\url{#2}
\end{minipage}
\end{mdframed}
}}
\newcounter{enclasse}
\newcommand{\enclasse}[2][]{%
\refstepcounter{enclasse}%
\begin{mdframed}[style=highlight]
\textbf{Sera complété en classe}~#2%
\end{mdframed}
}
\newcounter{arediger}
\newcommand{\arediger}[2][]{%
\refstepcounter{afaire}%
{%
\begin{mdframed}[style=highlight]
\textbf{À rédiger et m'envoyer par mail:}~#2%
\end{mdframed}
}}
\usepackage[tikz]{bclogo}
% Environnements théoreme, définition ...
\newenvironment{encadre}[1]
{
\begin{bclogo}[barre=none, arrondi=0.1, logo=]{#1}
}{
\end{bclogo}
}
\newcounter{doc}
\newenvironment{doc}[1]
{\refstepcounter{doc}
\begin{encadre}{Document \thedoc: #1}
}{
\end{encadre}
}
\newenvironment{definition}[1][]
{
\begin{encadre}{Définition: #1}
}{
\end{encadre}
}
\newenvironment{propriete}[1][]
{
\begin{encadre}{Propriété: #1}
}{
\end{encadre}
}
\newenvironment{methode}[1][]
{
\begin{encadre}{Méthode: #1}
}{
\end{encadre}
}