Re: Text with blurred shadow
- From: HansMaier <vivoamicus@xxxxxxxx>
- Date: Wed, 25 Jan 2012 08:00:28 -0800 (PST)
On 25 Jan., 16:41, Herbert Voss <Herbert.V...@xxxxxxxxxxxxxxxxxxx>
wrote:
Am 25.01.2012 16:26, schrieb HansMaier:
I would like to add a blurred shadow to the text in the box.
Does somebody have suggestions how this can be achieved using "TikZ&
PGF" and/or "pst-blur"?
\documentclass{article}
\usepackage{pst-blur}
\begin{document}
\psframebox[shadow,blur,framearc=0.1]{\parbox{\linewidth}{%
\large\bfseries
\textcolor[rgb]{1,0,0}{H}\textcolor[rgb]{1,0,0}{e}\textcolor[rgb]
{0,0,1}{r}\textcolor[rgb]{0,0,1}{e} \textcolor[rgb]{1,0.9,0}{i}
\textcolor[rgb]{1,0.9,0}{s} \textcolor[rgb]{0,1,0}{s}\textcolor[rgb]
{0,1,0}{o}\textcolor[rgb]{1,0,0}{m}\textcolor[rgb]{1,0,0}{e}
\textcolor[rgb]{0,0,1}{coloured} \textcolor[rgb]{1,0,0}{text}
\textcolor[rgb]{1,0,0.5}{on} \textcolor[rgb]{1,0,1}{the} \\
\textcolor[rgb]{1,0,0}{title} \textcolor[rgb]{1,0.5,0}{page}}}
\end{document}
Thanks a lot for that prompt response Herbert! Do you know how I can
add equal space below and above the text? And, if possible, use
different colors for the outline of the box and the actual shadow (as
in the initial example)?
------------------------
\documentclass{article}
\usepackage{pst-blur}
\begin{document}
\psframebox[shadow=true,blur,framearc=0.8]{\parbox{\linewidth}{%
\vspace{40pt}
\large\bfseries
\centering
\textcolor[rgb]{1,0,0}{H}\textcolor[rgb]{1,0,0}{e}\textcolor[rgb]
{0,0,1}{r}\textcolor[rgb]{0,0,1}{e} \textcolor[rgb]{1,0.9,0}{i}
\textcolor[rgb]{1,0.9,0}{s} \textcolor[rgb]{0,1,0}{s}\textcolor[rgb]
{0,1,0}{o}\textcolor[rgb]{1,0,0}{m}\textcolor[rgb]{1,0,0}{e}
\textcolor[rgb]{0,0,1}{coloured} \textcolor[rgb]{1,0,0}{text}
\textcolor[rgb]{1,0,0.5}{on} \textcolor[rgb]{1,0,1}{the} \\
\textcolor[rgb]{1,0,0}{title} \textcolor[rgb]{1,0.5,0}{page}}}
\end{document}
------------------------
.
- Follow-Ups:
- Re: Text with blurred shadow
- From: Herbert Voss
- Re: Text with blurred shadow
- References:
- Text with blurred shadow
- From: HansMaier
- Re: Text with blurred shadow
- From: Herbert Voss
- Text with blurred shadow
- Prev by Date: Re: Text with blurred shadow
- Next by Date: Re: Math fonts
- Previous by thread: Re: Text with blurred shadow
- Next by thread: Re: Text with blurred shadow
- Index(es):
Relevant Pages
|