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 → Example: %[W]Preface
The command for the latex structure is followed by a *
\\section*{Preface}\\label{Preface}
%[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