LaTeX preamble for maths teachers
The “Mathematics” subject ticks the useful packages (tkz-tab for variation tables, TikZ, pgfplots, amssymb) and adds shortcuts: ℝ, ℕ, vectors, probability, calculus. Definition, property, theorem and proof boxes are ready.
Approximate preview, with sample information to replace. The final result depends on the LaTeX compilation.
To compile without installing anything: open the Otoolia LaTeX editor, then “Project” → “Import a .zip”, or paste the code into a new file. The separate .sty is added to the project like any other file.
How to do it
- Check the ticked packages in section 6 and add any you need.
- Turn on maths shortcuts (section 7).
- Add your own macros in “My own commands”.
- Test with the compiled preview before downloading.
Tips
- Otoolia's LaTeX assistant makes variation tables, trees and plots compatible with this preamble.
- With LuaLaTeX, the Luciole font also has matching maths digits and symbols.
- Fourier (Utopia) gives very readable formulas in print.
Frequently asked questions
Which shortcuts are defined?
Number sets (\R, \N, \Z, \Q, \C, \D), probability (\proba, \Esp, \V), calculus (\dx, \abs, \e…), vectors and axes (\vect, \Oij…), linear algebra (\Vect, \rang, \ker…): each group is ticked separately.
Can I use my macros in the Otoolia editor?
Yes: the editor reads the preamble and offers your macros in autocompletion and formula preview.
Do I need to install LaTeX?
No: “Compiled preview” compiles the document in your browser, and “Open in the Otoolia editor” opens the full project in the online LaTeX editor, with nothing to install.