Highlight text in latex

Example

\documentclass{article}
\usepackage{hyperref}
\hypersetup{colorlinks=true,}
\usepackage{soul}

\begin{document}

\part[title]{\hl{demontration}}

\hl{
this is the
highlighted text
}

\end{document}

Output

highlight

Share

You may also like...