Mathematical Expressions and LaTeX
Inline Math (Preprocessor)
Use template tags for inline equations that are static. For example, the quadratic formula is
Einstein's famous equation
Display Math (Preprocessor)
Use template tags with the X tag for centered block equations:
This is a fundamental integral in calculus and probability theory.
Complex Expressions
The preprocessor can render complex mathematical notation:
This is the wave equation, essential in physics and engineering.
Series and Summations
Infinite series like
More complex expressions:
Matrices and Vectors
You can also render matrices:
Limits and Derivatives
Calculus notation works well too:
Dynamic Math (Rare Cases)
For very rare cases where you need dynamic math with runtime variables, you would need to handle that separately since the preprocessor tags only work for static content. The template prioritizes performance through build-time rendering for 99% of use cases.
LaTeX Syntax Tips
- Use standard LaTeX commands:
\frac,\sqrt,\sum,\int - Superscripts:
x^2 - Subscripts:
x_i - Fractions:
\frac{numerator}{denominator} - Greek letters:
\alpha, \beta, \gamma, \omega - For complex expressions, test at Wolfram Alpha or Overleaf