Is the opinion pdf formatted with LaTeX? Couldn't help noticing the margins etc.
It doesn't address the LaTeX question, but this page had some interesting details on the style guide for Supreme Court opinions: https://lawyerist.com/style-guide-supreme-court/