%%% cut %%% teachernotes.sty %%% cut %%%
% File:        ifdraft.sty
% Version:     1999/12/29 v1.0
% Author:      Heiko Oberdiek
%
% Function:    Switch for option draft.
%
% Copyright:   Copyright (C) 1999 Heiko Oberdiek.
%
%              This program may be distributed and/or modified under
%              the conditions of the LaTeX Project Public License,
%              either version 1.1 of this license or (at your option)
%              any later version. The latest version of this license
%              is in
%                http://www.latex-project.org/lppl.txt
%              and version 1.1 or later is part of all distributions
%              of LaTeX version 1999/06/01 or later.
%
% Use:         \usepackage{teachernotes}
%              \ifdraft{<draft case>}{<final case>}
%
% History:     1999/12/28 v1.0: first public release
%

\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{teachernotes}[1999/12/28 v1.0 implement teachernotes commands]
\RequirePackage[tikz]{bclogo}
\newif\if@notes
\DeclareOption{notes}{\@notestrue}
\DeclareOption{nonotes}{\@notesfalse}
\ProcessOptions

\makeatletter
\newcommand{\teachernotes}[3][]{}
\if@notes
    \mode<article>{\renewcommand{\teachernotes}[2][]{%
      \begin{bclogo}[couleur=blue!10,arrondi=0.3,logo=\bcclesol,ombre=true,barre=snake]{#1}%
        #2%
      \end{bclogo}%
    }}
\fi
\makeatother
\endinput