« Modèle:FormulaHighlightBox » : différence entre les versions
m (1 version) |
m (1 version : upload useful templates - prepared in FR-PP) |
Version du 22 avril 2016 à 05:49
\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)