XML-Technologien / MathML / Presentation elements / mfenced

(Excerpt from "The MathML Handbook" by Pavi Sandhu)

Syntax

<mfenced>(child)*</mfenced>

Description

The mfenced element is used as a compact way to express common notational constructs involving fences, such as braces, brackets, or parentheses. By default, this element renders its contents enclosed in parentheses with arguments separated by commas.

Attributes

This element accepts the three attributes shown in the following table.

Table: Attributes of mfenced.

Attribute

Values

Default

open

string

(

close

string

)

separators

character*

,

These attributes have the following meaning:

  • open: specifies the character used as the opening fence.

  • close: specifies the character used as the closing fence.

  • separators: specifies the characters used to separate the arguments. The value of this attribute is a list of characters, with successive members of the list used to separate successive pairs of arguments. If there are fewer characters than needed, the last one is repeated as many times as necessary. If there are more characters than needed, the extra ones are ignored.

   

 

 

 

 

nach oben