Created
June 13, 2017 17:42
-
-
Save germanD/29af6c4fa0e663ee0cf92fccc553c6cf to your computer and use it in GitHub Desktop.
My Skull comments
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
\newcommand{\mute}[1]{\ifdefined\draftflag{#1} \else{} \fi} | |
% Requires flag \draftflag to be passed around to .tex, | |
% or defined here | |
\usepackage{skull} | |
\newcounter{ToDos} | |
\newcounter{WarnCounts} | |
\newcommand{\decorateWC}{ | |
\stepcounter{WarnCounts} | |
\marginpar{\textcolor{red}{$\skull\ \theWarnCounts$}}} | |
\newcommand{\decorateTD}{ | |
\stepcounter{ToDos} | |
\marginnote{\textcolor{red}{$\textbf{TO DO}_{\#\ \theToDos}$}}} | |
% Skeleton for remark comments | |
% 1: Name, 2: Color, 3:Comment | |
\newcommand{\signedComment}[3] | |
{\mute{\textcolor{#2}{(#1: {#3})}\decorateWC}} | |
% remarks | |
%%\newcommand{\todo}[1]{\mute{\textcolor{red}{(TO DO:{#1})}\decorateTD}} | |
\newcommand{\todo}[1]{\mute{\textcolor{red}{{\large \bf (TO DO:)}{#1}}\decorateWC}} | |
\newcommand{\gad}[1]{\signedComment{GAD}{red}{#1}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment