Template:Pars/doc: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
ArrowHead294 (talk | contribs)
mNo edit summary
ArrowHead294 (talk | contribs)
mNo edit summary
Line 7: Line 7:


; <code>{{{<nowiki />2}}}</code>
; <code>{{{<nowiki />2}}}</code>
: The scale factor, used to stretch or compress the parentheses.
: The scale factor, used to stretch or compress the parentheses vertically.


=== Usage ===
=== Usage ===

Revision as of 18:51, 17 April 2025

English Wikipedia has an article on:

This template is designed to typeset parentheses, but with the ability to scale them to accommodate expressions with fractions.

Parameters

{{{1}}}
The expression to be enclosed.
{{{2}}}
The scale factor, used to stretch or compress the parentheses vertically.

Usage

You type You get
{{pars|''x''}} (x)
{{pars|{{sfrac|''x''|''y''}}|1.8}} (x/y)