187 Pages

Template documentation (for the above template, sometimes hidden or invisible)

{{UsageTable}} is used to start a LaTeX usage table. Each row of the table is created using {{UsageTable-row}} and the table ends with {{UsageTable-end}}. For example:

{{UsageTable}}
{{UsageTable-row|\int_0^\pi \sin(x) \, \mathrm{d}x||example of integral syntax}}
{{UsageTable-end}}


Provides this table:

LaTeX markup... ...results in: ...is used for:
\int_0^\pi \sin(x) \, \mathrm{d}x example of integral syntax

If you don't want the third column. then you may explicitly omit it using {{UsageTable|3=}}, and omitting the third parameter of each {{UsageTable-row}}. Also, if the "markup" column is different from the "results" column, each can be specified, as in this example:

{{UsageTable|3=}}
{{UsageTable-row|\int_0^\pi <any function> \mathrm{d}x|\int_0^\pi \sin(x) \, \mathrm{d}x}}
{{UsageTable-end}}


Provides this table:

LaTeX markup... ...results in:
\int_0^\pi <any function> \mathrm{d}x

If you want to change the titles, include them as parameters of {{UsageTable}}. Note that in the {{UsageTable-row}} template, omitted columns show up without a border, as in this example:

{{UsageTable|column 1 heading|column 2 heading|column 3 heading}}
{{UsageTable-row|\int_0^\pi <any function> \mathrm{d}x|\int_0^\pi \sin(x) \, \mathrm{d}x}}
{{UsageTable-end}}


Provides this table:

\int_0^\pi <any function> \mathrm{d}x