The CSV tag concerns text-based files containing tabular material using commas as a separator.

learn more… | top users | synonyms

0
votes
0answers
9 views

Automatic linebreaks in table created with csvautoimport [duplicate]

I'm using csvautolongtable to import a csv file. Now the text in some cells is running over the edge of the page. How can I prevent this? \documentclass{article} \usepackage[T1]{fontenc} ...
2
votes
1answer
161 views

Creating a LaTeX Table from a Microsoft Word Document

I have this multi page word document file which is consisted of a table with two columns. the left column is an English word in front of which in the left column the Persian translation is provided. I ...
1
vote
0answers
39 views

Parse a file and produce latex output [duplicate]

Here's my problem: I'm writing my thesis and I have a big list of items in a csv. I would love to parse it, obtain some fields and generate different outputs in latex code. How can I automate this ...
2
votes
0answers
57 views

How to convert csv file to bibtex? [closed]

I have a csv file of the database Springer as follows: Columns Item Title,Publication Title,Book Series Title,Journal Volume,Journal Issue,Item DOI,Authors,Publication Year,URL,Content Type Data ...
1
vote
1answer
46 views

csv long table in landscape

I want to import a csv table, but the table has too many columns i.e. too wide. So I put it in landscape environment and use the \csvautolongtable. The specific code is the following: ...
1
vote
2answers
41 views

How can I input only certain columns using macros outside csvsimple?

I want to define a command, like \newcommand \Fruittype {Strawberries} and only input the data from the column that contains it. Can someone help me? \documentclass[a4paper,12pt,hidelinks]{article} ...
3
votes
1answer
53 views

Problem defining a string column with PGFPlotsTable

First, I am fresh new with the PGFPlotTable package! I have the following CSV file that I would like to plot in a LaTeX table: ...
1
vote
1answer
72 views

Setting “col sep = semicolon”

