# Template:Math

{{{1}}}

## 範例

{{math|''f''(''x'') {{=}} ''b''<sup>''x''</sup> {{=}} ''y''}}


{{math|sin &pi; {{=}} 0}}


{{math|{{intmath|int|0|+&infin;}} ''e''<sup>{{minus}}''x''</sup> d''x'' {{=}} 1}}


'''{{math|{{sfrac|1|2}} {{minus}} {{sfrac|1|3}} {{=}} {{sfrac|1|6}}}}'''


{{math|({{sqrt|2}})<sup>2</sup> {{=}} 2}}


## 注意事項

### Use of equals-sign and absolute value bars

If a single equals-sign ("=") is used, it will fail to render, instead showing "{{{1}}}". For example, the following template-coding would be invalid:

{{math|1 + 2 = 3}}

To resolve this, either: (a) Start the formula with "1=" as in:

{{math|1=1 + 2 = 3}}

{{math|1 + 2 {{=}} 3}}

A similar difficulty concerns the vertical bars ("|") used to indicate absolute value, which without care would get interpreted as part of the template syntax. The solution is different than for the equals sign: such bars should be entered as "{{!}}":

{{math|{{!}}''f''(''x'') − ''a''{{!}} < ε}}

{{math|{{mabs|''f''(''x'') − ''a''}} < ε}}