         name: "punctuation.definition.textit.begin.latex"
     comment: '''
       We put the keyword in a capture and name this capture, so that disabling spell checking for “keyword” won't be inherited by the argument to \\textit{...}.
-      
+
       Put specific matches for particular LaTeX keyword.functions before the last two more general functions
     '''
     contentName: "markup.italic.textit.latex"

    ]
  }
  {
    begin: "(?:\\s*)((\\\\)begin)(\\{)(\\w+[*]?)(\\})"
    captures:
      "1":
        name: "support.function.be.latex"
      "2":
        name: "punctuation.definition.function.latex"
      "3":
        name: "punctuation.definition.arguments.latex"
      "4":
        name: "variable.parameter.function.latex"
      "5":
        name: "punctuation.definition.arguments.latex"
    end: "((\\\\)end)(\\{)(\\4)(\\})(?:\\s*\\n)?"
    name: "meta.function.environment.general.latex"
    patterns: [
      {
        include: "$base"
      }
    ]
  }
  {
    captures:
      "1":
        name: "punctuation.definition.function.latex"

      					(?:(\\[)[^\\]]*(\\]))?								# Optional
      					(?:(\\[)[^\\]]*(\\]))?								#   Arguments
      					(\\{)											# Opening Bracket

    '''
    captures:
      "1":
