Template:Harmonics in equal/doc: Difference between revisions
No edit summary |
No edit summary |
||
| Line 22: | Line 22: | ||
==== Advanced ==== | ==== Advanced ==== | ||
The template takes up to | The template takes up to 8 arguments: | ||
<syntaxhighlight lang="text"> | <syntaxhighlight lang="text"> | ||
| Line 33: | Line 33: | ||
| prec = <decimals of abs error> | | prec = <decimals of abs error> | ||
| title = <your title> | | title = <your title> | ||
| intervals = <interval list name> | |||
}} | }} | ||
</syntaxhighlight> | </syntaxhighlight> | ||
| Line 49: | Line 50: | ||
: Precision of absolute error (digits after the decimal point), default is estimated according to the step size. | : Precision of absolute error (digits after the decimal point), default is estimated according to the step size. | ||
; title | ; title | ||
: Default is: "Approximations of | : Default is: "Approximations of harmonics in ''name''". By default, the names for divisions of 2/1, 3/1 and 3/2 will be displayed as 'edo', 'edt' and 'edf' respectively. When the denominator is 1, it will not be displayed. | ||
; intervals | |||
: can be <code>prime</code> for primes, <code>odd</code> for odd harmonics and <code>integer</code> for integer harmonics. By default, edos get primes if they are consistent for the 21-odd limit, otherwise they get odds. Everything that is not edo gets integers. | |||
=== Examples === | === Examples === | ||