[Tex/LaTex] Scary Font Echo Effect

backgroundsfontsshadows

I'm trying to reproduce a strange font effect that is normally seen in horror movie trailers. In the trailers, a word will usually be flashed on screen, with 'echos' or 'shadows' of the word around it.

I failed utterly to find an example, but I rigged up an image that looks something like the effect:
enter image description here

In some renditions, the shadows overlap the word, in others the shadows don't touch the word; I am not particular.

My question is: How would you achieve this effect on a few words or part of a sentence using LaTeX?

For bonus points: Can the shadow effect be achieved and still leave the surrounding words readable?

[EDIT]For further clarification: I did specify 'LaTeX', but any flavor of tex is A-OK in my book.

Best Answer

This solution, using nested stack insets, still has vertical height/depth to the overlay. The relative placement of the insets is controlled by the length parameters (2nd and 4th arguments of \stackinset are (x,y) offsets).

\documentclass{article}
\usepackage{stackengine}
\usepackage{xcolor}
\begin{document}
\def\MyText{not scary}
\newcommand\mytext[1][black]{\textcolor{#1}{\MyText}}
This is 
\stackinset{c}{2ex}{c}{1.4ex}{\mytext[red!90]}{%
\stackinset{c}{-3ex}{c}{3.2ex}{\mytext[black!25]}{%
\stackinset{c}{-1ex}{c}{-1.7ex}{\mytext[black!40]}{%
\mytext%
}}}
text.
\end{document}

enter image description here

At the cost of an additional argument, the echos can be scaled, as well

\documentclass{article}
\usepackage{stackengine}
\usepackage{xcolor}
\usepackage{graphicx}
\begin{document}
\def\MyText{not scary}
\newcommand\mytext[2][black]{\scalebox{#2}{\textcolor{#1}{\MyText}}}
This is 
\stackinset{c}{2ex}{c}{1.4ex}{\mytext[red!90]{.8}}{%
\stackinset{c}{-3ex}{c}{3.2ex}{\mytext[black!25]{.7}}{%
\stackinset{c}{-1ex}{c}{-1.7ex}{\mytext[black!40]{1.1}}{%
\mytext{1}%
}}}
text.
\end{document}

enter image description here

If you wanted the vertical extent eliminated, so as to run into vertically adjacent text, a \smash takes care of that:

\documentclass{article}
\usepackage{stackengine}
\usepackage{xcolor}
\usepackage[nopar]{lipsum}
\begin{document}
\def\MyText{not scary}
\newcommand\mytext[1][black]{\textcolor{#1}{\MyText}}
\lipsum[1]
This is 
\smash{%
\stackinset{c}{2ex}{c}{1.4ex}{\mytext[red!90]}{%
\stackinset{c}{-3ex}{c}{3.2ex}{\mytext[black!25]}{%
\stackinset{c}{-1ex}{c}{-1.7ex}{\mytext[black!40]}{%
\mytext%
}}}}
text.
\lipsum[2]
\end{document}

enter image description here


In ZothiqueDemo font:

enter image description here