As a basics concept in OneLatex, every OneNote Page is a section or chapter in Latex and the name of the OneNote-page is the name of the section or chapter. In addition, a label with the same name is inserted. With the following Codes at the beginning of the OneNote page-name you can change or specify the behaviour:
%[N] → No title → Example: %[N]Cover Page
No Latex structure command is inserted. No label either. Just the content of the OneNote-page
%[W] → Without section or chapter number (and without a table-of-contents entry) → Example: %[W]Preface
The command for the latex structure is followed by a *, so the heading has no number and does not appear in the table of contents (and sets no running header). For an unnumbered heading that IS listed in the table of contents, use %[U] instead.
\section*{Preface}\label{Preface}
%[U] → Unnumbered, but listed → Example: %[U]Bibliography
Like %[W] the heading has no number, but it additionally gets a table-of-contents entry and a running header (a %[W] heading is missing from the ToC). A label is inserted as well. In KOMA-Script classes (scrbook, scrreprt, scrartcl) the command is \addchap (chapter level) or \addsec (section level); in standard classes it is \section* combined with \addcontentsline:
\addchap{Bibliography}\label{ch:Bibliography}
Typical use: Bibliography, Appendix, Glossary, Declaration of Authorship.
%[R] → Remarks → Example: %[R]Pending Tasks to finish my Master Thesis
The whole OneNote-page is ignored in the compiling process
Without any of these codes the inserted Latex command will be:
\section{Research question}\label{Research question}
Latex has 7 levels to structure a document. Depending on the document class the inserted command are different:
| document level | book or report | article or other document class |
|---|---|---|
| -1 | \part | - (in order to avoid Latex errors \part is inserted) |
| 0 | \chapter | \part |
| 1 | \section | \section |
| 2 | \subsection | \subsection |
| 3 | \subsubsection | \subsubsection |
| 4 | \paragraph | \paragraph |
| 5 | \subparagraph | \subparagraph |
The default level for a OneNote page on the top level is “1” ➡️ \section You can change the default initial level in the OneLatex navigation “Settings” under the section “Document structure” in the field “Initial document level for a OneNote page”:

Natively OneNote can show 3 levels of depth, that means on the 2. level there will be \subsection inserted and on the 3. level \subsubsection
With the following codes at the beginning of the name of the OneNote-page, you can add additional levels:
%[>>] → 2 Levels are added