MaD dUCK on Fri, 8 Dec 2000 12:27:56 -0500


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[PLUG] texsters: shading text background


hey you texsters,

considering the lack of good documentation of latex (correct me with a
url if i am wrong), i am stuck with what i consider to be a rather
trivial problem which i am mostly *sure* that tex can handle: text
background shading.

i basically want a section head line to be background shaded with
15-20% black with the text overlaying the shading. i wasn't able to
find pure tex methods to do so and i don't feel like creating .eps
files for each section head, so i am looking for a way - any way - to
create tex code inline which will do that.

my first attempt was using xfig to export tex pictures as well as
doing the pstex and pictex approaches, but neither worked because xfig
uses the

  \color[rgb](0,0,0)

tag which i could not provide with either of the
{graphics,graphicx,pictex,pslatex} and some other packages.

the nice thing about this approach is that i could convert the
.{,pic,ps}tex file into a \newcommand since the actual section heading
(an xfig TEXT object) is in there plain text. but it won't compile
because of the \color command, and xfig does not provide a 15% black
shading.

do you have any genious thoughts or solutions to this?

thanks,
martin

[greetings from the heart of the sun]# echo madduck@!#:1:s@\@@@.net
-- 
"when I was a boy I was told
 that anybody could become president.
 now i'm beginning to believe it."
                                                    -- clarence darrow


______________________________________________________________________
Philadelphia Linux Users Group       -      http://www.phillylinux.org
Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce
General Discussion  -  http://lists.phillylinux.org/mail/listinfo/plug