-
-
Save nehiljain/080aacbeb11414b43f7a to your computer and use it in GitHub Desktop.
Put comments in latex.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\newcount\Comments % 0 suppresses notes to selves in text | |
\Comments=1 % TODO: set to 0 for final version | |
% for comments | |
\usepackage{color} | |
\definecolor{darkgreen}{rgb}{0,0.5,0} | |
\definecolor{purple}{rgb}{1,0,1} | |
% \kibitz{color}{comment} inserts a colored comment in the text | |
\newcommand{\kibitz}[2]{\ifnum\Comments=1\textcolor{#1}{#2}\fi} | |
% add yourself here: | |
\newcommand{\nehil}[1]{\kibitz{red} {[NJ: #1]}} | |
\newcommand{\jeremy}[1] {\kibitz{purple} {[JK: #1]}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment