Skip to content

Testing LaTeX Rendering

Published: at 07:22 AM
Loading...

This article is only used to test if LaTeX formulas can render properly. The test content is generated by AI:

1. Inline Formulas

For example, we can write the famous Einstein mass-energy formula: E=mc2E=mc^2, which describes the relationship between energy and mass.

2. Display Formulas

For quadratic equations:

ax2+bx+c=0ax^2 + bx + c = 0

The quadratic formula is:

x=b±b24ac2ax = \frac{-b \pm \sqrt{b^2-4ac}}{2a}

3. Summation and Limits

Classic result of infinite series:

n=11n2=π26\sum_{n=1}^{\infty} \frac{1}{n^2} = \frac{\pi^2}{6}

Also, let’s test the limit formula:

limx0sinxx=1\lim_{x\to 0} \frac{\sin x}{x} = 1

4. Matrices and Special Formulas

Here’s an example of a 2x2 matrix:

A=[abcd]\mathbf{A} = \begin{bmatrix} a & b \\ c & d \end{bmatrix}

And the world-famous Euler’s formula:

eiπ+1=0e^{i\pi} + 1 = 0

Previous Post
SpringBoot Knowledge Points Summary (Part 1)
Next Post
Script Development for Converting Markdown and LaTeX to Images