Open main menu

Changes

no edit summary
So you’d like to have one of these nice drop shadows behind some object? Here’s a piece of code to play with:
<texcodecontext source="yes">
\startuniqueMPgraphic{mpshadow}
% BodyFontSize should be the current font size of/in the frame
\defineoverlay[shadow][\useMPgraphic{mpshadow}]
 
\setuppapersize[A8,landscape]
\setupheadertexts[]
\starttext
\inframed[frame=off,background=shadow,foregroundcolor=white]{\bfa This text box has a shadow.}
\stoptext </texcodecontext[[Category:Graphics]]
999

edits