10 Essential LaTeX Packages Every STEM Student Needs
Out of the box, standard LaTeX is incredibly powerful. However, its true strength lies in its extensible package ecosystem. Packages act like plugins, adding specialized commands and formatting rules for specific use-cases.
If you are a STEM student writing a thesis, lab report, or research paper, these are the 10 essential LaTeX packages you should include in your preamble.
1. amsmath and amssymb
What it does: The absolute foundation for mathematical typesetting. Provided by the American Mathematical Society.
Why you need it: It provides advanced environments like align for multi-line equations, pmatrix for matrices, and hundreds of specialized math symbols.
\usepackage{amsmath, amssymb}2. graphicx
What it does: Allows you to insert images and scale them.
Why you need it: Standard LaTeX doesn't handle images natively. graphicx gives you the \includegraphics command, essential for adding graphs, diagrams, and figures.
\usepackage{graphicx}3. geometry
What it does: Makes adjusting page margins effortless.
Why you need it: The default LaTeX margins are famously wide (designed for classical book typesetting). geometry lets you instantly set sensible 1-inch margins.
\usepackage[margin=1in]{geometry}4. hyperref
What it does: Creates clickable hyperlinks in your PDF. Why you need it: It makes your Table of Contents clickable, turns your URL citations into actual links, and allows readers to jump directly to referenced figures or equations.
\usepackage{hyperref}5. biblatex
What it does: Modern bibliography management. Why you need it: It is the successor to traditional BibTeX, offering vastly superior customization for citation styles (APA, MLA, IEEE, etc.) and better multi-language support.
\usepackage[style=ieee]{biblatex}6. booktabs
What it does: Creates professional, publication-quality tables.
Why you need it: It replaces the ugly, default grid-lines with elegant, weighted horizontal rules (\toprule, \midrule, \bottomrule).
\usepackage{booktabs}7. siunitx
What it does: Formats numbers and SI units perfectly.
Why you need it: If you are in physics or engineering, you need consistent spacing between numbers and units (e.g., ). siunitx handles all of this automatically.
\usepackage{siunitx}8. listings or minted
What it does: Syntax highlighting for source code. Why you need it: If you are a computer science student including Python or C++ snippets in your report, these packages will format your code with proper colors and indentation.
\usepackage{listings}9. tikz
What it does: Creates programmable vector graphics directly in LaTeX. Why you need it: While it has a steep learning curve, TikZ is the gold standard for drawing precise diagrams, neural networks, electrical circuits, and flowcharts.
\usepackage{tikz}10. cleveref
What it does: "Clever" cross-referencing.
Why you need it: Instead of typing "Figure \ref{fig1} shows that...", you just type \cref{fig1} and the package automatically outputs "Figure 1", "Equation 3", or "Table 2" depending on what the reference points to.
\usepackage{cleveref}Managing all these packages locally can be a hassle, requiring GBs of downloads. If you use LetX, all of these packages are pre-installed and updated automatically in the cloud. Just add \usepackage{name} and start compiling!