functionality for splitting by ltx_classname