Advertisement
Guest User

LaTeX Sample

a guest
Dec 1st, 2015
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 1.25 KB | None | 0 0
  1. <!doctype html>
  2. <html lang="en">
  3. <head>
  4.   <meta charset="utf-8">
  5.  
  6.   <title>LaTex Test</title>  
  7.   <meta name="Santosh Linkha" content="Kinematics">
  8.   <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
  9.  
  10.   <!--[if lt IE 9]>
  11.  <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
  12.  <![endif]-->
  13. </head>
  14.  
  15. <body>
  16.     <div class="container">
  17.         <h1>LaTeX Test</h1>
  18.         <p>$$\int_{-\infty}^{\infty} e^{-x^2}dx = \sqrt{\pi}$$              </p>       
  19.     </div> 
  20.     <script src="https://code.jquery.com/jquery-2.1.4.min.js"></script>
  21.     <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
  22.     <script type="text/x-mathjax-config">
  23.         MathJax.Hub.Config({
  24.             extensions: ["tex2jax.js"],
  25.             jax: ["input/TeX", "output/HTML-CSS"],
  26.             tex2jax: {
  27.                 inlineMath: [ ['$','$'], ["\\(","\\)"] ],
  28.                 displayMath: [ ['$$','$$'], ["\\[","\\]"] ],
  29.                 processEscapes: true},
  30.             "HTML-CSS": { availableFonts: ["TeX"] }
  31.         });
  32.     </script>
  33.     <script type="text/javascript" async src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
  34. </script>
  35. </body>
  36. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement