diff options
| author | wiemann <wiemann@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2005-05-20 22:27:23 +0000 |
|---|---|---|
| committer | wiemann <wiemann@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2005-05-20 22:27:23 +0000 |
| commit | 20d6b644e18b41c52fed910b78217b53e8bd4afb (patch) | |
| tree | 5af6a68a2dfe7e7115532e8261cf52f931de42b8 /docutils/test/functional/input/data/standard.txt | |
| parent | fc54ecf0d5ca832d71cfd37e1434ac183367c2b4 (diff) | |
| download | docutils-20d6b644e18b41c52fed910b78217b53e8bd4afb.tar.gz | |
more thorough figure testing
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3354 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docutils/test/functional/input/data/standard.txt')
| -rw-r--r-- | docutils/test/functional/input/data/standard.txt | 35 |
1 files changed, 33 insertions, 2 deletions
diff --git a/docutils/test/functional/input/data/standard.txt b/docutils/test/functional/input/data/standard.txt index b06a158d4..2759d88e0 100644 --- a/docutils/test/functional/input/data/standard.txt +++ b/docutils/test/functional/input/data/standard.txt @@ -427,11 +427,12 @@ An image directive (also clickable -- a hyperlink reference): A figure directive: -.. figure:: ../../../docs/user/rst/images/title.png +.. figure:: ../../../docs/user/rst/images/biohazard.png :figclass: figclass1 figclass2 :class: class1 class2 :alt: reStructuredText, the markup syntax - :align: left + :align: right + :width: 50 A figure is an image with a caption and/or a legend: @@ -445,6 +446,36 @@ A figure directive: This paragraph is also part of the legend. +This paragraph might flow around the figure... + +A centered figure: + +.. figure:: ../../../docs/user/rst/images/biohazard.png + :align: center + :width: 50 + + This is the caption. + + This is the legend. + + The legend may consist of several paragraphs. + +This paragraph might flow around the figure... + +A left-aligned figure: + +.. figure:: ../../../docs/user/rst/images/biohazard.png + :align: left + :width: 50 + + This is the caption. + + This is the legend. + + The legend may consist of several paragraphs. + +This paragraph might flow around the figure... + Admonitions ``````````` |
