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