Skip to content

\endgroup

yex.keyword.Endgroup(doc) #

Ends a group, like }.

The group must have been created with \begingroup.

Source code in yex/keyword/other.py
298
299
300
301
302
303
304
305
306
307
308
309
@yex.decorator.control(
        expandable = True,
        )
def Endgroup(doc):
    r"""
    Ends a group, like `}`.

    The group must have been created with `\begingroup`.
    """
    doc.end_group(
            from_endgroup = True,
            )