Skip to content

Instantly share code, notes, and snippets.

@dee-me-tree-or-love
Last active September 9, 2025 12:56
Show Gist options
  • Select an option

  • Save dee-me-tree-or-love/56babedf1439f8e8b724b0e7065177d8 to your computer and use it in GitHub Desktop.

Select an option

Save dee-me-tree-or-love/56babedf1439f8e8b724b0e7065177d8 to your computer and use it in GitHub Desktop.
πŸ“ Simple todo's and author utilities for annotating LaTeX
% Creates a basic in-text todo note with a margin callout mark.
%
% Arguments:
% (required) - todo text
% (optional) - mark symbol, default: $\odot$, provide an empty value to skip.
%
% Examples:
% \todoM{do the dishes before starting the next paragraph}
% \todoM[$\star$]{mention this later, mark with a star}
% \todoM[]{recall this, even without a margin mark}
%
\newcommand{\todoM}[2][$\odot$]{
{\marginpar{{\color{purple} #1}}}
{\color{purple}\textbf{TODO:} #2}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment