On Fri, 23 Dec 2005, Jilani Khaldi wrote:
\framed
[align=middle,background=shadow,frame=off]
{\input zapf \relax}
Very nice! Thank you.
But is there a simple way to get the text left justified with a centered
title Attention!?
\framed
David Arnold wrote:
Very cool. First time I ever could figure out what \relax does. When
I deleted it from this source, I got:
! I can't find file `zapf}'.
l.25 {\input zapf}
Please type another input file name:
Good learning experience for me. I've seen and ignored this type of
error
Hi All,
1) I looks correct but I can't get the word Attention! written in red
color inside a red frame.
\setupframedtexts[bodyfont=small,framecolor=red]
\startframedtext[width=.8\makeupwidth]
\color[red]{\bf Attention!}\blank
bla bla bla...
\stopframedtext
What am I missing? And what about a
Jilani Khaldi wrote:
What am I missing?
Missing \setupcolors[state=start] maybe? (works for me)
And what about a shaded frame?
You mean like a dropshadow or so?
Cheers,
Taco
___
ntg-context mailing list
ntg-context@ntg.nl
Missing \setupcolors[state=start] maybe? (works for me)
Yes it is.
And what about a shaded frame?
You mean like a dropshadow or so?
Something like \shadowbox{..} using LaTeX package fancybox
I just want to translate the simple macro I wrote time ago from LaTeX to
ConTeXt:
Jilani Khaldi wrote:
Missing \setupcolors[state=start] maybe? (works for me)
Yes it is.
And what about a shaded frame?
You mean like a dropshadow or so?
Something like \shadowbox{..} using LaTeX package fancybox
I just want to translate the simple macro I wrote time ago from
\setupcolors[state=start]
\startuniqueMPgraphic{shadow}
fill OverlayBox shifted (3pt,-3pt) withcolor .8white ;
fill OverlayBox withcolor white ;
draw OverlayBox withcolor red ;
setbounds currentpicture to OverlayBox ;
\stopuniqueMPgraphic
Very cool. First time I ever could figure out what \relax does. When
I deleted it from this source, I got:
! I can't find file `zapf}'.
l.25 {\input zapf}
Please type another input file name:
Good learning experience for me. I've seen and ignored this type of
error message before, looking
\setupcolors[state=start]
\startuniqueMPgraphic{shadow}
fill OverlayBox shifted (3pt,-3pt) withcolor .8white ;
fill OverlayBox withcolor white ;
draw OverlayBox withcolor red ;
setbounds currentpicture to OverlayBox ;
\stopuniqueMPgraphic