Packages for Formatting in LaTeX

LaTeX packages extend the core functionality and give you more control over formatting. Some commonly used packages help with page layout, headers, colors, section styling, and list customization.

geometry – Page Layout

The geometry package allows you to adjust page margins, paper size, and overall layout with simple commands. It is much easier than manually tweaking dimensions.

fancyhdr – Headers & Footers

The fancyhdr package provides control over headers and footers. You can add custom text, page numbers, or even images like logos.

titlesec – Custom Section Formatting

The titlesec package lets you change how section titles look. You can modify font, size, spacing, and alignment of section headings.

xcolor – Colors

The xcolor package provides predefined and custom colors for text, tables, and backgrounds. It is often used with other packages like tcolorbox or beamer.

tcolorbox – Colored Boxes

The tcolorbox package creates colored boxes that are useful for highlighting notes, examples, or theorems. It supports borders, shading, and titles.

enumitem – Advanced List Formatting

The enumitem package allows customization of list environments like itemize, enumerate, and description. You can control spacing, numbering, and labels.