Trucos LaTeX

From Asociación de Robótica UC3M
Jump to navigation Jump to search
% Define a command for comments
\usepackage{color}
\newcommand{\comment}[1]{\textbf{\color{cyan} #1}}
\newcommand{\warning}[1]{\textbf{\color{red} #1}}
\newcommand{\reftodo}[0]{\textbf{\color{magenta} [Ref]~}}

% Non-standard comments (require package latex-xcolor)
\usepackage[dvipsnames]{xcolor}
\newcommand{\juansays}[1]{\textit{\color{Plum} #1}}

necesitáis los paquetes de color esos:

   $ sudo apt-get install latex-xcolor