Tables in OneNote are translated to LaTeX tables using the OneLatex conversion process. The output of the conversion can be controlled by various settings.
<aside> 💡 Please note that, if you have several tables in one document, you can adjust the settings for the applied table environment for each table (see Application of specific settings for a particular table for more details).
</aside>
The content of tables in LaTeX is embedded in an environment. To automatically create the environment around the content, the checkbox must be activated:
To understand how you can define the text of the environment read further down.
You can use the following settings to specify whether horizontal and/or vertical grids are displayed in the table:
In the tabular environment you can position all cells either left-aligned (”i”), centered (”c”) or right-aligned (”r”):
<aside> 💡 If not all columns have the same alignment, i.e. if, for example, the first column is left-aligned and the second number column is right-aligned, you must write the table preamble manually (see example with manually written table preamble).
</aside>
There are different types of environments that can be used depending on your needs and the LaTeX packages you want to use. The standard environment uses the Tabular environment, which does not require an additional Latex package: