This extension is a simple tool to generate LaTeX tables from CSV files. And output them to text files and/or your clipboard.
It is recommended to pair this extension with the Edit CSV extension to be able to work directly with CSV files in VSCode.
Execute the function Generate latex table from csv
from command palette
or simply click on the LaTeX table
button in the editor groups when in a CSV file
to generate a LaTeX table from a CSV file.
This extension contributes the following settings:
-
latex-table-generator-from-csv.tableOutput
: Specifies the way to output the generated LaTeX table. You can choose to output to the clipboard, to a text file, or to both. The default is "clipboard".Options:
"clipboard"
: Outputs the LaTeX table to the clipboard."text file"
: Outputs the LaTeX table to a text file located in the root folder of your project."clipboard and text file"
: Outputs the LaTeX table to both the clipboard and a text file.
-
latex-table-generator-from-csv.csvSeparator
: Specifies the character to use as the CSV separator. The default is ",".
You can change these settings by going to the settings in Visual Studio Code (File > Preferences > Settings or Ctrl+,
) and searching for "Latex Table Generator".
Initial release.
This extension is a small non-commercial project. It is not affiliated with the LaTeX project or any other project. Tools such as github copilot and chatGPT were highly used in the developpement process.
The extension was motivated and is highly inspired from the LaTeX Table Generator website and the Edit CSV extension.