I would like to be able to overlay a title of one color onto the same title of a different color to achieve a different effect; and I would like, if possible, to do this automatically without creating a special environment. (This is easy to do with, say, apspicture
with two\rput
commands)
Consider
\documentclass{book}
\usepackage{xcolor}
\definecolor{aqua}{RGB}{0, 188, 188}
\begin{document}
\thispagestyle{empty}
\Huge
\begin{center}
\textbf{\color{black}{HOW TO OVERLAY THIS TITLE}}
\textbf{\color{aqua}{HOW TO OVERLAY THIS TITLE}}
\vspace*{45pt}
{\textbf{\color{black}{HOW TO OVERLAY THIS TITLE}}}\\[-30pt]
{\textbf{\color{aqua}{HOW TO OVERLAY THIS TITLE}}}
\end{center}
\vspace*{35pt}
That is, how to do it \underline{\textit{automatically}}.
\end{document}
which yields
In the MWE, I want to overlay the light aqua title over the black title---which I had accomplished by "trial and error" and inspection using a series of \\[]
commands until I determined that \\[-30pt]
seems to work.
But, I would like to know if there is a command of some sort that will do this automatically without invoking any special environment like pspicture
, tikz
, etc.? (Or is, perhaps, trial and error with negative vertical skips the (only) way for the usual document environment?)
\rlap
and\llap
; but by automatic, I mean using code to do the overlaying, as opposed to the trial and error method of negative vertical skips until the overlay is approximated by vision.