Difference between revisions of "Template:Delimiter-es/doc"
Jump to navigation
Jump to search
imported>Maschen (update) |
imported>Maschen (→Syntax) |
||
| Line 24: | Line 24: | ||
Each line corresponds to inserting a glyph in a new line of the <code>< span ></code> using the <code>style="display:block;"</code>. | Each line corresponds to inserting a glyph in a new line of the <code>< span ></code> using the <code>style="display:block;"</code>. | ||
| − | The glyphs listed above should be copied and pasted into parameter <code> | + | The glyphs listed above should be copied and pasted into parameter <code>a</code> when this template is used. |
==External sites== | ==External sites== | ||
Revision as of 00:14, 26 June 2013
- This template contains the switch function for use in {{ldelim}} and {{rdelim}}, to change the height of the delimiters.
- Please do not delete it, and be very careful when editing it. Thank you.
The title is short for "delimiter extension switch". Ideally do not move it.
Syntax
The template has the code:
{{delimiter-es|a|b}}
containing two parameters:
- the first parameter
ais the number of stories for the expression, and equals one of the values 2, 3, 4, 5. - the second parameter
bis the glyph for the delimiter extension:- for left-handed square bracket extensions use ⎢,
- for right-handed square bracket extensions use ⎥,
- for left-handed round bracket extensions use ⎜,
- for right-handed round bracket extensions use ⎟,
- for vertical bar extensions use │,
- for double vertical bar extensions ║.
Each line corresponds to inserting a glyph in a new line of the < span > using the style="display:block;".
The glyphs listed above should be copied and pasted into parameter a when this template is used.