Polynomial Icon Role#
The poly-icon role displays inline icons representing different polynomial function shapes. This is useful for mathematical content where you need to refer to the shape or behavior of polynomial functions visually.
Available Icons#
The following polynomial icons are available:
Cubic Functions#
Standard cubic function (goes up):
Negative cubic function (goes down):
Quadratic Functions#
Positive quadratic (parabola opening up, “smile”):
Negative quadratic (parabola opening down, “frown”):
Usage Examples#
In Text#
When analyzing a cubic function , we notice that it has an S-shaped curve with one turning point. In contrast, a negative cubic
has the opposite orientation.
For quadratic functions, a positive leading coefficient gives us a shape (opening upward), while a negative leading coefficient creates a
shape (opening downward).
In Lists#
The main types of polynomial shapes:
Cubic up:
Cubic down:
Smile (positive quadratic):
Frown (negative quadratic):
In Tables#
Function Type |
Shape |
Leading Coefficient |
|---|---|---|
Standard cubic |
Positive |
|
Negative cubic |
Negative |
|
Positive quadratic |
Positive |
|
Negative quadratic |
Negative |
Features#
Inline display: Icons appear inline with text
Theme-aware: Automatically adapts to light/dark mode
Consistent sizing: Fixed width (35px) with proper scaling
Accessibility: Alt text describes each icon
Syntax#
{poly-icon}`iconname`
Where iconname is one of:
cubicupcubicdownsmilefrown