[Tugindia] psframe: Transparent frame without border

Radhakrishnan CV cvr at river-valley.org
Sat May 14 01:26:31 CEST 2011


On Fri, May 13, 2011 at 8:46 PM, H.S.Rai <hsrai at gmx.net> wrote:
> Is it so difficult / impossible?
>
> --
> H.S.Rai
>
> On Wed, May 11, 2011 at 7:38 PM, H.S.Rai <hsrai at gmx.net> wrote:
>> I wanted to have a frame (using psframe), which is transparent and
>> without border.

[...]

>> I am unable to get desired results, the 3rd frame is close to my
>> requirement. Can I make it without red frame, and frame's background
>> as transparent?

I am not sure, if I have understood your problem. Here is what I would
have preferred to do:

\documentclass[a4paper]{article}
\usepackage{graphicx,times}
\usepackage{xcolor,lipsum}
\usepackage{transparent}

\begin{document}

\pagecolor{blue!50}

\fcolorbox{red}{blue!50}{%
  \parbox[t][3in][t]{3in}{%
  \bfseries\transparent{.1}%
  \color{blue}%
   Blue and %
  \transparent{1}%
  transparent blue
  \normalfont\lipsum[3]}}

\end{document}

Best regards
-- 
Radhakrishnan


More information about the tugindia mailing list