Vorlage:FormulaHighlightBox

Aus Planungskompendium Energieverteilung
Version vom 20. Januar 2014, 16:11 Uhr von LMischler (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „\definecolor{bggrey}{RGB}{234,234,234}\pagecolor{bggrey}<noinclude> {{PAGENAME}} == Description == This template is used to …“)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Wechseln zu:Navigation, Suche

\definecolor{bggrey}{RGB}{234,234,234}\pagecolor{bggrey}


Description

This template is used to define the background colour of math formulas inside "Highlight boxes" (see template Highlightbox

Notes: 1/ it cannot be used inside the <math ... </math> syntax as templates are not transcluded there. so use in replacement the syntax {{:#tag:math| {{FormulaHighlightBox}} math_formula_description }} 2/ math formulas inside the {{#tag:math| ....}} call should not have any double-brackets }} otherwise they would be seen as the end of the template. If needed add a space between the brackets like this: } } (no impact on math formula itself)