# How do I set the \skewchar of a math font?

In this answer, I set the `\skewchar` of a font, but I think I don't do it in the right way. The problem is that it's a math font, and those seem to get initialized only when they are used, namely when the first `\$`, `\(` etc. occurs. (Is this correct?) So for example, just putting

``````\skewchar\csname OT1/cmss/m/it/10.95\endcsname=127
``````

in the preamble doesn't work; I get

``````! Missing font identifier.
\OT1/cmss/m/it/10.95
``````

I just played around a bit and used `\check@mathfonts` to initialize the fonts before the `\skewchar` command, but this seems like cheating to me. Moreover, this only initialized the sizes `6`, `8` and `10.95`.

My feeling is that the `\skewchar` command should be invoked at initialization time. Is this the correct approach, and yes, how do I implement that?

-

``````\DeclareFontFamily{OML}{cmss}{\skewchar\font127 }
should work. You can also put `\skewchar\font127` into the last parameter of the `\DeclareFontShape` macro.
``````\DeclareFontShape{OML}{cmss}{m}{it}{<-> cmss8t}{\skewchar\font127}
{"extraction_info": {"found_math": false, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0, "math_score": 0.9665614366531372, "perplexity": 833.8880676082053}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "plain"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "warc_path": "s3://commoncrawl/crawl-data/CC-MAIN-2015-35/segments/1440644064919.24/warc/CC-MAIN-20150827025424-00235-ip-10-171-96-226.ec2.internal.warc.gz"}