The ChatGPT web interface has built in support for LaTeX formatting.
You can use this prompt (taken from minchien9’s suggestion above):
Could you please use the specific LaTeX math mode delimiters for your response?
LaTex math mode specific delimiters as following
- inline math mode : `
\(` and `\)`- display math mode: insert linebreak after opening `
$$`, `\[` and before closing `$$`, `\]`
Example screenshot:
