Template:Numb form

From Wikisource
Jump to: navigation, search

{{{1}}} {{{2}}}


Use[edit]

The template is similar to Template:disp and Template: disp right, but it has a simpler code and one more optional parameter.

It builds a three-cell table, useful to display numbered formulas, with an optional text on the left.

  • Param 1: the formula's code
  • Param 2: the number of the formula to be written on the right
  • Param 3: the optional text on the left

Examples[edit]

This code:

 
{{numb form
|<math>\int_{x_1}^{x_2} \frac{dX}{dx} dx + (X' - X)</math>
|(6)}}

gives:


\int_{x_1}^{x_2} \frac{dX}{dx} dx + (X' - X)

(6)


This:

{{numb form
|<math>\int_{x_1}^{x_2} \frac{dX}{dx} dx + (X' - X)</math>
|(6)
| On the right a test formula:
}} 

gives:

On the right a test formula:

\int_{x_1}^{x_2} \frac{dX}{dx} dx + (X' - X)

(6)