MathML HTML

Combinations

We can create a combinations symbol by removing the division line in the fraction element.

Combinations.html

<!doctype html>
<html>
  <head>
    <title>XoaX.net's MathML: Combinations Example</title>
  </head>
  <body>
    <p>
      The number of combinations of n things taken p at a time is
      <math>
      	<mmultiscripts>
      		<mi>C</mi>
      		<mi>p</mi>
      		<mrow></mrow>
      		<mprescripts />
      		<mi>n</mi>
      		<mrow></mrow>
      	</mmultiscripts>
      	<mo>=</mo>
      	<mrow><mo>(</mo>
      		<mfrac linethickness="0">
      			<mi>n</mi>
      			<mi>p</mi>
      		</mfrac>
      	<mo>)</mo></mrow>
      </math>
    </p>
  </body>
</html>
 

Output

 
 

© 2007–2025 XoaX.net LLC. All rights reserved.