# doc-cache created by Octave 5.1.0
# name: cache
# type: cell
# rows: 3
# columns: 1
# name: <cell-element>
# type: sq_string
# elements: 1
# length: 9
csv2latex


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 1647
 Creates a latex file from a csv file. The generated latex file contains a 
 tabular with all values of the csv file. The tabular can be decorated with 
 row and column titles. The generated latex file can be inserted in any latex
 document by using the '\input{latex file name without .tex}' statement.

 Usage: 
  - csv2latex(csv_file, csv_sep, latex_file)
  - csv2latex(csv_file, csv_sep, latex_file, tabular_alignments)
  - csv2latex(csv_file, csv_sep, latex_file, tabular_alignments, has_hline)
  - csv2latex(csv_file, csv_sep, latex_file,   
              tabular_alignments, has_hline, column_titles)
  - csv2latex(csv_file, csv_sep, latex_file, tabular_alignments,
              has_hline, column_titles, row_titles)

 Parameters:
  csv_file - the path to an existing csv file
  csv_sep - the seperator of the csv values
  latex_file - the path of the latex file to create     
  tabular_alignments - the tabular alignment preamble (default = {'l','l',...})
  has_hline - indicates horizontal line seperator (default = false)
  column_titles - array with the column titles of the tabular (default = {})
  row_titles - array with the row titles of the tabular (default = {})

 Examples:
  # creates the latex file 'example.tex' from the csv file 'example.csv' 
  csv2latex("example.csv", '\t', "example.tex");

  # creates the latex file with horizontal and vertical lines
  csv2latex('example.csv', '\t', 'example.tex', {'|l|', 'l|'}, true);
 
  # creates the latex file with row and column titles
  csv2latex('example.csv', '\t', 'example.tex', {'|l|', 'l|'}, true, 
            {'Column 1', 'Column 2', 'Column 3'}, {'Row 1', 'Row 2'});



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 38
 Creates a latex file from a csv file.





