LaTeX Tutorial
LaTeX (pronounced "Lay-tech" or "Lah-tech") is a system used for document typesetting, particularly adept at producing high-quality text and mathematical formulas.
LaTeX is based on the TeX typesetting system and was developed by Leslie Lamport. Its purpose is to provide an easy way to use TeX for typesetting complex documents, especially in the academic field, where it is widely applied.
Who is this tutorial for?
Whether you are a student, researcher, engineer, or publishing professional, learning LaTeX can bring you significant efficiency improvements and professional typesetting results.
LaTeX can meet the following needs:
Users who need to handle complex formulas, charts, and code.
Users who have high requirements for document typesetting quality.
Users who need to write long documents or technical documents.
Users who wish to improve document writing efficiency and professionalism.
LaTeX Examples
For example, the following is a simple LaTeX document example:
Example
\title{My first LaTeX document} % Title
\author{Author} % Author
\date{\today} % Date
\begin{document}
\maketitle % Generate title
\section{Introduction} % Section
This is my first LaTeX document!\\ % Line break
This is a simple paragraph.
\section{Mathematical formulas}
This is an inline formula:$E = mc^2$。\\ % Inline formula
This is a display formula:
\[
\int_a^b f(x) \, dx
\]
\end{document}
The following is a simple LaTeX mathematical formula document example:
Example
<p>Inline formula:\( E = mc^2 \)</p>
<!-- Display formula -->
<p>Display formula:\[ \int_a^b f(x) \, dx \]</p>
<!-- Matrix -->
<p>Matrix:
\[
\begin{pmatrix}
1 & 2 \\
3 & 4
\end{pmatrix}
\]
</p>
<!-- System of equations -->
<p>System of equations:
\[
\begin{cases}
x + y = 5 \\
2x - y = 1
\end{cases}
\]
</p>
Try it now »