https://github.com/k-kuroguro/vscode-csv2latex
VSCode extension for converting CSV or Excel table to LaTeX tabular.
https://github.com/k-kuroguro/vscode-csv2latex
csv excel latex vscode vscode-extension
Last synced: 5 months ago
JSON representation
VSCode extension for converting CSV or Excel table to LaTeX tabular.
- Host: GitHub
- URL: https://github.com/k-kuroguro/vscode-csv2latex
- Owner: k-kuroguro
- License: mit
- Created: 2022-05-18T04:06:13.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2025-02-07T15:37:09.000Z (over 1 year ago)
- Last Synced: 2025-09-03T06:38:24.903Z (10 months ago)
- Topics: csv, excel, latex, vscode, vscode-extension
- Language: TypeScript
- Homepage:
- Size: 594 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# CSV2LaTeX
[](https://marketplace.visualstudio.com/items?itemName=k-kuroguro.csv2latex)
[](https://github.com/k-kuroguro/vscode-csv2latex/actions/workflows/main.yaml)
[](https://opensource.org/licenses/MIT)
---
VSCode extension for converting CSV or Excel table to LaTeX tabular.

# How to use
1. Copy CSV or Excel table.
2. Execute command `CSV2LaTeX: Paste As Tabular From CSV` or `Excel` via command palette or context menu.
# Available Commands
- `CSV2LaTeX: Paste As Tabular From CSV`
- `CSV2LaTeX: Paste As Tabular From Excel`
- `CSV2LaTeX: Enable Pasting Body Only`
- `CSV2LaTeX: Disable Pasting Body Only`
# Available Config
## pasteBodyOnly
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
```tex
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
```tex
\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}
```