| 1 |
Test length specifications |
| 2 |
========================== |
| 3 |
|
| 4 |
Images and Figures |
| 5 |
------------------ |
| 6 |
|
| 7 |
.. figure:: ../input/data/blue%20square.png |
| 8 |
:alt: blue square |
| 9 |
:scale: 100 |
| 10 |
|
| 11 |
scale 100%, no size specification |
| 12 |
|
| 13 |
.. figure:: ../input/data/blue%20square.png |
| 14 |
:alt: blue square |
| 15 |
:width: 25 % |
| 16 |
:figwidth: 50% |
| 17 |
|
| 18 |
width 25%, no height, figure width 50% |
| 19 |
|
| 20 |
.. figure:: ../input/data/blue%20square.png |
| 21 |
:alt: blue square |
| 22 |
:height: 16px |
| 23 |
:width: 25% |
| 24 |
:figwidth: 50 % |
| 25 |
|
| 26 |
width 25%, height 16px, figure width 50% |
| 27 |
|
| 28 |
.. figure:: ../input/data/blue%20square.png |
| 29 |
:alt: blue square |
| 30 |
:height: 16px |
| 31 |
:width: 10em |
| 32 |
:figwidth: 20 em |
| 33 |
|
| 34 |
width 10 em, figure width 20 em |
| 35 |
|
| 36 |
.. figure:: ../input/data/blue%20square.png |
| 37 |
:alt: blue square |
| 38 |
:height: 16px |
| 39 |
:width: 20ex |
| 40 |
:figwidth: 40 ex |
| 41 |
|
| 42 |
width 20 ex, figure width 40 ex |
| 43 |
|
| 44 |
.. figure:: ../input/data/blue%20square.png |
| 45 |
:alt: blue square |
| 46 |
:height: 16px |
| 47 |
:width: 15 ch |
| 48 |
:figwidth: 30ch |
| 49 |
|
| 50 |
width 15 ch, figure width 30 ch |
| 51 |
|
| 52 |
.. figure:: ../input/data/blue%20square.png |
| 53 |
:alt: blue square |
| 54 |
:height: 16px |
| 55 |
:width: 10 rem |
| 56 |
:figwidth: 20rem |
| 57 |
|
| 58 |
width 10 rem, figure width 20 rem |
| 59 |
|
| 60 |
.. figure:: ../input/data/blue%20square.png |
| 61 |
:alt: blue square |
| 62 |
:height: 16px |
| 63 |
:width: 25 vw |
| 64 |
:figwidth: 30 vw |
| 65 |
|
| 66 |
width 25 vw, figure width 30 vw |
| 67 |
|
| 68 |
.. figure:: ../input/data/blue%20square.png |
| 69 |
:alt: blue square |
| 70 |
:height: 16px |
| 71 |
:width: 25 vh |
| 72 |
:figwidth: 30 vh |
| 73 |
|
| 74 |
width 25 vh, figure width 30 vh |
| 75 |
|
| 76 |
.. figure:: ../input/data/blue%20square.png |
| 77 |
:alt: blue square |
| 78 |
:height: 16px |
| 79 |
:width: 25 vmin |
| 80 |
:figwidth: 30 vmin |
| 81 |
|
| 82 |
width 25 vmin, figure width 30 vmin |
| 83 |
|
| 84 |
.. figure:: ../input/data/blue%20square.png |
| 85 |
:alt: blue square |
| 86 |
:height: 16px |
| 87 |
:width: 25 vmax |
| 88 |
:figwidth: 30 vmax |
| 89 |
|
| 90 |
width 25 vmax, figure width 30 vmax |
| 91 |
|
| 92 |
.. figure:: ../input/data/blue%20square.png |
| 93 |
:alt: blue square |
| 94 |
:height: 16px |
| 95 |
:width: 5 cm |
| 96 |
:figwidth: 10 cm |
| 97 |
|
| 98 |
width 5 cm, figure width 10 cm |
| 99 |
|
| 100 |
.. figure:: ../input/data/blue%20square.png |
| 101 |
:alt: blue square |
| 102 |
:height: 16px |
| 103 |
:width: 50mm |
| 104 |
:figwidth: 100 mm |
| 105 |
|
| 106 |
width 50 mm, figure width 100 mm |
| 107 |
|
| 108 |
.. figure:: ../input/data/blue%20square.png |
| 109 |
:alt: blue square |
| 110 |
:height: 16px |
| 111 |
:width: 200 Q |
| 112 |
:figwidth: 400Q |
| 113 |
|
| 114 |
width 200 Q, figure width 400 Q |
| 115 |
|
| 116 |
.. figure:: ../input/data/blue%20square.png |
| 117 |
:alt: blue square |
| 118 |
:height: 16px |
| 119 |
:width: 2 in |
| 120 |
:figwidth: 4in |
| 121 |
|
| 122 |
width 2 in, figure width 4 in |
| 123 |
|
| 124 |
.. figure:: ../input/data/blue%20square.png |
| 125 |
:alt: blue square |
| 126 |
:height: 16px |
| 127 |
:width: 12 pc |
| 128 |
:figwidth: 24pc |
| 129 |
|
| 130 |
width 12 pc, figure width 24 pc |
| 131 |
|
| 132 |
.. figure:: ../input/data/blue%20square.png |
| 133 |
:alt: blue square |
| 134 |
:height: 16px |
| 135 |
:width: 144pt |
| 136 |
:figwidth: 288pt |
| 137 |
|
| 138 |
width 144 pt, figure width 288pt |
| 139 |
|
| 140 |
.. figure:: ../input/data/blue%20square.png |
| 141 |
:alt: blue square |
| 142 |
:height: 16px |
| 143 |
:width: 192 px |
| 144 |
:figwidth: 384px |
| 145 |
|
| 146 |
width 192 px, figure width 384 px |
| 147 |
|
| 148 |
.. figure:: ../input/data/blue%20square.png |
| 149 |
:alt: blue square |
| 150 |
:height: 16px |
| 151 |
:width: 192 |
| 152 |
:figwidth: 384 |
| 153 |
|
| 154 |
width 192 <no unit>, figure width 384 <no unit> |
| 155 |
|
| 156 |
|
| 157 |
ch, em, and rem: |test1ch| |test1em| |test1rem| |
| 158 |
----------------------------------------------- |
| 159 |
|
| 160 |
.. |test1em| image:: ../input/data/blue%20square.png |
| 161 |
:height: 1em |
| 162 |
|
| 163 |
.. |test1rem| image:: ../input/data/blue%20square.png |
| 164 |
:height: 1rem |
| 165 |
|
| 166 |
.. |test1ch| image:: ../input/data/blue%20square.png |
| 167 |
:height: 1ch |
| 168 |
|
| 169 |
Image height 1ch, 1em, and 1rem: |test1ch| |test1em| |test1rem| |
| 170 |
|
| 171 |
The units "em" and "ch" change with the current font size. |
| 172 |
The unit "rem" is tied to the document root fontsize. |
| 173 |
|
| 174 |
|
| 175 |
Tables |
| 176 |
------ |
| 177 |
|
| 178 |
.. csv-table:: |
| 179 |
|
| 180 |
value, unit |
| 181 |
|
| 182 |
.. csv-table:: |
| 183 |
:width: 25% |
| 184 |
|
| 185 |
25, % |
| 186 |
|
| 187 |
|
| 188 |
.. csv-table:: |
| 189 |
:width: 10em |
| 190 |
|
| 191 |
10, em |
| 192 |
|
| 193 |
.. csv-table:: |
| 194 |
:width: 20ex |
| 195 |
|
| 196 |
20, ex |
| 197 |
|
| 198 |
.. csv-table:: |
| 199 |
:width: 15 ch |
| 200 |
|
| 201 |
15, ch |
| 202 |
|
| 203 |
.. csv-table:: |
| 204 |
:width: 10rem |
| 205 |
|
| 206 |
10, rem |
| 207 |
|
| 208 |
.. csv-table:: |
| 209 |
:width: 25vw |
| 210 |
|
| 211 |
25, vw |
| 212 |
|
| 213 |
.. csv-table:: |
| 214 |
:width: 25vh |
| 215 |
|
| 216 |
25, vh |
| 217 |
|
| 218 |
.. csv-table:: |
| 219 |
:width: 25vmin |
| 220 |
|
| 221 |
25, vmin |
| 222 |
|
| 223 |
.. csv-table:: |
| 224 |
:width: 25vmax |
| 225 |
|
| 226 |
25, vmax |
| 227 |
|
| 228 |
.. csv-table:: |
| 229 |
:width: 5 cm |
| 230 |
|
| 231 |
5, cm |
| 232 |
|
| 233 |
.. csv-table:: |
| 234 |
:width: 50mm |
| 235 |
|
| 236 |
50, mm |
| 237 |
|
| 238 |
.. csv-table:: |
| 239 |
:width: 200 Q |
| 240 |
|
| 241 |
200, Q |
| 242 |
|
| 243 |
.. csv-table:: |
| 244 |
:width: 2 in |
| 245 |
|
| 246 |
2, in |
| 247 |
|
| 248 |
.. csv-table:: |
| 249 |
:width: 12 pc |
| 250 |
|
| 251 |
12, pc |
| 252 |
|
| 253 |
.. csv-table:: |
| 254 |
:width: 144pt |
| 255 |
|
| 256 |
144, pt |
| 257 |
|
| 258 |
.. csv-table:: |
| 259 |
:width: 192 px |
| 260 |
|
| 261 |
192, px |
| 262 |
|
| 263 |
.. csv-table:: |
| 264 |
:width: 192 |
| 265 |
|
| 266 |
192, <no unit> |
| 267 |
|
| 268 |
|
| 269 |
.. raw:: html |
| 270 |
|
| 271 |
<style type="text/css"><!-- |
| 272 |
figure {background: lightgreen;} |
| 273 |
--></style> |