LaTeX Rendering Test Cases
Test 1: Inline Math ($...$)
Test 2: Display Math ($$...$$)
Test 3: Fractions in Display Mode
Test 4: Matrix
Test 5: Currency (should NOT render as math)