Hi All.
I would like to have a character 'w' that is half green, half red.
Has anybody a clue for this issue?
Bye!
Text Formatting ⇒ Bicolor character
NEW: TikZ book now 40% off at Amazon.com for a short time.

Bicolor character
There is a suggestion with tikz:
Code: Select all
\documentclass{scrartcl}
\usepackage{tikz}
\newcommand\grletter[1]{%
\tikz[baseline=(l.base),inner sep=0pt,outer sep=0pt]{
\node[green](l){\phantom{#1}};
\begin{scope}
\clip(l.south)rectangle(l.north west);\node[green]at(l){#1};
\end{scope}
\begin{scope}
\clip(l.south)rectangle(l.north east);\node[red]at(l){#1};
\end{scope}
}%
}
\begin{document}
Text \grletter{w} Text \grletter{p}
\end{document}