Trucos LaTeX

From Asociación de Robótica UC3M
Revision as of 18:28, 23 May 2016 by Jgvictores (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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