diff options
| author | wiemann <wiemann@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2005-06-16 22:03:08 +0000 |
|---|---|---|
| committer | wiemann <wiemann@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2005-06-16 22:03:08 +0000 |
| commit | e8545df504f5cfaabae930b434da593bc00b3925 (patch) | |
| tree | 47436c80ccf887359751fb4729fbae4ecc5fc29f /docutils/test/functional/input | |
| parent | bef17fb444565b99e743bf2a03a8b563327b96a2 (diff) | |
| download | docutils-e8545df504f5cfaabae930b434da593bc00b3925.tar.gz | |
added support for units in image widths and heights;
I called a number combined with a unit (e.g. 5em) a "measure"; I am not entirely
sure if that's the right term, though
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3497 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docutils/test/functional/input')
| -rw-r--r-- | docutils/test/functional/input/data/standard.txt | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/docutils/test/functional/input/data/standard.txt b/docutils/test/functional/input/data/standard.txt index cfcc6e7f7..140be35c7 100644 --- a/docutils/test/functional/input/data/standard.txt +++ b/docutils/test/functional/input/data/standard.txt @@ -485,6 +485,30 @@ A left-aligned figure: This paragraph might flow around the figure... +Now widths: + +An image 2 em wide: + +.. image:: ../../../docs/user/rst/images/biohazard.png + :width: 2 em + +An image 2 em wide and 30 pixel high: + +.. image:: ../../../docs/user/rst/images/biohazard.png + :width: 2em + :height: 30 px + +An image occupying 70% of the line width: + +.. image:: ../../../docs/user/rst/images/biohazard.png + :width: 70% + +An image 3 cm high: + +.. image:: ../../../docs/user/rst/images/biohazard.png + :height: 3 cm + + Admonitions ``````````` |
