Getting Started - mathxapp/matex GitHub Wiki
This is a guide to help you get up to speed with MaTeX.
MaTeX is used in HTML file which can be edited by using regular text editors such as:
- Mac
- Textastic
- Sublime Text
- Brackets
- Windows
- Notepad++
- Universal
- Atom
- Visual Studio Code
When MaTeX processes an HTML file, it expects it to follow a certain structure. Copy and past the following lines into your text editor:
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<!-- Change this to loader.js to use into Mathx or MaTeX.app -->
<script src="http://matex.mathxapp.com/loader.js"></script>
</head>
<body>
<!-- INSERT YOUR TEXT HERE -->
</body>
</html>
Replace <!-- INSERT YOUR TEXT HERE -->
with the following lines.
<h2>My First Title</h2>
<section>
<p>My first paragraph.</p>
<p>$$ ax^3 + bx^2 + cx + d = 0 $$</p>
</section>
See the Syntax page for details pertaining to MaTeX's formatting syntax.
- Save the file on your computer.
- Name the file "quadraticequation.html" or any other name ending with html.
At this point, everything's in place for you to start using MaTeX. Download template.