Reference
Mathematics, Tables, and References
A compact reference showing aligned equations, a formatted table, and citations.
- Engine
- pdfLaTeX
- Level
- Intermediate

Use this example
- Create a project and copy the source below into main.tex.
- Select pdfLaTeX as the LaTeX engine.
- Compile, review the PDF, and adapt the content.
LaTeX source
main.tex\documentclass[11pt]{article}
\usepackage[a4paper,margin=2.5cm]{geometry}
\usepackage{amsmath,booktabs}
\title{Technical Results}
\author{LatexDesk Example}
\begin{document}
\maketitle
\section{An aligned equation}
\begin{align}
f(x) &= x^2 + 2x + 1 \\
&= (x+1)^2.
\end{align}
\section{A professional table}
\begin{table}[h]
\centering
\begin{tabular}{lrr}
\toprule
Method & Accuracy & Time (s) \\
\midrule
Baseline & 0.82 & 14.2 \\
Improved & 0.91 & 11.8 \\
\bottomrule
\end{tabular}
\caption{Example results with clear units and labels.}
\end{table}
\section{A citation}
Good technical documents connect claims to evidence~\cite{lamport1994}.
\begin{thebibliography}{9}
\bibitem{lamport1994} Leslie Lamport. \emph{LaTeX: A Document Preparation System}. Addison-Wesley, 1994.
\end{thebibliography}
\end{document}
