Last active
March 27, 2018 12:50
-
-
Save ferrine/16bd5508327a02bfd46657ba1193ff5a to your computer and use it in GitHub Desktop.
Latex optional gray C++ style author notes
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
\newif\ifIncludeAuthorNotes | |
% Comment the below line to remove notes from text | |
\IncludeAuthorNotestrue | |
\DeclareRobustCommand{\note}[1]{ | |
\ifIncludeAuthorNotes | |
% the below line skips are intentional and force comment to be on a separate line | |
\textcolor{gray}{/* #1 */} | |
\fi | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment