An English example for scrlayer-notecolumn from the KOMA-Script bundle. The one-page text is a mock commentary with a table of contents, a preamble section and an analysis section, with notes set in a separate column beside the text. It uses scrlayer-scrpage for headers, the contract package for numbered clauses, and xcolor with lmodern. Replace the sample text with your own commentary.
Shared under the LaTeX Project Public License 1.3c. All credit to Markus Kohm; the licence comes with the project's files.