Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download

📚 The CoCalc Library - books, templates and other resources

132930 views
License: OTHER
1
\documentclass[a4paper]{scrartcl}
2
\usepackage[utf8]{inputenc} % this is needed for umlauts
3
\usepackage[ngerman]{babel} % this is needed for umlauts
4
\usepackage[T1]{fontenc} % this is needed for correct output of umlauts in pdf
5
6
\usepackage[locale=DE]{siunitx} % Formats the units and values
7
\usepackage{datatool}
8
\usepackage{booktabs} % For \toprule, \midrule and \bottomrule
9
% start every dtl table with \toprule from booktabs
10
\renewcommand{\dtldisplaystarttab}{\toprule}
11
12
% likewise for \midrule and \bottomrule from booktabs
13
\renewcommand{\dtldisplayafterhead}{\midrule}
14
\renewcommand{\dtldisplayendtab}{\\\bottomrule}
15
16
% Setup siunitx:
17
\sisetup{
18
round-mode = places, % Rounds numbers
19
round-precision = 2, % to 2 places
20
}
21
22
\begin{document}
23
\DTLloaddb{stores}{messergebnisse.csv} % adjust the name
24
\DTLdisplaydb{stores}
25
\end{document}
26