namespace AIStudio.Tools.DocumentSegments.Latex; /// /// What an environment means for the segments of a document. /// internal enum LatexEnvironmentRole { /// /// Holds paragraphs, e.g., itemize or figure; the arguments of its start are layout. /// CONTAINER, /// /// Holds paragraphs and has a title as its arguments in braces, e.g., a frame of Beamer. /// CONTAINER_WITH_TITLE, /// /// Holds paragraphs and may have a name as its argument in brackets, e.g., a theorem. /// CONTAINER_WITH_NAME, /// /// A table, whose cells are segments of their own: an ampersand or a line break ends one. /// TABLE, /// /// A formula, e.g., equation: a tag of its own within the words around it. /// MATH, /// /// Code, a drawing, or anything else which stays out entirely, e.g., verbatim or tikzpicture. /// VERBATIM, }