summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--build/the_crown_bar.pdfbin27295502 -> 27306534 bytes
-rw-r--r--makefile1
-rw-r--r--tex/docstyle.sty2
-rw-r--r--the_crown_bar.bib54
-rw-r--r--the_crown_bar.tex95
5 files changed, 112 insertions, 40 deletions
diff --git a/build/the_crown_bar.pdf b/build/the_crown_bar.pdf
index eea8708..8031f29 100644
--- a/build/the_crown_bar.pdf
+++ b/build/the_crown_bar.pdf
Binary files differ
diff --git a/makefile b/makefile
index ae150e1..a701dc1 100644
--- a/makefile
+++ b/makefile
@@ -15,5 +15,6 @@ clean:
build/$(DOCNAME).pdf : $(SOURCES)
mkdir -p build
$(TEX) $(TEXARGS) $<
+ biber build/$(DOCNAME)
$(TEX) $(TEXARGS) $<
$(TEX) $(TEXARGS) $<
diff --git a/tex/docstyle.sty b/tex/docstyle.sty
index f5db50e..4f4de1f 100644
--- a/tex/docstyle.sty
+++ b/tex/docstyle.sty
@@ -48,7 +48,7 @@
\RequirePackage{libertine}
% use roboto for sans serif and monospaced
\RequirePackage{roboto}
-\RequirePackage{roboto-mono}
+\RequirePackage[scaled=.85]{roboto-mono}
%% Floating captions configuration
% set captions font
diff --git a/the_crown_bar.bib b/the_crown_bar.bib
new file mode 100644
index 0000000..43ec7e9
--- /dev/null
+++ b/the_crown_bar.bib
@@ -0,0 +1,54 @@
+@book{bfs-alkoholkonsum,
+ school = {BFS},
+ month = {Nov},
+ language = {DE},
+ title = {Alkoholkonsum 2017},
+ institution = {Bundesamt für Statistik (BFS)},
+ publisher = {Bundesamt für Statistik (BFS)},
+ address = {Neuchâtel},
+ copyright = {BFS/OFS/UST/FSO},
+ pages = {8},
+ year = {2019},
+ price = {3.5},
+ number = {10887924},
+ url = {https://www.bfs.admin.ch/hub/api/dam/assets/10887924/master}
+}
+
+@dataset{bfs-staendige-wohnbevoelkerung,
+ school = {BFS},
+ language = {DE},
+ title = {Ständige Wohnbevölkerung nach Altersklasse und Altersmasszahlen nach Kanton, definitive Jahresergebnisse},
+ institution = {Bundesamt für Statistik (BFS)},
+ publisher = {Bundesamt für Statistik (BFS)},
+ address = {Neuchâtel},
+ copyright = {BFS/OFS/UST/FSO},
+ year = {2020},
+ number = {su-d-01.02.04.02.01},
+ url = {https://www.bfs.admin.ch/bfs/de/home/statistiken/bevoelkerung.assetdetail.18344326.html}
+}
+
+@dataset{bfs-warenkorb,
+ school = {BFS},
+ language = {DE},
+ title = {Landesindex der Konsumentenpreise (LIK): Warenkorb und Gewichte},
+ institution = {Bundesamt für Statistik (BFS)},
+ publisher = {Bundesamt für Statistik (BFS)},
+ address = {Neuchâtel},
+ copyright = {BFS/OFS/UST/FSO},
+ year = {2021},
+ number = {gr-d-05.02-lik-pond},
+ url = {https://www.bfs.admin.ch/bfs/de/home/statistiken/preise/erhebungen/lik/warenkorb.assetdetail.15944829.html}
+}
+
+@dataset{bfs-haushaltseinkommen,
+ school = {BFS},
+ language = {DE},
+ title = {Haushaltseinkommen und -ausgaben nach Altersklasse der Referenzperson},
+ institution = {Bundesamt für Statistik (BFS)},
+ publisher = {Bundesamt für Statistik (BFS)},
+ address = {Neuchâtel},
+ copyright = {BFS/OFS/UST/FSO},
+ year = {2021},
+ number = {je-d-20.02.01.00.11},
+ url = {https://www.bfs.admin.ch/bfs/de/home/statistiken/wirtschaftliche-soziale-situation-bevoelkerung/einkommen-verbrauch-vermoegen/haushaltsbudget.assetdetail.20024333.html}
+}
diff --git a/the_crown_bar.tex b/the_crown_bar.tex
index 81b95dc..74b7fab 100644
--- a/the_crown_bar.tex
+++ b/the_crown_bar.tex
@@ -1,6 +1,6 @@
\documentclass[
% show when a line is too long (drafting)
- overfullrule,
+ % overfullrule,
% page size and margins
paper = a4, twoside, BCOR = 5mm,
headinclude, footexclude,
@@ -26,13 +26,23 @@
\usepackage[german=swiss]{csquotes}
+\usepackage[
+ backend = biber,
+ style = authoryear-comp
+]{biblatex}
+
+\setcounter{biburllcpenalty}{5000}
+\setcounter{biburlucpenalty}{8000}
+
+
+\addbibresource{the_crown_bar.bib}
+
\usepackage{pdflscape}
\usepackage{pdfpages}
\usepackage{float}
\usepackage{parskip}
\usepackage{mdframed}
-
\usepackage{ltablex}
\usepackage{booktabs}
\usepackage{colortbl}
@@ -648,43 +658,46 @@ kristallisieren sich drei Personas heraus die wir nun definieren wollen:
% TODO for tables, fix CHF symbols
\begin{table}[H]
- \begin{center}
- \begin{tabularx}{\linewidth}{ Xrrr }
- \toprule
- \bfseries\sffamily Kennzahl
- & \bfseries\sffamily Segment 1
- & \bfseries\sffamily Segment 2
- & \bfseries\sffamily Total \\
- \midrule
- Einwohnerzahl Geografisches Segment
- & --
- & --
- & \cellcolor{lightgray!30} 35'000 \\
- \% Alterskategorie Kanton St. Gallen
- & \cellcolor{lightgray!30} 12\%
- & \cellcolor{lightgray!30} 15\%
- & 27\% \\
- Relevante Bevölkerung
- & 4'200
- & 5'250
- & 9'450 \\
- Verfügbares Einkommen
- & \cellcolor{lightgray!30} CHF 6'400
- & \cellcolor{lightgray!30} CHF 7'800
- & CHF 7'178 \\
- Warenkorb 2020: Getränke in Rest. und Cafés
- & --
- & --
- & \cellcolor{lightgray!30} 1.436 \\
- Ausgaben für Gastro
- & CHF 92
- & CHF 112
- & CHF 103 \\
- \bottomrule
- \end{tabularx}
- \end{center}
- \vspace{\parskip}
- {\footnotesize\textsuperscript{*}Hinterlegte Felder müssen ausgefüllt werden.}
+ \begin{tabularx}{\linewidth}{ Xrrr }
+ \toprule
+ \bfseries\sffamily Kennzahl
+ & \bfseries\sffamily Segment 1
+ & \bfseries\sffamily Segment 2
+ & \bfseries\sffamily Total \\
+ \midrule
+ Einwohnerzahl Geografisches Segment
+ & --
+ & --
+ & \cellcolor{lightgray!30} 35'000 \\
+ \% Alterskategorie Kanton St. Gallen
+ & \cellcolor{lightgray!30} 12\%
+ & \cellcolor{lightgray!30} 15\%
+ & 27\% \\
+ Relevante Bevölkerung
+ & 4'200
+ & 5'250
+ & 9'450 \\
+ Verfügbares Einkommen
+ & \cellcolor{lightgray!30} CHF 6'400
+ & \cellcolor{lightgray!30} CHF 7'800
+ & CHF 7'178 \\
+ Warenkorb 2020: Getränke in Rest. und Cafés \
+ & --
+ & --
+ & \cellcolor{lightgray!30} 1.436 \\
+ Ausgaben für Gastro
+ & CHF 92
+ & CHF 112
+ & CHF 103 \\
+ \bottomrule
+ \end{tabularx}
+
+ \vspace{.5\baselineskip}
+
+ {\footnotesize
+ \textsuperscript{*}Hinterlegte Felder müssen ausgefüllt werden.
+ Daten von \cite{bfs-alkoholkonsum,bfs-staendige-wohnbevoelkerung,bfs-warenkorb,bfs-haushaltseinkommen}.
+ }
\caption{Marktgr\"ossen}
\end{table}
@@ -1752,6 +1765,10 @@ Flüssigen Mittel. Die
% ---------------------------------------------------------------------
+\printbibliography
+
+% ---------------------------------------------------------------------
+
\appendix
\chapter{Anhang}