Differences between revisions 2 and 3
Revision 2 as of 2019-04-23 12:09:49
Size: 283
Editor: scot
Comment:
Revision 3 as of 2019-04-23 12:13:17
Size: 1006
Editor: scot
Comment:
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
How to create a page break == How to create a page break ==
Line 22: Line 22:

== !MathJax ==

{{{highlight html
<!DOCTYPE html>
<html dir="ltr" lang="en" xml:lang="en">
<head>
<script src='https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-MML-AM_CHTML'></script>
</head>
<body>
<p>
Hello: $$z = -2.5$$<br/>
<table border="1">
<tr>
 <td>Some stuff about math</td>
 <td>\(y = \frac{\Delta y}{\Delta x} x +b\)</td>
</tr>
<tr>
 <td>Some other stuff and math</td>
 <td>\&#40;y=x\&#41;</td>
</tr>
</table>
Choose an equation:
<select>
 <option value="A">\(y = m x + b\)</option>
 <option value="B">Hello</option>
</select>
</p><p>It seems like you should be able to do inline \(E=mc^2\) or on display $$E=mc^2$$ Math.
</p>
</body>
</html>
}}}

Just a collection of HTML odds and ends

How to create a page break

   1 <html>
   2 <body>
   3 
   4 This is the text for page #1.
   5 
   6 <p style="page-break-before: always">
   7 
   8 Page #2...
   9 
  10 <p style="page-break-before: always">
  11 
  12 Page #3...
  13 
  14 </body>
  15 </html>

!MathJax

{{{highlight html <!DOCTYPE html> <html dir="ltr" lang="en" xml:lang="en"> <head> <script src='https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-MML-AM_CHTML'></script> </head> <body> <p> Hello: $$z = -2.5$$<br/> <table border="1"> <tr>

  • <td>Some stuff about math</td> <td>\(y = \frac{\Delta y}{\Delta x} x +b\)</td>

</tr> <tr>

  • <td>Some other stuff and math</td> <td>\(y=x\)</td>

</tr> </table> Choose an equation: <select>

  • <option value="A">\(y = m x + b\)</option> <option value="B">Hello</option>

</select> </p><p>It seems like you should be able to do inline \(E=mc^2\) or on display $$E=mc^2$$ Math. </p> </body> </html> }}}

HtmlOddsAndEnds (last edited 2019-04-23 12:13:37 by scot)