Plurimath

`sansserif` (unary)

Sansserif

AsciiMath

mathsf(x)

LaTeX

\mathsf{x}

MathML

<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
  <mstyle displaystyle="true">
    <mstyle mathvariant="sans-serif">
      <mi>x</mi>
    </mstyle>
  </mstyle>
</math>

OMML

<m:oMathPara>
  <m:oMath>
    <m:r>
      <m:rPr>
        <m:scr m:val="sans-serif"/>
        <m:sty m:val="p"/>
      </m:rPr>
      <m:t>x</m:t>
    </m:r>
  </m:oMath>
</m:oMathPara>

UnicodeMath

\msans(x)