Aug 8, 2024
\documentclass[11pt]{article}\begin{document} and \end{document}.\documentclass[11pt]{article}
\begin{document}
Hello, this is my first LaTeX document.
\end{document}
\documentclass{type} (e.g., article, report).\section{Title} for sections and \subsection{Title} for subsections.$...$ for inline math, or \[...\] for display math.\frac{...}{...}, \sqrt{...}, \int, \sum).\textbf{...} for bold, \textit{...} for italics.\large, \small, \footnotesize.\begin{center}...\end{center}, \begin{flushleft}...\end{flushleft}, or \begin{flushright}...\end{flushright}.\usepackage{geometry} for margin adjustments.\begin{document}.$ for Math Mode.{} or parentheses ().\begin{...} commands have a matching \end{...}.