Commit ad1b222
committed
Fix the figure size in style sheet reference
It's better to override absolute sizes in the style sheet. Otherwise,
larger figure images are scaled down due to the limited available width
in the html theme. If not, we still don't get a size relation, but we
also have different magnifications due to the image scaling.
Notes:
- The width (7.4 -> 740px, assuming 100 dpi) is chosen to fit in the
HTML without scaling.
- The size is chosen to approximately keep the aspect ratio as before.
- The images are now significantly smaller than previously (all former
images were downscaled). We'll have to verify that the images still
look good given a lot of information and not much space. If not, we
need to add a factor.
- All themes use figure.dpi=100, except "classic", which uses 80. Not
correcting for that is intentional. IMHO "classic" should come out
smaller to highlight the change in dpi.1 parent b371463 commit ad1b222
1 file changed
+9
-16
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | 112 | | |
119 | | - | |
| 113 | + | |
120 | 114 | | |
121 | 115 | | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
| 116 | + | |
| 117 | + | |
126 | 118 | | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
132 | 125 | | |
133 | 126 | | |
134 | 127 | | |
| |||
0 commit comments