Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
% Simple package for inserting notes
% ChaTo - http://www.chato.cl/
% Mon Jun 11 10:31:53 CEST 2007
\ProvidesPackage{chato-notes}[2007/06/11 ChaTo notes]
\RequirePackage{color,marvosym}
% Colors
\definecolor{MyRed}{rgb}{0.6,0.0,0.0}
\definecolor{MyBlack}{rgb}{0.1,0.1,0.1}
\newcommand{\inred}[1]{{\color{MyRed}\sf\textbf{\textsc{#1}}}}
% Frame
\newcommand{\frameit}[2]{
\begin{center}
{\color{MyRed}
\framebox[.9\columnwidth][l]{
\begin{minipage}{.85\columnwidth}
\inred{#1}: {\sf\color{MyBlack}#2}
\end{minipage}
}\\
}
\end{center}
}
\DeclareOption{show}{
\newcommand{\note}[2][]{\frameit{{\Large } Note}{#2 \mbox{--\em #1}}}
\newcommand{\todo}[2][]{\frameit{{\Large } To-do}{#2 \mbox{--\em #1}}}
\newcommand{\inote}[1]{\inred{$\lceil${{\large } }} {\sf #1} \inred{$\rfloor$}}
}
\DeclareOption{hide}{
\newcommand{\note}[2]{}
\newcommand{\todo}[2]{}
\newcommand{\inote}[2]{}
}
\ProcessOptions