Feat: Deplace todo et bclog vers notbeamer
This commit is contained in:
parent
b7a7355898
commit
eacb27f288
@ -31,9 +31,6 @@
|
||||
% Espaces pour écrire les grands nombres
|
||||
\RequirePackage[np]{numprint}
|
||||
|
||||
% BClogo
|
||||
\usepackage[tikz]{bclogo}
|
||||
|
||||
% Outils pour les tableaux et les fonctions
|
||||
\RequirePackage{tkz-tab}
|
||||
\RequirePackage{tkz-fct}
|
||||
|
@ -4,6 +4,7 @@
|
||||
\RequirePackage{colorscheme}
|
||||
\RequirePackage{base}
|
||||
\RequirePackage{myhdr}
|
||||
\RequirePackage{notbeamer}
|
||||
|
||||
\RequirePackage[no-files]{xsim}
|
||||
|
||||
|
82
tools/style/notbeamer.sty
Executable file
82
tools/style/notbeamer.sty
Executable file
@ -0,0 +1,82 @@
|
||||
\NeedsTeXFormat{LaTeX2e}
|
||||
|
||||
|
||||
% Pour gérer les todo
|
||||
\RequirePackage[french]{todonotes}
|
||||
\newcounter{afaire}
|
||||
\newcommand{\afaire}[2][]{%
|
||||
% initials of the author (optional) + note in the margin
|
||||
\refstepcounter{afaire}%
|
||||
{%
|
||||
%\setstretch{0.7}% spacing
|
||||
\todo[inline,#1]{%
|
||||
\textbf{À faire au crayon à papier:}~#2}%
|
||||
}}
|
||||
\newcounter{envideo}
|
||||
\newcommand{\envideo}[3][]{%
|
||||
% initials of the author (optional) + note in the margin
|
||||
\refstepcounter{envideo}%
|
||||
{%
|
||||
%\setstretch{0.7}% spacing
|
||||
\todo[inline,backgroundcolor=green,#1]{%
|
||||
\textbf{Voir la vidéo}~ #3
|
||||
|
||||
\begin{minipage}{0.2\linewidth}
|
||||
\qrcode{#2}
|
||||
\end{minipage}
|
||||
\begin{minipage}{0.8\linewidth}
|
||||
\url{#2}
|
||||
\end{minipage}
|
||||
|
||||
}%
|
||||
}}
|
||||
\newcounter{enclasse}
|
||||
\newcommand{\enclasse}[2][]{%
|
||||
% initials of the author (optional) + note in the margin
|
||||
\refstepcounter{enclasse}%
|
||||
{%
|
||||
%\setstretch{0.7}% spacing
|
||||
\todo[inline,backgroundcolor=green,#1]{%
|
||||
\textbf{Sera complété en classe}~#2}%
|
||||
}}
|
||||
\newcounter{arediger}
|
||||
\newcommand{\arediger}[2][]{%
|
||||
% initials of the author (optional) + note in the margin
|
||||
\refstepcounter{afaire}%
|
||||
{%
|
||||
%\setstretch{0.7}% spacing
|
||||
\todo[inline,#1]{%
|
||||
\textbf{À rédiger et m'envoyer par mail:}~#2}%
|
||||
}}
|
||||
|
||||
|
||||
\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}
|
||||
}
|
||||
|
||||
\renewenvironment{definition}
|
||||
{
|
||||
\begin{encadre}{Définition}
|
||||
}{
|
||||
\end{encadre}
|
||||
}
|
||||
|
||||
\newenvironment{propriete}
|
||||
{
|
||||
\begin{encadre}{Propriété}
|
||||
}{
|
||||
\end{encadre}
|
||||
}
|
@ -302,80 +302,3 @@
|
||||
scale=.1,
|
||||
}
|
||||
|
||||
% Pour gérer les todo
|
||||
\RequirePackage[french]{todonotes}
|
||||
\newcounter{afaire}
|
||||
\newcommand{\afaire}[2][]{%
|
||||
% initials of the author (optional) + note in the margin
|
||||
\refstepcounter{afaire}%
|
||||
{%
|
||||
%\setstretch{0.7}% spacing
|
||||
\todo[inline,#1]{%
|
||||
\textbf{À faire au crayon à papier:}~#2}%
|
||||
}}
|
||||
\newcounter{envideo}
|
||||
\newcommand{\envideo}[3][]{%
|
||||
% initials of the author (optional) + note in the margin
|
||||
\refstepcounter{envideo}%
|
||||
{%
|
||||
%\setstretch{0.7}% spacing
|
||||
\todo[inline,backgroundcolor=green,#1]{%
|
||||
\textbf{Voir la vidéo}~ #3
|
||||
|
||||
\begin{minipage}{0.2\linewidth}
|
||||
\qrcode{#2}
|
||||
\end{minipage}
|
||||
\begin{minipage}{0.8\linewidth}
|
||||
\url{#2}
|
||||
\end{minipage}
|
||||
|
||||
}%
|
||||
}}
|
||||
\newcounter{enclasse}
|
||||
\newcommand{\enclasse}[2][]{%
|
||||
% initials of the author (optional) + note in the margin
|
||||
\refstepcounter{enclasse}%
|
||||
{%
|
||||
%\setstretch{0.7}% spacing
|
||||
\todo[inline,backgroundcolor=green,#1]{%
|
||||
\textbf{Sera complété en classe}~#2}%
|
||||
}}
|
||||
\newcounter{arediger}
|
||||
\newcommand{\arediger}[2][]{%
|
||||
% initials of the author (optional) + note in the margin
|
||||
\refstepcounter{afaire}%
|
||||
{%
|
||||
%\setstretch{0.7}% spacing
|
||||
\todo[inline,#1]{%
|
||||
\textbf{À rédiger et m'envoyer par mail:}~#2}%
|
||||
}}
|
||||
|
||||
% 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}
|
||||
{
|
||||
\begin{encadre}{Définition}
|
||||
}{
|
||||
\end{encadre}
|
||||
}
|
||||
|
||||
\newenvironment{propriete}
|
||||
{
|
||||
\begin{encadre}{Propriété}
|
||||
}{
|
||||
\end{encadre}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user