模板:Bigmath/doc
![]() | 此模板的文檔不存在、不全面或不能詳細描述其功能及/或其代碼中的參數。請幫助擴充並改進其文檔。 |
![]() | 此頁面是Template:Bigmath的模板文件。 此頁面可能包含了模板的使用說明、分類和其他內容。 |
Usage
編輯Use this template to embed stand-alone formulae in wikitext. The mathematical capabilities of this template are very limited; use tables with class="texhtml"
for formulae requiring non-linear layout.
Examples
編輯{{bigmath|{{frac|∂²<VAR >f</VAR >|∂<VAR >r</VAR >²}} + {{frac|∂<VAR >f</VAR >|<VAR >r</VAR > ∂<VAR >r</VAR >}} + {{frac|∂²<VAR >f</VAR >|<VAR >r</VAR >²∂²<VAR >θ</VAR >}} {{=}} 0}}
produces:
- ∂²f⁄∂r² + ∂f⁄r ∂r + ∂²f⁄r²∂²θ = 0
Use prefix "1=" to allow simple equals-signs. Italicize letters by double-tic (''f''
):
{{bigmath|1={{frac|∂² ''f''|∂''r''²}} + {{frac
|∂''f''|''r'' ∂''r''}} = 0}}
produces:
- ∂² f⁄∂r² + ∂f⁄r ∂r = 0
Note that any extra spaces placed in the template will appear in the output. A long line can be split before any vertical-bar pipe ('|').
Performance considerations
編輯Template {{bigmath}} can process formulae (or equations) at rates over 220 per second. When template {{frac}} is also used, the rate drops to below 150 equations formatted per second.
See also
編輯- {{math}} - shows the symbols in a smaller font to fit within text lines.
- {{mvar}} - is a short form to refer to individual italicized maths variables in normal text.
- {{tmath}} - wraps a TeX math expression in <math> tags