Created
March 27, 2024 12:07
-
-
Save johnwickerson/681c33e624256827453384a161cafaf9 to your computer and use it in GitHub Desktop.
Some simple LaTeX macros for commenting on a document
This file contains hidden or 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\ifCOMMENTS | |
\COMMENTStrue | |
\usepackage{soul} | |
\ifCOMMENTS | |
\newcommand{\Comment}[3]{\textcolor{#1}{{\bf [\![#2:}~#3{\bf ]\!]}}} | |
\else | |
\newcommand{\Comment}[3]{} | |
\fi | |
\newcommand\JW[2][]{{\Comment{red!75!black}{JW}{\st{#1} #2}}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment