     ]
   }
   sectioning: {
-    comment: 'Covers all sectioning commands such as section, subsection, subparagraph, etc.'
+    comment: 'Covers all sectioning commands such as section, subsection, subparagraph, etc. The last four are KOMAscript specific.'
     name: 'support.function.section.latex'
-    begin: '\\\\((sub){0,2}section|(sub){0,1}paragraph|part|chapter)(\\*)?(?=[^a-zA-Z@])'
-    beginCaptures:
-      0:
-        name: 'entity.name.section.latex'
+    begin: '\\\\((sub){0,2}section|(sub){0,1}paragraph|part|chapter|addpart|addchap|addsec|minisec)(\\*)?(?=[^a-zA-Z@])'
+    beginCaptures:
+      0:
+        name: 'entity.name.section.$1.latex'
     end: '(?<=\\})|(^\\s*$)'
     endCaptures:
       1:

      { include: '#envDocument' }
      { include: '#envFigure' }
      { include: '#metaEnvMath' }
      { include: '#envGeneric' }
    ]
  }

      { include: '#makeAtSomething' }
      { include: '#verbatim' }
      { include: '#item' }
      # { include: '#url' }
      # { include: '#text' } # To break out of mathmode; need to investigate how to enforce plain styling
      # { include: '#commandDefinitions' }
      # { include: '#styling' } # eg. \bf \it (deprecated)
      # { include: '#latexStyling' } # eg. \emph
      # { include: '#marginpar' }
      # { include: '#footnote' }
      # { include: '#metaReferences' } # maybe include \ref \label as well?
      # { include: '#verbScantokens' } # not sure what this is for
      # { include: '#constants' } # words that represent constants
    ]
  }
  metaEnvironment: {
