I would like to mark revised parts of a large document in color, and up to now always used
\usepackage{xcolor}
\newcommand\rev[1]{\textcolor{red}{#1}}
to then do
Lorem ipsum dolor \rev{git} amet, consetetur sadipscing elitr,
This works well, but unfortunately influences the placement of glyphs sometimes, e.g.,
\documentclass{article}
\setlength{\parindent}{0pt}
\usepackage{amsmath}
\usepackage{xcolor}
\newcommand\rev[1]{\textcolor{red}{#1}}
\begin{document}
AV\\
\rev{A}V
\begin{align}
&U \oplus V\\
&U \rev{\oplus} V
\end{align}
\end{document}
gives

What is a better way of coloring parts of a document?



\documentclass{...}, the required\usepackage's,\begin{document}, and\end{document}. That may seem tedious to you, but think of the extra work it represents for TeX.SX users willing to give you a hand. Help them help you: remove that one hurdle between you and a solution to your problem. – jub0bs Jun 06 '14 at 09:58\oplusis math, whereas your defined color is using\textcolor, which is used for text... but that's just my guess – Mario S. E. Jun 06 '14 at 09:58