VSCode extension for converting CSV or Excel table to LaTeX tabular.
- Copy CSV or Excel table.
- Execute command
CSV2LaTeX: Paste As Tabular From CSV
orExcel
via command palette or context menu.
CSV2LaTeX: Paste As Tabular From CSV
CSV2LaTeX: Paste As Tabular From Excel
CSV2LaTeX: Enable Pasting Body Only
CSV2LaTeX: Disable Pasting Body Only
This controls whether pasting body only.
You can enable or disable not only via settings.json
but also via command CSV2LaTeX: Enable Pasting Body Only
or CSV2LaTeX: Disable Pasting Body Only
.
True
index & x & y & z \\
1 & 10.1 & 23.4 & 3.2 \\
2 & 10.3 & 23.7 & 3.3 \\
3 & 10.4 & 23.8 & 3.1 \\
4 & 10.0 & 23.6 & 3.3 \\
5 & 10.2 & 23.6 & 3.4 \\
average & 10.2 & 23.6 & 3.3 \\
False
\begin{table}
\begin{tabular}{llll}
index & x & y & z \\
1 & 10.1 & 23.4 & 3.2 \\
2 & 10.3 & 23.7 & 3.3 \\
3 & 10.4 & 23.8 & 3.1 \\
4 & 10.0 & 23.6 & 3.3 \\
5 & 10.2 & 23.6 & 3.4 \\
average & 10.2 & 23.6 & 3.3 \\
\end{tabular}
\end{table}