Docs - Katex

Question

Docs - Katex

Dollar sign within katex/latex

$9000 here is the dollar sign\text{\textdollar 9000 here is the dollar sign}

or even easier is to specify a backslash before the dollar sign either inside or outside the katex:

$9α\$9\alpha

Percentage Sign

To use percentage sign, use a backslash.

%\%

When bold text is not working

Make sure to put proper break tag, for example:

Grant joined the two objects below.



Which object below could not be made using Grant's 2 objects?


Force katex font (1em size)

Force the use of katex fonts and over-ride the SmarterMaths default of using the system font.

This is required in rare cases where a katex symbol/instruction is not rendering appropriately (due to issues in using the system font for rendering that particular instruction.)

You can use the class="sm_katex-font" inside any div or span tag to force the katex-font.

For example:

  • Using system font: 12322α\ne 123 2^2 \alpha. Notice the not equals symbol does not render correctly.
  • Forcing the katex font: \ne \angle12322α123 2^2 \alpha. Notice the not equals symbol now renders correctly. And the remaining katex is specified outside of the span so it continues to match/use the system font.

Worked Solution

{{{correctAnswer}}}


Variant 0

DifficultyLevel

400

Question

Docs - Katex

Dollar sign within katex/latex

$9000 here is the dollar sign\text{\textdollar 9000 here is the dollar sign}

or even easier is to specify a backslash before the dollar sign either inside or outside the katex:

$9α\$9\alpha

Percentage Sign

To use percentage sign, use a backslash.

%\%

When bold text is not working

Make sure to put proper break tag, for example:

Grant joined the two objects below.



Which object below could not be made using Grant's 2 objects?


Force katex font (1em size)

Force the use of katex fonts and over-ride the SmarterMaths default of using the system font.

This is required in rare cases where a katex symbol/instruction is not rendering appropriately (due to issues in using the system font for rendering that particular instruction.)

You can use the class="sm_katex-font" inside any div or span tag to force the katex-font.

For example:

  • Using system font: 12322α\ne 123 2^2 \alpha. Notice the not equals symbol does not render correctly.
  • Forcing the katex font: \ne \angle12322α123 2^2 \alpha. Notice the not equals symbol now renders correctly. And the remaining katex is specified outside of the span so it continues to match/use the system font.

Worked Solution

none

Question Type

Multiple Choice (One Answer)

Variables

Variable nameVariable value
correctAnswer
none

Answers

Is Correct?Answer

none

Tags

  • docs