☰ Click for Table of Contents
BookWiki Documentation
Copyright 2026
Rance D. Necaise

Images

Images can be included on a page using the commands from the AttachedImage plugin. The \image command adds an image that is attached to a valid page. To include an image from any valid URL, you must use the \urlimage command.

document module
\image[inline=0|1
       float=left|right
       align=left|center|right
       page=name
       xspace=length
       style=cssnames
       scale=factor
       scaleX=factor
       scaleY=factor
       width=size
       height=size
   ]{name}
Includes an attached image on the page.
Keys:
inline=0|1

If true (1), the image is included as an inline-block which flows with the current line of text. Otherwise, the image is included as a block on a line by itself. Default is false.

float=left|right

Should the image float left or right? The default is to place the image in the normal way.

align=left|center|right

Should the image be aligned? The default is to center the image. The image can only be aligned if it is not 'floated'. When the image is centered, it is wrapped in a <div> element that expands the full width of the parent container.

page=name

The name of the page the image is attached to. The default is the current page.

xspace=length

A valid css length for the amount of padding to add above and below the image. By default, no padding is added.

style=cssnames

The name of one or more block specific css class names for modifying the default style of the block. The current styles defined for a verbatim block are provided below:

ValueDescription
xspaceadd extra space (2px) above and below the image.
xspaceiadd extra space (4px) above and below the image.
xspaceiiadd extra space (6px) above and below the image.
xspaceiiiadd extra space (8px) above and below the image.
leftfloat the image to the left and add space to the right.
rightfloat the image to the right and add space to the left.
scale=factor

The amount by which to scale the image along both the x- and y-axes. The value should either be an integer to enlarge the image or a fractional real value to shrink the image. While the image is scaled, the enclosing <div> block is not scaled.

scaleX=factor

The amount by which to scale the image along both the x-axis only. The value should either be an integer to enlarge the image or a fractional real value to shrink the image. If the scale argument is provided, scaleX is ignored.

scaleY=factor

The amount by which to scale the image along both the y-axis only. The value should either be an integer to enlarge the image or a fractional real value to shrink the image. If the scale argument is provided, scaleY is ignored.

width

The width of the image as it is displayed.

height

The height of the image as it is displayed.

Plugin:  AttachedImage
document module
\urlimage{url}{name}
Includes an image from anywhere on the web with a valid URL.
Plugin:  AttachedImage
  August 30, 2026 at 11:11 AM