<math 
  xmlns="http://www.w3.org/1998/Math/MathML">
  <semantics>
    <mrow>
      <mi>π</mi>
      <mo>/</mo>
      <mn>4</mn>
    </mrow>
    <annotation encoding="TeX">\pi/4</annotation>
  </semantics>
</math>