Template:Equation box 1

From testwiki
Revision as of 20:33, 9 June 2018 by imported>Debenben (\pagecolor and forcing png with \,\! is not needed and doesn't have any effect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

z=reiϕ=x+iy

Template:Documentation

{{Equation box 1 |title='''[[Complex number]]''' |indent=: |equation=<math>z=re^{i\phi}=x+iy</math> |cellpadding = 6 |border = 1 |border colour = black |background colour=white}}

z=reiϕ=x+iy

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

z=reiϕ=x+iy

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

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:

z=reiϕ=x+iy

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

}}