presentational-hints-002-ref.html (1089B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"/> 5 <title>presentational hints (dynamic)</title> 6 <link rel="stylesheet" href="/fonts/ahem.css"> 7 <style> 8 math { 9 font: 25px/1 Ahem; 10 } 11 @font-face { 12 font-family: Italic; 13 src: url("/fonts/math/mathvariant-italic.woff"); 14 } 15 </style> 16 </head> 17 <body> 18 <p>dir: 19 <math dir="rtl"> 20 <mtext>X</mtext> 21 <mtext>p</mtext> 22 </math> 23 </p> 24 <p>mathcolor: 25 <math mathcolor="green"> 26 <mtext>X</mtext> 27 <mtext>p</mtext> 28 </math> 29 </p> 30 <p>mathbackground: 31 <math mathbackground="green"> 32 <mtext>X</mtext> 33 <mtext>p</mtext> 34 </p> 35 <p>mathsize: 36 <math> 37 <mtext mathsize="300%">X</mtext> 38 </math> 39 </p> 40 <p>mathvariant: 41 <math style="font-family: Italic"> 42 <mi mathvariant="normal">X</mi> 43 </math> 44 </p> 45 <p>displaystyle: 46 <math displaystyle="true"> 47 <munder> 48 <mo movablelimits="true">X</mo> 49 <mo>X</mo> 50 </munder> 51 </math> 52 </p> 53 <p>scriptlevel: 54 <math> 55 <mtext scriptlevel="-1">X</mtext> 56 </math> 57 </p> 58 </body> 59 </html>