You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<p>Images that are given a <attr>width</attr> (always as a percentage) are scaled to that percentage of their container. Images without a <attr>width</attr> will be rendered at their natural size if possible and as large as possible if not. This can be seen in these three renderings of the same screenshot:</p>
3280
+
3281
+
<figure>
3282
+
<caption>A new folder with <c>width="100%"</c></caption>
<p>If you have existing images that are vector graphics, then PDF format works best for <latex/> output and SVG format works best for HTML. The utility <c>pdf2svg</c> works well for converting PDF to SVG. In this case, specify your source as a filename, but leave off the file extension, and the appropriate version will be used for the current output format.</p>
3280
3297
3281
3298
<p>The image below is provided from a PDF file in <latex/> output, and was converted to an SVG for use with the HTML output. It has been explicitly scaled to a width of 65% of the text width.</p>
@@ -3317,7 +3334,7 @@ along with MathBook XML. If not, see <http://www.gnu.org/licenses/>.
3317
3334
3318
3335
<figure>
3319
3336
<caption>Solution to a differential equation</caption>
3320
-
<image width="60%">
3337
+
<image>
3321
3338
<prefigure label="prefigure-diffeq"
3322
3339
xmlns="https://prefigure.org">
3323
3340
<diagram dimensions="(300,300)" margins="5">
@@ -3345,7 +3362,7 @@ along with MathBook XML. If not, see <http://www.gnu.org/licenses/>.
3345
3362
3346
3363
<p>This next diagram employs some <latex/> macros that are defined in the usual way in <tag>docinfo</tag> and are employed to produce the names of some vectors in the labels. The blue line is colored blue by a global <prefigure/> declaration, also in <tag>docinfo</tag>.</p>
3347
3364
3348
-
<image width="60%">
3365
+
<image>
3349
3366
<prefigure label="prefigure-projection"
3350
3367
xmlns="https://prefigure.org">
3351
3368
<diagram dimensions="(300,300)" margins="5">
@@ -3388,7 +3405,7 @@ along with MathBook XML. If not, see <http://www.gnu.org/licenses/>.
3388
3405
3389
3406
<p>The next <prefigure/> diagram is authored with annotations, arranged in a hierarchy of increasing refinement and detail. Each identified graphical component will read its annotation and show it on the screen below the diagram. When a reader clicks on the image, a high-level summary will be read using the author-provided annotation. The down and up arrow keys enable a reader to explore the diagram in more or less detail while the right and left arrow keys reveal features at the same level of detail. When the focus is on the graph, pressing "O" will produce a sonification of the graph.</p>
0 commit comments