LaTeX for Astrophysics PhDs
Disclaimer: Based on ChatGPT 5.5-Pro prompts! A comprehensive guide and printable cheatsheet for siunitx, physics2, acronym, and advanced paper write-ups. Recommended Preamble Setup Copy and paste this snippet into your .tex root or .sty file. It configures the modular packages, overrides command conflicts, and defines standard astronomy constants (including the stubborn CGS units the community refuses to drop). % --- Core Math & Layout \usepackage{mathtools} \% Extends amsmath, improves spacing \usepackage{bm} \% True bold formatting for vectors/tensors (\bm{\alpha}) \usepackage{microtype} \% Subtle typographic adjustments to fix text "rivers" % --- The Physics Stack \usepackage{siunitx} \% Numbers, units, and ranges \usepackage{physics2} \% Modern, bug-free physics shorthand \usephysicsmodule{ab, braket, diagmatrix} \% Load specific modules % --- Specialized Tools --- \usepackage[printonlyused]{acronym} % Jargon tracking and glossary linking \usepackage[capitalise]{cleveref} % Automated smart referencing (e....