Skip to main content

is_space_or_implicit_space

Function is_space_or_implicit_space 

Source
pub fn is_space_or_implicit_space(token: &Token) -> bool
Expand description

Check if a token is a space token (catcode SPACE) or an “implicit space” (a CS or ACTIVE token \let to a space token). See TeXbook p269: <one optional space> absorbs both explicit and implicit spaces. (tex.web’s cur_cmd=spacer.)