Difference between revisions of "Trucos LaTeX"
Jump to navigation
Jump to search
Jgvictores (talk | contribs) (Created page with "% Define a command for comments \usepackage{color} \newcommand{\comment}[1]{\textbf{\color{cyan} #1}} \newcommand{\warning}[1]{\textbf{\color{red} #1}} \newcommand{\reftodo}[0...") |
Jgvictores (talk | contribs) |
||
Line 1: | Line 1: | ||
− | % Define a command for comments | + | % Define a command for comments |
− | \usepackage{color} | + | \usepackage{color} |
− | \newcommand{\comment}[1]{\textbf{\color{cyan} #1}} | + | \newcommand{\comment}[1]{\textbf{\color{cyan} #1}} |
− | \newcommand{\warning}[1]{\textbf{\color{red} #1}} | + | \newcommand{\warning}[1]{\textbf{\color{red} #1}} |
− | \newcommand{\reftodo}[0]{\textbf{\color{magenta} [Ref]~}} | + | \newcommand{\reftodo}[0]{\textbf{\color{magenta} [Ref]~}} |
− | + | ||
− | % Non-standard comments (require package latex-xcolor) | + | % Non-standard comments (require package latex-xcolor) |
− | \usepackage[dvipsnames]{xcolor} | + | \usepackage[dvipsnames]{xcolor} |
− | \newcommand{\juansays}[1]{\textit{\color{Plum} #1}} | + | \newcommand{\juansays}[1]{\textit{\color{Plum} #1}} |
necesitáis los paquetes de color esos: | necesitáis los paquetes de color esos: | ||
$ sudo apt-get install latex-xcolor | $ sudo apt-get install latex-xcolor |
Latest revision as of 18:28, 23 May 2016
% 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