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
1
vote
3answers
86 views

Create table from .csv file, Header line to long

I have a big table that I want to put into my latex Document. The problem that I have is that the header line(the top line) for the column names is too long. This is my state.csv file game id,start,...
0
votes
1answer
21 views

How can I pass a path name with underscore in a yaml-file to latex via pandoc?

I have a csv-file called test_csv.csv which has this content: 1_c,2,3,4 a2,b,c,d I would like to print it with LaTeX and csvautobooklongtable but wihin a pandoc-workflow. The pandoc-template (pandoc-...
0
votes
1answer
28 views

'Continued on next page' for longtable out of csvreader

I have successful managed (with help from this forum) to display my options in a table with each line numbered and price displayed. \csvreader[longtable= >{\stepcounter{RowNum}\theRowNum}r >{\...
0
votes
1answer
24 views

csvsimple causing page with \TRP1

I was successfully using the csvsimple package with longtable and booktabs to read in a csv and make a table out of it. All of a sudden, any import of csvsimple causes this weird page to pop up as the ...
0
votes
1answer
42 views

csvsimple wrap table cells

I am using csvsimple package to embed csv files as tables into my latex document. It looks like long cell contents break the rendering: tokens.csv: method,corpus,tokens MI,Quran,"allah, thou, thi,...
0
votes
0answers
10 views

export csv to latex margins error

Export a csv to latex but I could not correct the margins here is the link to download it https://www.google.com/url?hl=es&q=https://www.stats.govt.nz/assets/Uploads/Tatauranga-umanga-Maori-...
0
votes
1answer
67 views

TikZ calendar, loading data from .csv

My goal is to have a year calendar with boxes instead of days that get filled according to the type of exercise I did that day. These exercise would be loaded from a .csv file in a format such as: ...
2
votes
0answers
32 views

How to generate a list containing the values of a table

I have a table containing two columns with x and y values respectively and I want to generate a list \coordinates containing (x,y) for each row of the column. I tried defining a command that creates a ...
0
votes
0answers
16 views

How do i get multipe csvautolongtables side by side in LaTeX?

I am trying to place two vscautolongtable side by side in latex: \begin{minipage}{15cm} \begin{tabular}{c|c|c|c} d & K & h & score \\ \csvautolongtable[head to column names]{...
5
votes
2answers
67 views

Adding a toprule below the header of a table read from csv where some rows are multicolumn

I have created a table using data from a csv, such that multicolumn rows are automatically detected in the csv. In order to do this, I placed all the \\ before each line rather than after, otherwise a ...
1
vote
2answers
20 views

Set filedirectory in LaTex individually for each data type(csvsimple)

I am new to LaTex coding; so if this question has already been asked just let me know and post the link :) I try to put a lot of small csv tables into a LaTeX file and found this solution online (...
0
votes
0answers
31 views

Add Multiple \midrule to csvsimple Table

Add vertical line to csv simple table shows the way to add one \midrule to a \csvreader table using a late after line=\ifnumequal option. Then how can I add multiple lines in one table? Is recursive ...
0
votes
0answers
12 views

Using rowcolor with csvsimple and longtable always prompts no align error

I am trying to create a longtable based on a csv file in which the rows are colored using \rowcolor. The problem is that the combination of the longtable head with \endrule and the \rowcolor seems to ...
0
votes
0answers
22 views

csvsimple inside tabular environment, but csv data includes LaTeX arrays/tables/aligned etc

I am trying to import a csv using csvsimple, and I have already overcome the challenge of the csv delimiter (by adding curly braces around every field), but I am now stuck with a admittedly weird ...
0
votes
2answers
42 views

Place nodes in tikz axis using csvreader

I'm trying to place nodes inside a TikZ axis using \csvreader command from simplecsv package. However, somehow, the following does not work: \documentclass{article} \usepackage[utf8]{inputenc} \...
1
vote
0answers
44 views

csvreader merge two files columnwise in table

I would like to put together data columnwise! Ideally I would like to take it from the same file, please see the example below. \usepackage{filecontents} \usepackage{csvsimple} \usepackage{multirow} \...
0
votes
0answers
19 views

Why are only the column headers being formed in the latex document when I import the CSV file

This is a very basic version of what I am trying to do \documentclass(article} \usepackage(csvsimple} \begin{document} \csvautotabular{example.csv} \end{document} I have also attached a small portion ...
0
votes
1answer
62 views

How to split CSV table over 2 pages?

I have options of various length, so sometimes they go over the page. Is there an option on csvreader to split pages, similar to longtable? Sample code: \documentclass[a4paper,12p]{article} %%% ...
5
votes
1answer
53 views

Tabularx, csvsimple and multicol on first row lead to \omit error

I've been breaking my head over this, obviously must be missing something. I'm trying to get a table built from a csv with the first columns acting as a header as long is it stays the same, pretty ...
0
votes
1answer
80 views

Command csvloop is already defined… How do I find the conflicting package?

In this MWE: \documentclass[12pt]{article} \usepackage[slovene]{babel} \usepackage{lipsum} \usepackage{acronym} \usepackage{graphicx} \usepackage{mathpazo} \usepackage{longtable} \usepackage{...
1
vote
1answer
60 views

csv to latex chart

What I want: to make a chart from a csv file (exp1.csv). Problem: I don't get all the data visible in the chart The header of my table is not consistent (see \hline) Could you help me to solve ...
1
vote
1answer
51 views

How to escape the # character in csvreader

I'm following this csvsimple documentation and I've come across an issue with my csv file having a reserved character: # and I've tried escaping it with a blackslash(\) and I've tried appending [...
1
vote
1answer
39 views

Image from \csvreader cell

I want to display the title of the system but also an image of the system. User will pick system in an Excel file. \documentclass[a4paper,11pt]{article} \usepackage{csvsimple} \begin{filecontents*}{...
0
votes
1answer
74 views

CSV: How to write commas

I have a CSV document, similar to the one in the example code. \documentclass[a4paper,12p]{article} \usepackage[textwidth=450pt, textheight=680pt,top=3cm, left=2.5cm]{geometry} %margins \usepackage{...
1
vote
2answers
39 views

conflict between ctable and csvsimple?

The following MWE produces an error upon compilation: \documentclass{article} \usepackage{ctable} \usepackage{csvsimple} \begin{document} test \end{document} The error is: ! Undefined control ...
1
vote
1answer
100 views

csvsimple having trouble with tab-delimited file

I'm trying to use csvsimple to make a table with a tab-delimited input file. Here is an tab-separated file generic.tsv to put into a table (these are tabs in my file, not spaces, although ...
1
vote
0answers
72 views

latex csvreader table wrap cells with long strings [duplicate]

I am using csvreader to import a csv file and display it as a table. The first column contains strings that are very long and so the column takes up most of the page, meaning the table continues off ...
3
votes
0answers
38 views

Escape special character in variable

I like to print a list of names and email addresses in LaTeX. These come from a CSV file and I read it with csvsimple package. A problem arised with email addresses like foo_bar@foo.bar... (underscore)...
1
vote
1answer
162 views

CSV reader leaves a blank line at bottom of table

I am using csvsimple to read a CSV file into my document. Here is the document: \documentclass[12pt]{article} \usepackage{csvsimple} \begin{document} \begin{tabular}{|c|c|c|} \hline Col1 & ...
0
votes
0answers
30 views

csvsimple display bug

I want to creat a figure using information from à CSV file. I used the example from the csvsimple manual and replace it with my file to start and I get a display bug: the whole header is written on ...
1
vote
1answer
71 views

Importing a csv column with numbers and characters to latex using siunitx

When I try to import a csv table from an external file that has both numbers and characters in the same column, siunitx package gives the following error. Package siunitx Error: Invalid token 'n' in ...
1
vote
3answers
114 views

Using csvreader in a sentence

I am using csvreader for dynamic reporting. I would like to call values from specific cells using the csvreader function for example: Thank you \csvreader[head to column names, filter={\...
1
vote
0answers
34 views

Is csvsimple compatible with multicolumn in rows other than the header?

I want to shorten a tabular by making text in the first column consume more than one cell in the last (rather than first) rows of the tabular. I know csvsimple accepts macros however lines can't be ...
1
vote
1answer
134 views

Alternative to adjustbox for table full page width

I have a few multi column csv tables I am importing with \csvreader. Some are smaller than page width (Table 1), others are larger (Table 2). I would like to make them all exactly the full page width (...
0
votes
0answers
101 views

CSV File reading slash (“/”) in latex table

I have csv file having 6 columns where first column have "/" in it. I am using below code: \documentclass{article} \usepackage{csvsimple} \usepackage{datatool} \begin{document} \DTLloadrawdb[keys={...
0
votes
0answers
73 views

Longtable breaks PDFtex output with table in fancyhdr header

I'm having an issue where if the table I pull using csvsimple is too long, the PDF won't build. BUT this is only an issue if my fancyhdr header has a table of any kind in it. If you take 20 or so ...
3
votes
2answers
62 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]{...
1
vote
1answer
44 views

Boldface CSV headings

(question updated from 1 to 3 columns) I am trying to do something supremely simple: typeset a table such as what.csv First,Last,Style Bob,Marley,Reggae Fritz,Wunderlich,Lieder with boldface ...
1
vote
1answer
42 views

csvsimple pdflatex hangs without error

The following minimal example, using csvsimple hangs without any error. \documentclass[a4paper,11pt]{article} \usepackage{csvsimple} \begin{document} \begin{tabular}{ll} a & b\\ \hline \...
1
vote
1answer
39 views

csvsimple no page output

Following tex source using csvsimple does not produce any output: \documentclass[a4paper,11pt]{article} \usepackage{csvsimple} \begin{document} \csvreader[head to column names,separator=semicolon]{...
5
votes
2answers
102 views

having problems with greek characters in a table using csvsimple

Hi this is what I wrote: \documentclass{article} \usepackage{amsmath} \usepackage{gensymb} \usepackage[utf8]{inputenc} \usepackage{csvsimple} \usepackage{booktabs} \usepackage{longtable} \usepackage[...
2
votes
1answer
165 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 ...
3
votes
1answer
56 views

Error in longtable with csvreader

I am getting an error while creating a longtable by importing a csv file. The MWE is as given below. \begin{filecontents*}{monodisperse15.csv} 20,2.825,5.967,0.0,0.0,0.0,0.0 22,2.85,15.516,0....
0
votes
1answer
172 views

How to set the width of the last column with tabular package? [duplicate]

I want to generate a table with fixed column width. This works for all the columns except for the last column. Working example (fixed column width for all column except the last one) \documentclass{...
2
votes
1answer
70 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: \...
0
votes
0answers
36 views

CSVReader Align Columns

Is there a way to right justify the second field (after the \dotfill)? I tried using flushright, but that did not do what I was hoping for. \documentclass{report} \usepackage{csvsimple} \usepackage{...
1
vote
1answer
97 views

Compilation error when string testing using csvsimple

Consider this minimal working example: \documentclass{beamer} \usepackage{csvsimple,filecontents} \begin{document} \begin{filecontents*}{data.csv} id,type 1,a 2,b \...
2
votes
1answer
78 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 ...
1
vote
0answers
93 views

Cannot input utf8 encoding with csvreader

I am trying to generate a table with \csvreader. The problem is latex is ignoring when I have some german chars such as; ü,ä,ö How can I fix this? Here is the code: \documentclass{article} \...
2
votes
3answers
299 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{...

1
2 3 4 5