added comments macros

This commit is contained in:
Carlos Galindo 2019-10-21 08:58:58 +00:00
parent 0442e88096
commit cc362f8ff6

View file

@ -24,6 +24,42 @@
\usepackage{todonotes}
\usepackage{marginnote}
\newif\ifpaperVersion
%\paperVersiontrue
\paperVersionfalse
\ifpaperVersion
% Paper version
\newcommand{\ignore}[1]{}
\newcommand{\deleted}[1]{}
\newcommand{\added}[1]{#1}
\newcommand{\pending}[1]{}
\newcommand{\done}[1]{}
\newcommand{\doubt}[1]{}
\newcommand{\josep}[1]{}
\newcommand{\david}[1]{}
\newcommand{\sergio}[1]{}
\newcommand{\tama}[1]{}
\else
% Working
\definecolor{ignoreColor}{rgb}{1,0.5,0}
\definecolor{pendingColor}{rgb}{0.2,0.7,0.2}
\definecolor{doneColor}{rgb}{0.7,0.2,0.7}
\definecolor{doubtColor}{rgb}{0.6,0.6,0.4}
\definecolor{josepColor}{rgb}{0.2,0.6,0.6}
\definecolor{carlosColor}{rgb}{0.6,0.2,0.6}
\definecolor{sergioColor}{rgb}{1.0,0.5,0.0}
\newcommand{\ignore}[1]{\textcolor{ignoreColor}{\#Ignored: #1}}
\newcommand{\deleted}[1]{\textcolor{red}{\#Deleted: #1}}
\newcommand{\added}[1]{\textcolor{blue}{\#Added: #1}}
\newcommand{\pending}[1]{\textcolor{pendingColor}{\#Pending: #1}}
\newcommand{\done}[1]{\textcolor{doneColor}{\#Done: #1}}
\newcommand{\doubt}[1]{\textcolor{doubtColor}{\#Doubt: #1}}
\newcommand{\josep}[1]{\textcolor{josepColor}{\#JJJ: #1}}
\newcommand{\carlos}[1]{\textcolor{carlosColor}{\#CCC: #1}}
\newcommand{\sergio}[1]{\textcolor{sergioColor}{\#SSS: #1}}
\fi
\title{Fragmentación de programas con excepciones}
%\title{Program slicing with exceptions}
\author{Carlos S. Galindo Jiménez}