one part bash
one part pdflatex
one part imagemagick
one part linklater
This is what you see if you set up the Slack integration and then type /math R_\mathrm{s} = \left|\frac{Z_2 \cos \theta_{\mathrm{i}} - Z_1 \cos \theta_{\mathrm{t}}}{Z_2 \cos \theta_{\mathrm{i}} + Z_1 \cos \theta_{\mathrm{t}}}\right|^2 = \left|\frac{\sqrt{\frac{\mu_2}{\epsilon_2}} \cos \theta_{\mathrm{i}} - \sqrt{\frac{\mu_1}{\epsilon_1}} \cos \theta_{\mathrm{t}}}{ \sqrt{\frac{\mu_2}{\epsilon_2}} \cos \theta_{\mathrm{i}} + \sqrt{\frac{\mu_1}{\epsilon_1}} \cos \theta_{\mathrm{t}}}\right|^2
.