Skip to main content

nfss_shape_code

Function nfss_shape_code 

Source
pub fn nfss_shape_code(shape: &str) -> Option<&'static str>
Expand description

The NFSS shape code of an abstract shape (\updefault n, \itdefault it, \sldefault sl, \scdefault sc), inverse of lookup_font_shape. normal is the upright shape plain’s \em switches back to (plain_base.pool.ltxml:607).