I obtain this table: using this code: \pgfplotstabletypeset[ col sep = comma, string replace*={_}{\textsubscript}, every head row/.style={before row=\toprule,after row=\midrule}, every last ...
3
votes
2answers
75 views

Create a caption for table using the \csvautolongtable command from the csvsimple package

I successfully included a .csv table using the \csvautolongtable command from the csvsimple package (the table is more than one page, this is why I am using this command). Now I want to add a caption ...
1
vote
2answers
101 views

Plot multiple functions when data-columns are separated by comma pgfplots

I have a csv file with 2 "columns" separated by comma. So the .csv file looks something like 0.123,0.3232 1.244,1.325 The above numbers are the "y-values" at x=0 and x=1 respectively, i.e. the ...
3
votes
1answer
29 views

Adding code (pagebreak) after value change in csvsimple

Background I want to create a document with the user data of our network at school, which should be handed out to the user. This should be done class by class. Approach The user data are given in a ...
5
votes
1answer
54 views

How to iterate over a comma separated list passed through the datatool interface

I'm trying to iterate over a comma separated list that is itself inside a cell in a .csv file, which I'm reading and iterating over with datatool. As per, How do I process a comma separated list ...
3
votes
2answers
42 views

Possible conflict between dcolumn and csvsimple

Ok, so I'm trying to add a table to a document using a .csv file. After tinkering with it I've got this for the table: \usepackage{makeidx} % allows for indexgeneration \usepackage[utf8]{inputenc} ...
0
votes
3answers
137 views

csvreader and respect all (special characters in the csv file)

I'm trying to use csvsimple to read in a file with elements that contain special characters (underscores in this example) and create a table that only has a some of the columns. I can read in the file ...
1
vote
1answer
79 views

Package csvsimple: How do I reject the last line of a csv file

Ultimately I want to read a csv (comma separated variable) file into LaTeX and display a table. I'm doing this within the beamer document class. I'm currently using the \csvautobooktabular command ...
1
vote
1answer
34 views

Using “datatool” to assign values to newly created commands ends filling all with the last value

I'm trying to create new commands by taking their values via a CSV file and datatool to load them into a DB. The problem is that every created command with this process ends with the values assigned ...
1
vote
1answer
160 views

XY plot from date/time data table using pgfplots

I have a dataset in the format shown below, which I have exported from R using export.table() function. I want to make an XY plot using pgfplots, where x=time, and y=value, and the points are ...
4
votes
2answers
92 views

ConTeXt xtable split to multiple pages

How to make xtable or TABLE [split=repeat] option to work with comma-separated list? \usemodule[database] \defineseparatedlist [MyTable] [separator=comma, left=\bTD,right=\eTD, ...
1
vote
0answers
32 views

Remove default formatting from pgfplotstable.

I have some tables created using pgfplottable loading data from a csv file. The issue I am encountering is that the values are getting reformatted, for example a "2.00" in the csv is resulting in "2" ...
6
votes
1answer
107 views

Plot Gantt-like plot from csv

I am trying to plot a Gantt-like chart with pgfplot from a CSV-File. The aim is to display the behavoir of a task scheduler. In my CSV-File I have tupel of timestamp(x) and task ID(y). ...
3
votes
0answers
78 views

Grouping data in pgfplots

I have a file with measurement results for different settings (group) in a single csv file as shown below. I would like to plot a line in pgfplots for each group and provide an appropriate legend. Is ...
3
votes
1answer
24 views

Creating csv files from .dtx: blank line at top

I'm working on a .dtx project in which I might embed data in the .dtx to be written to a couple of .csv files. The problem I'm encountering is that a line feed character is inserted before the first ...
1
vote
2answers
99 views

Remove space between consecutive fbox commands

I type several fbox commands and for some reason the boxes are separated with small spaces: MWE: \documentclass{article} \usepackage{fullpage} \setlength{\oddsidemargin}{-15mm} \raggedright ...
2
votes
1answer
205 views

Importing table from csv file

I have the following table in a avg_value.csv file: ,M23,F23_1,M36,F44,F63,M70 M23,1.00,0.81,0.88,0.83,0.41,0.82 F23_1,,1.00,0.52,0.56,0.25,0.94 M36,,,1.00,0.62,0.94,0.96 F44,,,,1.00,0.43,0.23 ...
3
votes
1answer
207 views

Plot multiple histograms from csv file using pgfplot

I have the following data.csv file: subject,f1,f2,f3 F11,0.019,0.04165,0.00016547 F14,0.03034,0.02161,0.000267 M22,0.05128,0.0648,0.000327 M22_1,0.052,0.0328,0.000206 M23,0.0364,0.06355,0.000379 ...
0
votes
0answers
72 views

Creating a list from CSV files

I do have a CSV file containing a list of collaborators to a book. I'd like to know if theres is an automated way to import this file into Latex and generate a list of collaborators (in twocolumn ...
1
vote
1answer
64 views

Combine multiple pgfplots from tex files

I have been using Sharelatex to write my thesis and I have accumulated many pgfplots. I can't include more than ~6 pgfplots produced by csv files before I get compile time out. I have been dividing my ...
2
votes
1answer
75 views

display csv database content

I am a newbie. I need to create a catalogue of the main opera (classic voice) courses in Europe. Each school gets its own page. Each page has specific information about the school: name of the school, ...
4
votes
1answer
657 views

Getting specific row/column values from a csv file to use in text, figures or table cells

I am trying to do the following: read a csv (or other similar format) external file with numerical and string data into an object; reference/get an specific value from such object to use into an ...
2
votes
1answer
84 views

How to hide one column in a pgfplotstable

How can I hide the column parameter a (header and data) of the following table. \documentclass{article} \usepackage[letterpaper, margin=0.5in]{geometry} \usepackage{pgfplotstable} \begin{document} ...
0
votes
0answers
194 views

Problem reading csv file with csvsimple

I have a document that roughly looks like \documentclass[12pt, titlepage, twoside]{article} \usepackage{csvsimple} \begin{document} \csvautotabular{a_square.csv} \end{document} a_square.csv exists ...
3
votes
1answer
70 views

Omitt some xticklabels

I am currently reading some data from a CSV-file together with the xticklabels as one column from that file: \pgfplotstableread[col sep=comma]{data/test1_d4.csv}\dataTestOneFour \begin{figure}[ht] ...
1
vote
1answer
121 views

How to merge data and create multiple documents?, similar to personalized mailings

I would like to use LATEX combined with EXCEL data files (or CSV if it were neccessary) to create "proof of payment". Supose a list of people John McEnroe, NYC (USA), 110.23$, 10$,May...... Mary ...
1
vote
1answer
75 views

How to escape any CSV file automatically for pgfplots

I want to plot something from the file "processor.csv" from http://cpudb.stanford.edu/cpudb.1416196069.zip. How can I automatically escape this file or ANY OTHER to use it with pgfplots. I've already ...
2
votes
1answer
248 views

How to draw a graph from specific lines of CSV file?

I would like to know if I can use cases when taking input from a csv file: Instead of generating multiple csv files, I would like to do the following In my tex file: Input from line 1-10 of ...
1
vote
0answers
133 views

I want to insert a file into my lyx document not import

I have a lyx file and I want to attach some csv files. I don't want to import the files because most of them are very large tables, rather I would like to so something like what Microsoft word does ...
3
votes
1answer
403 views

PGFplot multiple histograms using CSV file

I have tried to draw a comparative graph using histogram and taking data from different CSV source files. I can draw the two histograms but the resulting graph is not what I want: I don't want the two ...
2
votes
1answer
210 views

How to draw a graph from CSV with TeX?

I am a complete beginner with TeX, I would like to draw JMH benchmark graph using TeX. Since I have output results in CSV format. This is my actual code: \documentclass{article} \usepackage{pgfplots} ...
3
votes
0answers
121 views

Make a Sheme in LaTeX Tikz?

I have this CSV-file ... Lineare Algebra TÜ [Übungsraum (3322-316)],01/28/15,08:15:00,01/28/15,10:00:00 Lineare Algebra TÜ [Übungsraum (3322-316)],02/04/15,08:15:00,02/04/15,10:00:00 Lineare Algebra ...
0
votes
0answers
61 views

Take input from csv file and use it to create a custom-made table in tikz

I have a csv file that looks like this: Scott, William, Todd,Esben, Martin, Jesper, Alexander W.L Right now, the names are written this line \aebuildtable{20}{Scott,William,Todd,Esben, Martin, ...
1
vote
1answer
220 views

Simple import of data with special characters for table

I'm currently trying to import a set of data from a file (comma or tabbed delimited, doesn't matter) for creating a table. Below is an example of this data (DH parameters in case you're curious): ...
3
votes
1answer
236 views

How to deal with csv file whoese fields are enclosed by quote?

I have a csv file whose fields contain text. As fields can contains newlines, they are enclosed by double quotes. Editing these file works well with my favourite spreadsheet (libreoffice). I want to ...
7
votes
1answer
256 views

Macro for pgfplots/gnuplot exponential regression line

I am trying to create a series of plots with exponential regression that are automatically generated from comma/tab separated .csv files and pgfplots with help from gnuplot. When not using macros I ...
4
votes
1answer
192 views

Recreating formatting of an Excel table using simplecsv

I'm trying to recreate a wholesale price list in LaTeX so that the data can be updated automatically from CSV files. I'm able to import data using \csvautolongtable but I'm struggling with the ...
5
votes
1answer
145 views

Appending Graphic from Optional CSV Column to PGFPlotsTable Column Content

I have a CSV file containing a list of names, numbers and optionally pictures. This file is to be displayed in a multi-column table, with the name (and optionally appended picture as icon) in one ...
2
votes
2answers
273 views

Creating a multi-column table with dynamically wide columns from a CSV file

I'm trying to make a multi-column table take dynamic values, read from a CSV file. The current table looks like this and has been formatted manually with tabularx, without any multicolumn package ...
1
vote
1answer
184 views

pfgplots groupplot with more than one \addplot per \nextgroupplot?

I'm having trouble making a group plot in pgfplots. I want to have 2 separate graphs, each with two regression lines and two sets of dots, but groupplot lumps everything onto 1 set of axes. I can't an ...
7
votes
1answer
397 views

Plotting graphs from csv with pgfplots?

I am trying to plot a graph using pgfplots in which the data is read from a CSV file. My points show up fine, but when I try to add a regression line, it appears as a vertical line at x=0. Can anyone ...
0
votes
2answers
325 views

How to import CSV files into my own style of tables?

I've been using LaTeX to write lab reports for a year now, which includes manually entering data into tables. However, now I am performing experiments that have way more datapoints that manually ...
3
votes
0answers
302 views

csvautotabular with macro code headers

The manual states that macro code is allowed and will be processed accordingly using csvautotabular (section 4.3, page 31). The header allows some math mode macros such as underlines (X_{1}) and ...