0

how can I highlight text with the following effect? The darkness of the color indicates the importance of the text.

enter image description here

8

Here is one approach using TikZ.

\documentclass{standalone}
\usepackage{tikz}
\usetikzlibrary{fadings}

\begin{document}
100
\tikz[baseline=(A.base)]{\node[opacity=0](A) {centavos};
\shade[inner color=blue] (A.south east) rectangle (A.north west);
\path (A.center) \pgfextra{\pgftext{centavos}};}, represented by
\end{document}

highlight

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.