• Process streaming commands in a group. If needed, "escape" the group. For example, {\bfseries xx} -> \textbf{xx}, but {foo \bfseries xx} -> {foo \textbf{xx}}.

    Parameters

    • group: Group
    • isStreamingCommand: ((node) => node is Macro)
        • (node): node is Macro
        • Parameters

          • node: any

          Returns node is Macro

    • replacer: ((content, streamingCommand) => Node | Node[])
    • Optional options: {
          environmentsThatDontBreakPars?: string[];
          macrosThatBreakPars?: string[];
      }
      • Optional environmentsThatDontBreakPars?: string[]
      • Optional macrosThatBreakPars?: string[]

    Returns Node[]

Generated using TypeDoc