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....

 May 19, 2026  •   3 min  •   639 words  •   Suyog Garg

Trying to use Overlef Toolkit on MacOS Apple Silicon

Disclaimer: Based on ChatGPT 5.5-Pro prompts! If you have ever tried to host a local instance of Overleaf Community Edition using the official Overleaf Toolkit on an Apple Silicon Mac (M1/M2/M3/M4), you have likely run into a wall of cryptic container crashes. The Overleaf Toolkit is built natively for Linux. When deployed on macOS via Docker Desktop, differences in the sed utility, cloud storage interactions, and x86 hardware virtualization layers create a perfect storm of errors....

 May 14, 2026  •   4 min  •   744 words  •   Suyog Garg

On switching to TexStudio!

For many many year I have been using TexMaker for all my offline LaTeX document creation, compiling and editing needs. A few years back, Overleaf came along with its super ease-of-access approach to online LaTeX document editing and sharing. Overleaf has an edge over other LaTeX software distributions, mainly because of the following reasons: Overleaf is online, so the document can be accessed from anywhere with Internet. Adding collaborators is as easy as adding their email addresses....

 April 3, 2025  •   1 min  •   180 words  •   Suyog Garg