public static Box CreateGlueBox(CharType leftType, CharType rightType, TexStyle style) { float width = TEXPreference.main.GetGlue(leftType, rightType) + TexUtility.AdditionalGlueSpace; if (width != 0) { return(TexUtility.GetBox(SpaceAtom.Get(true, width, 0, 0), style)); } return(null); }
public static Box CreateGlueBox(CharType leftType, CharType rightType) { float width = TEXPreference.main.GetGlue(leftType, rightType) + TexContext.Kerning.value; if (width != 0) { return(TexUtility.GetBox(Get(true, width, 0, 0))); } return(null); }