adressliste kann geetzt werden
This commit is contained in:
parent
f977b6c822
commit
fd859bff70
|
@ -1,4 +1,5 @@
|
|||
\documentclass{datenschleuder}
|
||||
|
||||
\usepackage{pgfplotstable}
|
||||
\usepackage{booktabs}
|
||||
%\usepackage{xcolor}
|
||||
|
@ -6,10 +7,57 @@
|
|||
\usepackage{pdflscape} %testing only
|
||||
\usepackage{hyperref}
|
||||
\usepackage{rotating}
|
||||
|
||||
\pgfplotsset{compat=1.14}
|
||||
\begin{document}
|
||||
%%%%\begin{sidewaysfigure}[h]
|
||||
\tiny
|
||||
\pgfplotstableread[col sep=semicolon]{adressliste.csv}{\loadedtable}
|
||||
\pgfplotstablecreatecol[
|
||||
columns={Erfa,Adresse,Tag,Bemerkung},
|
||||
create col/assign/.code={%
|
||||
\edef\entry{\thisrow{Erfa}, \thisrow{Adresse}
|
||||
}%
|
||||
\pgfkeyslet{/pgfplots/table/create col/next content}\entry
|
||||
}]{Test}{\loadedtable}
|
||||
|
||||
\pgfplotstableset{
|
||||
columns/Erfa/.style={string type},
|
||||
columns/Ort/.style={string type},
|
||||
columns/Tag/.style={
|
||||
string type,
|
||||
column name={Tag, Uhrzeit}
|
||||
},
|
||||
columns/Adresse/.style={string type},
|
||||
columns/Bemerkung/.style={string type,
|
||||
assign cell content/.code={
|
||||
\pgfkeyssetvalue{/pgfplots/table/@cell content}{\url{##1}}
|
||||
},
|
||||
},
|
||||
columns/Test/.style={%
|
||||
string type,
|
||||
assign cell content/.code={
|
||||
\pgfkeyssetvalue{/pgfplots/table/@cell content}{\textit{##1}}
|
||||
},
|
||||
}%
|
||||
}
|
||||
|
||||
\pgfplotstabletypeset[%
|
||||
columns={Erfa,Test},
|
||||
every head row/.style={before row=\toprule, after row=\midrule},
|
||||
every last row/.style={after row=\midrule},
|
||||
every even row/.style={
|
||||
before row={
|
||||
\rowcolor{lightgray}
|
||||
},
|
||||
},
|
||||
% columns/Test/.style={%
|
||||
% string type,
|
||||
% postproc cell content/.append style={%
|
||||
% /pgfplots/table/@cell content/.add={}{},
|
||||
% },%
|
||||
% }%
|
||||
]{\loadedtable}
|
||||
|
||||
%%%%\pgfplotstableset{
|
||||
%%%% columns/Erfa/.style={string type},
|
||||
%%%% columns/Ort/.style={string type},
|
||||
|
|
Loading…
Reference in New Issue