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): cubicup polynomial icon

Negative cubic function (goes down): cubicdown polynomial icon

Quadratic Functions#

Positive quadratic (parabola opening up, “smile”): smile polynomial icon

Negative quadratic (parabola opening down, “frown”): frown polynomial icon

Usage Examples#

In Text#

When analyzing a cubic function cubicup polynomial icon, we notice that it has an S-shaped curve with one turning point. In contrast, a negative cubic cubicdown polynomial icon has the opposite orientation.

For quadratic functions, a positive leading coefficient gives us a smile polynomial icon shape (opening upward), while a negative leading coefficient creates a frown polynomial icon shape (opening downward).

In Lists#

The main types of polynomial shapes:

  • Cubic up: cubicup polynomial icon

  • Cubic down: cubicdown polynomial icon

  • Smile (positive quadratic): smile polynomial icon

  • Frown (negative quadratic): frown polynomial icon

In Tables#

Function Type

Shape

Leading Coefficient

Standard cubic

cubicup polynomial icon

Positive

Negative cubic

cubicdown polynomial icon

Negative

Positive quadratic

smile polynomial icon

Positive

Negative quadratic

frown polynomial icon

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:

  • cubicup

  • cubicdown

  • smile

  • frown