> ## Documentation Index
> Fetch the complete documentation index at: https://resources.latex-cloud-studio.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Fix Missing Package Errors in LaTeX

> Resolve .sty not found errors in LaTeX by checking package names, installation state, and dependency conflicts.

Missing package errors typically look like: `File 'xyz.sty' not found`.

## Common Causes

* Typo or wrong package name.
* Package not installed in local TeX distribution.
* Outdated TeX distribution.
* Template expects a package unavailable in your environment.

## Fix Workflow

1. Verify exact package name in docs.
2. Remove duplicate/conflicting package calls.
3. Update TeX distribution.
4. In cloud editors, remove local-only package assumptions.

## Example

```latex package-fix.tex theme={null}
% Wrong
\usepackage{TikZ}

% Correct
\usepackage{tikz}
```

## Related Pages

* [Package management](/learn/latex/package-management)
* [Fixing compilation errors](/learn/latex/how-to/fixing-compilation-errors)
