Skip to content

Contains python scripts for converting csv to LaTex tabulars

Notifications You must be signed in to change notification settings

johnfmcrae/csv-to-LaTex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Comma Separated Value Table to LaTex Table Converter

This is a short python script which converts csv files into LaTex formatted tables. The output is a text file which contains the desired LaTex formatted table. There are two styles of table available, the first (style 1) is a simple LaTex tabular which creates a simple table without captions. The LaTex case for this style looks something like this,

\begin{center}
    \begin{tabular}{c c}
        cell A1 & cell B1 \\
        cell A2 & cell B2
    \end{tabular}
\end{center}

The second style (style 2) adds the LaTex table type with a float specifier of here, [h!]. An example of style 2:

\begin{table}[h!]
\begin{center}
    \begin{tabular}{c c}
        cell A1 & cell B1 \\
        cell A2 & cell B2
    \end{tabular}
\end{center}
\end{table}

About

Contains python scripts for converting csv to LaTex tabulars

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages