Getting Started - mathxapp/matex GitHub Wiki

This is a guide to help you get up to speed with MaTeX.

Step 1 - Editors

MaTeX is used in HTML file which can be edited by using regular text editors such as:

Step 2 - File

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>

Step 3 - Write Some Text

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.

Step 4 - Save the HTML file

  • Save the file on your computer.
  • Name the file "quadraticequation.html" or any other name ending with html.

Step 5 - Go!

At this point, everything's in place for you to start using MaTeX. Download template.

⚠️ **GitHub.com Fallback** ⚠️