Created
February 20, 2013 17:11
-
-
Save hugows/4997167 to your computer and use it in GitHub Desktop.
Trying to use pgfplotstable
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\usepackage{pgfplotstable} | |
\usepackage{booktabs} | |
% global settings | |
\pgfplotstableset{ | |
after row={\hline}, | |
every head row/.style={ | |
before row={ | |
\rowcolor{lightgray} | |
\noalign{\hrule height \tableborder} | |
}, | |
after row={ | |
\hline | |
}, | |
}, | |
every last row/.style={ | |
after row=\noalign{\hrule height \tableborder} | |
}, | |
col sep = &, | |
row sep=\\, | |
% column type/.add={}{\vrule width \tableborder}, | |
every col no 1/.style={ column type/.add={|}{} }, | |
every col no 2/.style={ column type/.add={|}{} }, | |
every col no 3/.style={ column type/.add={|}{} }, | |
every col no 4/.style={ column type/.add={|}{} }, | |
every col no 5/.style={ column type/.add={|}{} }, | |
every first column/.style={ | |
column type/.add={!{\vrule width \tableborder}}{} | |
}, | |
every last column/.style={ | |
column type/.add={}{!{\vrule width \tableborder}} | |
}, | |
string type, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment