Template:Equation box 1: Difference between revisions

From testwiki
Jump to navigation Jump to search
imported>Debenben
m \pagecolor and forcing png with \,\! is not needed and doesn't have any effect
 
(No difference)

Latest revision as of 20:33, 9 June 2018

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}}

}}