LaTeX Snippets

Here are some snippets that can be useful for those writing articles or thesis in LaTeX:

Inserting comments

This is a “inline” version, will post the “side note” version later.

 {\sffamily\small$\triangleright~${\it\sffamily\small #2}$~\triangleleft$}


% add here macros for other reviewers


% use in the text as follows

This is a sentence with a remark \rr{This sentence needs to be reviewed}.

Inserting a figure

\newcommand{\myfig}[3] %label, caption, filename