ettom / sql-to-latex-tables

A crude script to convert a mysql-workbench autogenerated database creation script to LaTeX tables that describe the tables of the database schema

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sql-to-latex-tables

A crude script to convert a mysql-workbench autogenerated database creation script to LaTeX tables that describe the tables of the database schema

Usage

Pass the path to the sql script as an argument to sql_to_latex.py.

Put this into the preamble of your .tex file:

\usepackage{tabularx}

\usepackage{caption}
\captionsetup{labelformat=empty}

\usepackage{floatrow}
\floatsetup[table]{capposition=top}

\newcommand{\code}[1]{\texttt{#1}}

About

A crude script to convert a mysql-workbench autogenerated database creation script to LaTeX tables that describe the tables of the database schema


Languages

Language:Python 100.0%