3.5 Math

The following code example demonstrates the use of an AlternateContent element ([ISO/IEC29500-3:2015] section 7.5) to wrap an equation and the fallback image of that equation. The following XML shows the contents of a shape containing an equation that is the letter pi:

 <p:sld>
  <p:cSld>
     <p:spTree>
    ...
         <mc:AlternateContent xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006">
             <mc:Choice xmlns:a14="http://schemas.microsoft.com/office/drawing/2010/main" Requires="a14">
                 <p:sp>
                     ...
                     <p:txBody>
                         ...
                         <a:p>
                             <a14:m>
                                 <m:oMathPara xmlns:m="http://schemas.openxmlformats.org/officeDocument/2006/math">
                                     <m:oMath xmlns:m="http://schemas.openxmlformats.org/officeDocument/2006/math">
                                         <m:r>
                                             <a:rPr>
                                                 <a:latin typeface="Cambria Math"/>
                                             </a:rPr>
                                             <m:t>𝜋</m:t>
                                         </m:r>
                                     </m:oMath>
                                 </m:oMathPara>
                             </a14:m>
                         </a:p>
                     </p:txBody>
                 </p:sp>
             </mc:Choice>
             <mc:Fallback>
                 <p:sp>
                     ...
                     <p:spPr>
                         ...
                         <a:blipFill>
                             <a:blip r:embed="rId2"/>
                         </a:blipFill>
                     </p:spPr>
                 </p:sp>
             </mc:Fallback>
         </mc:AlternateContent>
     </p:spTree>
  </p:cSld>
 </p:sld>