123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
परिचय का प्रतीक साँचा परिचय

Type the equation in the blue box. Set box parameters: border thickness and colour, cell padding, and background colour. The full syntax is:

{{Equation box 1|indent|title|equation|cellpadding|border|border colour|background colour}}

Paremeters

  1. Indent: either leave blank or type colon (:) to indent the box from the left side of the page.
  2. Title: leave blank or type title/name of equation
  3. Equation: type equation including <math> ''equation in LaTeX ...'' </math>. The default equation is the general form of a complex number.
  4. Cellpadding: either leave blank (defualt is 5px) or type number to change the padding of the box around the equation (how much the box wraps around the equation, margins).
  5. Border: either leave blank (defualt is 2px) or Hex triplet to change thickness of border line.
  6. Border colour: either leave blank (defualt is light grey-blue, #ccccff) or type Hex triplet for the border line of the box.
  7. Background colour: either leave blank (defualt is white) or type colour code for the background area of the box.

See list of colours for use with the border and background colours. To use the parameters set the parameter equal to the value by using the equals sign.

Examples

  • {{Equation box 1|indent=:|equation=<math>z=re^{i\phi}=x+iy</math>|cellpadding|border|border colour|background colour}}

  • {{Equation box 1|indent=:|equation=<math>\definecolor{orange}{RGB}{255,165,0}\pagecolor{orange}z=re^{i\phi}=x+iy</math>|cellpadding=10|border=4|border colour=#AE2029|background colour=orange}}

  • {{Equation box 1|indent=:|equation=<math> \frac{{\rm d}q}{{\rm d}t} + \iint\limits_{S}\!\!\!\!\!\!\!\!\!\!\!\subset\!\supset (\mathbf{f}\cdot\mathbf{\hat{n}})\,{\rm d}S = \Sigma</math> |cellpadding|border|border colour = #0073CF|background colour=#F5FFFA}}

Unfortunatley there are cases where the LaTeX syntax has to include the colour in the equation, as well as the template coding, as shown in the second example. Without the colour in the LaTeX expression:

  • {{Equation box 1|indent=:|equation=<math>z=re^{i\phi}=x+iy</math>|cellpadding=10|border=4|border colour=#AE2029|background colour=orange}}