Questions tagged [csvsimple]

{csvsimple} provides a simple LaTeX interface for the processing of files with comma separated values (CSV).

Filter by
Sorted by
Tagged with
3
votes
2answers
27 views

Physical page breaks when using csvsimple and pgfpages

I would like to print initial account data for individual students and place 8 cards on a physical page. This is my MWE. \documentclass[fontsize=12pt, paper=a7, paper=landscape, parskip=half]{...
3
votes
1answer
68 views

Possible Bug in passing variables from CSV

I think there's a bug in calling decimal numbers from CSV files. Have a look. Create a Folder. Add a CSV file called texDemo.CSV with the following in it. UniqueID,Name,DecimalPercentageComplete,...
3
votes
1answer
134 views

Csvsimple with nonenglish: error

Trying to parse table with russian symbols. Example csv file: Название, Автор, Год Бесы, Достоевский, 1871 Can't create a table from this file with any command: \csvloop, \csvautotabular{table.csv}, ...
3
votes
1answer
152 views

How do I create row and column dependent color coding using csvsimple?

I have the following MWE: \documentclass{article} \usepackage{csvsimple} \usepackage{filecontents} \usepackage{longtable} \usepackage[table]{xcolor} \renewcommand{\rmdefault}{ptm} \begin{...
3
votes
2answers
130 views

CSV file and QR codes

I have a .csv file with some URLs. First I want to store each URL in a variable. Second I want to print the variables in QR codes. What's the easiest way to do this? MWE \documentclass{article} \...
3
votes
1answer
237 views

Making text a single row or column centered or bold under (csvsimple)

With some help here I was able to import tables read from a csv file using this code: \documentclass{article} \usepackage{array,booktabs,longtable,csvsimple} \usepackage{filecontents} \begin{...
3
votes
1answer
244 views

Centering the first row of a table in CSV reader

I am creating tables from a CSV file by using csvsimple package. The contents of the tables are all left aligned, hence I would like to know whether it is possible to center the first row alone (and ...
3
votes
1answer
297 views

Load CSV file + landscape

I hope someone is able to help me. I'm trying to create landscape pages, that are holding my survey items. After several tries with CSV files, I wrote everything by hand, but it's just too inflexible, ...
3
votes
1answer
1k views

csvsimple and longtable (automatic headerline)

Helping a other communitymember (see using csvreader to read from csv giving invalid output) on a csvreading task I have tried to solve a problem, like the following... \begin{filecontents*}{test-...
2
votes
1answer
452 views

autobooktabular headers with mathematical formulae

Let's say I have a table like which I save as a .csv and then import with latex like so: \usepackage{adjustbox} \usepackage{booktabs,csvsimple} [...] \begin{table}[ht] \begin{adjustbox}{max width=...
2
votes
2answers
878 views

using csvsimple, how do I put a line under the header?

I can make a simple table like this: \documentclass{article} \usepackage{csvsimple} \begin{filecontents*}{words.csv} num, word 1, apple 2, dog 3, pizza \end{filecontents*} \begin{document} \begin{...
2
votes
1answer
149 views

raster plot with tikz in latex from csv file

I am trying to plot neuron's spikes which are stored in a csv file the following way: time, neuron1, neuron2, neuron3,... 1,1,0,1,... 2,1,0,0,... 3,0,0,1,... and so on... Therefore the data ...
2
votes
1answer
176 views

csvloop, spreadsheet difference in \expandafter\newcommand\csname and \csxdef

I don't know why but when I test a simple .tex file my csvloop works fine, but when I test in my case, that is much more complex, it doesn't compiles and I don't have any error message, so it becomes ...
2
votes
2answers
773 views

csvsimple Vertical Header

I'm trying to create a table from .csv files using csvsimple. Here are the contents of my file: Degrees,10,20,30,40,50,60,70,80,90 Time,1.33,0.90,0.72,0.63,0.50,0.43,0.41,0.40,0.38 This is a table ...
2
votes
1answer
963 views

Ignore UTF-8 BOM with csvsimple?

I am currently using csvsimple to include some external data in a document processed with pdfLaTeX. The entire project uses UTF-8 as encoding. The original data is maintained in an Excel 2010 file, ...
2
votes
1answer
268 views

Auto generate list-items within table from string with delimiter

This is a follow-up on this question: Creating bullet-list from string with delimiters I have a CSV file where I genereate some tables from. Some of those table cells will have items that should be ...
2
votes
2answers
2k views

Custom separator for CSV import via csvsimple

I have successfully used csvsimple to import .csv files. But I would like to have commas as number separators, so I modified the .csv file to use semicolons as separators and as csvsimple manual says, ...
2
votes
2answers
128 views

csvsimple respect dollar not working

I'm using csvsimple to import some columns from a csv file into a tabular environment. The CSV file contains a column where all the values are dollar amounts, so just including it directly gives ...
2
votes
1answer
163 views

csvreader and csvstyle with siunitx: “Paragraph ended before NC@rewrite@S was complete”

I'm trying to define a csvstyle that I can use for multiple tables using csvreader, however I'm running into errors trying to separately format 'S' columns. Each table has the same column names and ...
2
votes
1answer
133 views

csvsimple command csvreader changes national letter å to a

I have just began to use the csvsimple package, where I noticed a problem with national letters. The problems occurs with the danish letter å (\aa) and Å (\AA). Before the table these letters are ...
2
votes
1answer
218 views

Latex for-loop for table header generation

In the table given here there is repetition of the columns. Is there a way to loop over them in Latex, so that you don't have to manually write out the columns? That way the table would just load the ...
2
votes
1answer
988 views

csvreader and special characters in the csv header

I have a question quite similar to this question. But I do have the underscore character in the heading which causes issure. One column has the name q_u. When I try: \csvreader[ respect all, ...
2
votes
2answers
691 views

Build PGF/TikZ matrix from CSV file

I want to automatically build a PGF/TikZ based drawing based on some external data that is read using csvsimple. My main issue at the moment is that most of the nodes are part of a matrix, mainly to ...
2
votes
1answer
3k views

How to read a csv file having #

I want to read from a csv file: \documentclass{article} \usepackage{csvsimple} \begin{document} \csvautotabular{initial.csv} \end{document} Now my initial.csv file looks like this: a, # b 1, 3 It ...
2
votes
1answer
60 views

creating csv simple double header

I am trying to include to first two rows as headers. I would like to have the units - - m m m etc. on every page and another line below. I am not an advanced user of csvsimple, and I have not been ...
2
votes
1answer
30 views

How to update the generated .csv file in csvsimple package

I just started using csvsimple which looks like a great package. I wonder if it was possible to do the following Let's say that I have a .csv file that I copy into the .tex file as follows: \...
2
votes
1answer
45 views

How can I strip the percent char of a number read by csvsimple?

I have a CSV table containing some numbers in percent with the percent char explictily written in the CSV data (that can’t be changes). Is there a (LaTeX3) way to strip the percent char and preceding ...
2
votes
3answers
95 views

csvreader with tabular (to generate entire table) with caption

I have the following MWE that works: \begin{filecontents*}{\jobname.csv} Project, Size A_b,-0.1237466 b,0.04632737 \end{filecontents*} \documentclass{article} \usepackage{...
2
votes
1answer
22 views

Combine datetime2 and csvsimple

How can I make the following code compile: \documentclass{standalone} \usepackage{csvsimple} \usepackage{datetime2} \usepackage{filecontents} \begin{filecontents*}{test.csv} a,b 2019,00:00:00 2019,...
2
votes
1answer
42 views

Strange csvsimple output when the line starts with an accented character

The code example below produces an undesirable result, where an Omega appears on the 5th line and all data from the 6th line appears glued to the last cell in the 5th line. Does anyone knows what ...
2
votes
1answer
51 views

csvreader has integer overflow at 16384 = 2**14

I have to send quite a bit of documentation to Germany for taxes. I created some TeX files which use some CSV files to automatically generate this report. So far, I was a student and numbers were low. ...
2
votes
2answers
170 views

insert table generated by csvsimple package into another tex document not using that package

I'm not sure if the title describes the question clearly. I have a latex document that uses the csvsimple package to read some columns from a large datafile and make a nice table. It works fine, but ...
2
votes
1answer
2k views

Creating a Table caption with csvsimple package using \csvautotabular{}

I have the following CSV dow_distribution.csv file: DoW,ANZ Vol.,CBA Vol.,MQG Vol.,NAB Vol.,WBC Vol.,AORD Vol.,Total Vol. Monday,3.63,1.93,0.88,3.14,3.56,457.56,470.7 Tuesday,4.11,2.12,0.92,3.64,4.07,...
2
votes
1answer
331 views

csv issue with semicolon

using pipe as separator in csvsimple : \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{lmodern} \usepackage[frenchb]{babel} \usepackage{microtype} \usepackage{...
2
votes
1answer
691 views

Importing csv Table with Underscores

I have to import a csv table whose entries contain underscores. A simple example is the following table: FirstCol, SecondCol Item_A, Item_B I am trying to solve my problem with the csvsimple package ...
2
votes
1answer
70 views

Help with longtable renders extra field

So I have a problem because my longtable seems always render one extra field in my table. Depending on where I put my \ it renders after it goes through the csv or before. My code is: \documentclass{...
2
votes
1answer
122 views

Generating a table from values in CSV file with bidirectional text

I want to generate a table from values inside csv file which have the following properties: They include bidirectional text; some columns have English text (a left-to-right language) while others ...
2
votes
1answer
115 views

How to prevent labels from showing up after creating table using csvsimple's csvreader

I'm using ShareLaTeX's Institute of Physics template for this project. I have created a few data tables and since the report I'm making is relatively long and may change in order, I want each one to ...
2
votes
1answer
990 views

Problem using csvsimple with tab-delimited file

The problem I am having a problem reading tab-delimited files using csv-simple. My question is how do I fix it, and why is it occuring in the first place MWE \documentclass[a4paper]{article} \...
2
votes
1answer
679 views

Reading and (custom) formatting a CSV (not \csvautotabular)

Suppose I have a really long, really boring list of data in - let's say CSV, but converting to other formats is an option, when this can be done automatically - and I want to prepare a section in my ...
2
votes
1answer
831 views

csvsimple erros building csv table

I want to use the csv package to insert tables into my document. I am importing csv by using the \usepackage{csvsimple} command. Then, in the code, I use \csvautotabular{Tables/test} to create the ...
2
votes
1answer
45 views

Adding/subtracting to the /thecsvrow number in csvsimple

Assume a simple example centered on the csvsimple package. \documentclass{standalone} \usepackage{csvsimple} \usepackage{fp} \usepackage[table]{xcolor} \begin{filecontents*}{input.csv} Foo,...
2
votes
1answer
50 views

Color background for title row in csvsimple

Assume a simple example centered on the csvsimple package. \documentclass{standalone} \usepackage{csvsimple} \usepackage{fp} \usepackage{xcolor} \begin{filecontents*}{input.csv} Foo,Bar,Baz,...
2
votes
1answer
326 views

How can I generate a big tabular out of a csv File?

I have a csv File with 400 lines and 3 columns and I want to generate one Table over more site (I guess there will be 3 pages). In addition there should be 4 columns of table at one site like this: ...
2
votes
1answer
332 views

csvreader[] with \multirow

I would like to create this table imported by csv file. My problem is to create some multirows in the table. Like this: This is my code: \documentclass{article} \usepackage{longtable} \usepackage{...
2
votes
1answer
177 views

csvsimple row counter processing

I am trying to list data from a csv file using csvsimple and to add automatic hyperlinks to related sections. Issue When working with a file with a header (but using the no head option to define a ...
2
votes
1answer
972 views

separator line (horizontal and vertical) for a table imported using \csvautobooklongtable

I have been trying to fix the column width of my table so that the text would automatically get warped to the next line and not shoot outside the page. After searching for a few days, being a total ...
2
votes
1answer
711 views

Automatic line breaks in csvautobooklongtable

I have automatically generated CSV (pipe-separated) Data, that I want to print as Latex \csvautobooklongtable. I do not know the the amount of columns (they are variable in number from one set of data ...
2
votes
1answer
325 views

csvsimple - import only certain columns

\begin{figure} \csvautobooktabular[]{csvs/some-ttests.csv} \end{figure} This produces way too large a table (cut off on the left side), so I want to split it up into multiple tabulars, one for ...
2
votes
1answer
1k views

csvsimple creating multiple lines out of one entry

Data looks like this: name,job,age John,student,21 Frederik,student,18 Johnson,professor,49 I'd like to generate a table, that when for the first time a new job show up (the list is sorted by job), ...