Open main menu

Command/backgroundimage

< Command
Revision as of 14:40, 15 October 2019 by Usonianhorizon (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


\backgroundimage

Syntax (autogenerated)

\backgroundimage{...}{...}{...}{...}
{...}number
{...}dimension
{...}dimension
{...}command


Syntax

\backgroundimage {...}{...}{...}{...}
{...} repeat type (1=xy, 2=x, 3=y
{...} width
{...} height
{...} contents


Description

This allows for tiled backgrounds, using any image.

The image is repeated until it equals width and height (with repeat type 1, otherwise just width or height).

Example

\defineoverlay
  [pattern]
  [\backgroundimage{1}{\overlaywidth}{\overlayheight}{\externalfigure[bg.jpg]}]

\setupbackgrounds[page][background=pattern]

\starttext
\input knuth
\stoptext


See also

Help from ConTeXt-Mailinglist/Forum

All issues with: