Template:NumBlk

From Wikipedia, the free encyclopedia

This template creates a numbered block which is usually used to number mathematical formulae.

[edit] Parameter

All parameters of this template are required.
{{{1}}}: Specify indentation. The more colons (:) you put, the further indented the block will be. This parameter can be empty if no indentation is needed.
{{{2}}}: The body or content of the block.
{{{3}}}: Specify the block number.
{{{RawN}}}: Assigned with a non-empty or non-whitespaced string to remove the formatting on the number and the parentheses surround the number.
{{{LnSty}}}: Specify the line style.

[edit] Example

{{NumBlk|:|<math>y=ax+b</math>|Eq. 3}}

y = ax + b 

 

 (Eq. 3)

 

{{NumBlk|:|<math>ax^2+bx+c=0</math>|Eq. 3}}

ax2 + bx + c = 0 

 

 (Eq. 3)

 

{{NumBlk|:|<math>\Psi(x_1,x_2)=U(x_1)V(x_2)</math>|2}}

Ψ(x1,x2) = U(x1)V(x2) 

 

 (2)

 

{{NumBlk||<math>\bold{a}(t)=\frac{d}{dt}\bold{v}(t)</math>|3.5}}

\bold{a}(t)=\frac{d}{dt}\bold{v}(t) 

 

 (3.5)

 

{{NumBlk|:|<math>\bold{a}(t)=\frac{d}{dt}\bold{v}(t)</math>|1}}

\bold{a}(t)=\frac{d}{dt}\bold{v}(t) 

 

 (1)

 

{{NumBlk|::|<math>\bold{a}(t)=\frac{d}{dt}\bold{v}(t)</math>|13.7}}

\bold{a}(t)=\frac{d}{dt}\bold{v}(t) 

 

 (13.7)

 

{{NumBlk|:::|<math>\bold{a}(t)=\frac{d}{dt}\bold{v}(t)</math>|1.2}}

\bold{a}(t)=\frac{d}{dt}\bold{v}(t) 

 

 (1.2)

 

{{NumBlk|:|<math>\mathbf{a}(t)=\lim_{\Delta t \to 0}\frac{\mathbf{v}(t+\Delta t)-\mathbf{v}(t)}{\Delta t}
=\frac{\mathrm{d}\mathbf{v}}{\mathrm{d}t}</math>|Eq. 5}}

\mathbf{a}(t)=\lim_{\Delta t \to 0}\frac{\mathbf{v}(t+\Delta t)-\mathbf{v}(t)}{\Delta t}
=\frac{\mathrm{d}\mathbf{v}}{\mathrm{d}t} 

 

 (Eq. 5)

 

{{NumBlk|1=:|2=<math>\bold{a}(t)=\frac{d}{dt}\bold{v}(t)</math>|3=3.5}}

\bold{a}(t)=\frac{d}{dt}\bold{v}(t) 

 

 (3.5)

 

{{NumBlk|1=:|2=<math>\bold{a}(t)=\frac{d}{dt}\bold{v}(t)</math>|3=3.5|RawN=.}}

\bold{a}(t)=\frac{d}{dt}\bold{v}(t) 

 

 3.5

 

{{NumBlk|1=:|2=<math>\bold{a}(t)=\frac{d}{dt}\bold{v}(t)</math>|3=<3.5>|RawN=.}}

\bold{a}(t)=\frac{d}{dt}\bold{v}(t) 

 

 <3.5>

 

{{NumBlk|1=:|2=<math>\bold{a}(t)=\frac{d}{dt}\bold{v}(t)</math>|3=[3.5]|RawN=.}}

\bold{a}(t)=\frac{d}{dt}\bold{v}(t) 

 

 [3.5]

 

{{NumBlk|1=:|2=<math>\bold{a}(t)=\frac{d}{dt}\bold{v}(t)</math>|3='''[3.5]'''|RawN=.}}

\bold{a}(t)=\frac{d}{dt}\bold{v}(t) 

 

 [3.5]

 

{{NumBlk|1=:|2=<math>\bold{a}(t)=\frac{d}{dt}\bold{v}(t)</math>|3=<Big>'''[3.5]'''</Big>}}

\bold{a}(t)=\frac{d}{dt}\bold{v}(t) 

 

 ([3.5])

 

{{NumBlk|1=:|2=<math>\bold{a}(t)=\frac{d}{dt}\bold{v}(t)</math>|3=<Big>'''[3.5]'''</Big>|RawN=.}}

\bold{a}(t)=\frac{d}{dt}\bold{v}(t) 

 

 [3.5]

 

{{NumBlk|1=:|2=<math>\bold{a}(t)=\frac{d}{dt}\bold{v}(t)</math>|3=<Big>'''(3.5)'''</Big>|RawN=.|LnSty=1px dashed red}}

\bold{a}(t)=\frac{d}{dt}\bold{v}(t) 

 

 (3.5)

 

{{NumBlk|1=:|2=<math>\bold{a}(t)=\frac{d}{dt}\bold{v}(t)</math>|3=<Big>'''(3.5)'''</Big>|RawN=.|LnSty=3px dashed #0a7392}}

\bold{a}(t)=\frac{d}{dt}\bold{v}(t) 

 

 (3.5)

 

{{NumBlk|1=:|2=<math>\bold{a}(t)=\frac{d}{dt}\bold{v}(t)</math>|3=<Big>'''[3.5]'''</Big>|RawN=.|LnSty=3px solid green}}

\bold{a}(t)=\frac{d}{dt}\bold{v}(t) 

 

 [3.5]

 

{{NumBlk|1=:|2=<math>\bold{a}(t)=\frac{d}{dt}\bold{v}(t)</math>|3=<Big>'''[3.5]'''</Big>|RawN=.|LnSty=5px dotted blue}}

\bold{a}(t)=\frac{d}{dt}\bold{v}(t) 

 

 [3.5]

 

{{NumBlk|1=:|2=<math>\bold{a}(t)=\frac{d}{dt}\bold{v}(t)</math>|3=<Big>'''[3.5]'''</Big>|RawN=.|LnSty=0px solid green}}

\bold{a}(t)=\frac{d}{dt}\bold{v}(t) 

 

 [3.5]

 

{{NumBlk|1=:|2=<math>\bold{a}(t)=\frac{d}{dt}\bold{v}(t)</math>|3=<Big>'''[3.5]'''</Big>|RawN=.|LnSty=5px none green}}

\bold{a}(t)=\frac{d}{dt}\bold{v}(t) 

 

 [3.5]

 

{{NumBlk|1=:|2=<math>\bold{a}(t)=\frac{d}{dt}\bold{v}(t)</math>|3=<Big>'''[3.5]'''</Big>|RawN=.|LnSty=3px double green}}

\bold{a}(t)=\frac{d}{dt}\bold{v}(t) 

 

 [3.5]