PG-RST Best Practices

Previous

Images

Specify a width option in images and a figwidth option in figures and express it in percent.

If you don’t specify a width, the converter will calculate the width percentile for you, using the formula:

image_width / (980px * 0.8) * 100

(980px is the approx. wide of a browser window with scrollbar on a 1024px wide screen, 0.8 are 10% margins left and right.)

Expressing the image size relative to the screen width is the best way to get images right on a wide variety of devices form iPhones to print.

.. toc-entry:: Richard and Drucilla Martin

.. figure:: images/cover.jpg
:align: center
:alt: Richard and Drucilla Martin

:lb:`Richard Martin was a slave in Memphis, Tennessee.
Drucilla Martin was a slave in Giles County, Tennessee.`

The legend consists of all elements after the caption. Lorem
ipsum dolor sit amet, consetetur sadipscing elitr, sed diam
nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam
erat, sed diam voluptua. At vero eos et accusam et justo duo
dolores et ea rebum.

[image]

Richard Martin was a slave in Memphis, Tennessee.
Drucilla Martin was a slave in Giles County, Tennessee.

The legend consists of all elements after the caption. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.

[pg!2]

                                                                                                                                                                                                                                                                                                           

Clyx.com


Top of Page
Top of Page