Difference between revisions of "Command/bleed"

From Wiki
Jump to navigation Jump to search
(Created page with "Documentation for \bleed")
 
Line 15: Line 15:
 
</cd:variants>
 
</cd:variants>
 
<cd:description><!-- the long description of the command goes here -->
 
<cd:description><!-- the long description of the command goes here -->
</cd:description>
+
 
 +
Have a look into the [https://www.pragma-ade.com/general/manuals/details.pdf#page=126 Details manual], it makes no sense to repeat it here.</cd:description>
 
<cd:examples><cd:example title="">%<context source="yes">
 
<cd:examples><cd:example title="">%<context source="yes">
  

Revision as of 17:54, 8 May 2024


\bleed

Summary

The command \bleed is used to modify the actual dimension of the place allocated to a figure.

Settings

\bleed[...=...,...]{...}
...=...,...inherits from \setupbleeding
{...}content

Description

Have a look into the Details manual, it makes no sense to repeat it here.

Examples

Example 1

%

\setuppapersize[A6]
\setupheadertexts[]
\starttext

text before
\externalfigure[mill][width=2cm,frame=on,rulethickness=1pt,framecolor=red]
text after.

text before
\bleed                 [width=2cm,height=3cm,location=l]{%
\externalfigure [mill] [width=2cm,height=3cm,frame=on,rulethickness=1pt,framecolor=blue]}
text after.

text before
\bleed                 [width=2cm,height=2cm,location=l]{%
\externalfigure [mill] [width=2cm,height=3cm,frame=on,rulethickness=1pt,framecolor=green]}
text after.

text before
\bleed                 [width=1cm,height=2cm,location=l]{%
\externalfigure [mill] [width=2cm,height=3cm,frame=on,rulethickness=1pt,framecolor=cyan]}
text after.

%\bleed [width=5cm,height=1cm,location=l]
%  {\externalfigure[mill][width=\bleedwidth,height=\bleedheight]}

\stoptext

%

Notes

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: