Inconsistent fonts for the caption of an input box and a slider

J.Capel(UNSW) shared this problem 4 years ago
New

If I caption a slider using something like $n=%v$ I get a nice serif font (consistent with the rest of my construction), however captioning an input box using $n=$ does not product a serif font.

Comments (2)

photo
1

You can use $\mathsf{n=}$ to force sans serif or $\mathrm{n=}$ for serif font.

photo
1

Thank you for the suggestion. Unfortunately it doesn't seem to work with the caption on input boxes. I've attached a screenshot showing (from top to bottom in both columns):

  • $$n=$$
  • $$\mathsf{n}=$$
  • $$\mathrm{n}=$$
  • $$\mathit{n}=$$

The sliders captions respond as I expect, but only the 'mathit' command seems to have any affect on the input box caption.


You can see my GeoGebraTube worksheet here: https://www.geogebra.org/m/hhBYfZFW

© 2021 International GeoGebra Institute