# Tag Info

Common hooks used in documents include `\AtBeginDocument` and `\AtEndDocument` that adds contents to the hooks `\@begindocumenthook` and `\@enddocumenthook`, respectively. The `etoolbox` package provides a number of tools to hook into macros (via `\patchcmd`, say) and environments, amongst other pre-defined hooks.