Differences between revisions 1 and 4 (spanning 3 versions)
Revision 1 as of 2019-04-23 12:08:33
Size: 273
Editor: scot
Comment:
Revision 4 as of 2019-04-23 12:13:37
Size: 1008
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 5: Line 5:
{{{#!html {{{#!highlight html
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

   1 <!DOCTYPE html>
   2 <html dir="ltr" lang="en" xml:lang="en">
   3 <head>
   4 <script src='https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-MML-AM_CHTML'></script>
   5 </head>
   6 <body>
   7 <p>
   8 Hello: $$z = -2.5$$<br/>
   9 <table border="1">
  10 <tr>
  11         <td>Some stuff about math</td>
  12         <td>\(y = \frac{\Delta y}{\Delta x} x +b\)</td>
  13 </tr>
  14 <tr>
  15         <td>Some other stuff and math</td>
  16         <td>\&#40;y=x\&#41;</td>
  17 </tr>
  18 </table>
  19 Choose an equation: 
  20 <select>
  21         <option value="A">\(y = m x + b\)</option>
  22         <option value="B">Hello</option>
  23 </select>
  24 </p><p>It seems like you should be able to do inline \(E=mc^2\) or on display $$E=mc^2$$ Math.
  25 </p>
  26 </body>
  27 </html>

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