Monday, May 18, 2015

Strikethrough package in Latex

\documentclass[a4paper]{article}
% package for strike through
\usepackage{ulem}
\usepackage{xcolor}
\definecolor{darkgreen}{rgb}{0,0.4,0}

\begin{document}

...

\textcolor{red}{\sout{something has to be struck out}}

\textcolor{blue}{something has been added}

\textcolor{darkgreen}{something has been updated}

...


\end{document}

No comments:

Post a Comment