I'm sure this is a common problem: Sometimes, the header of a table is way too big for the columns:
You end up with a table that is either too high, too wide or just ugly to look at.
Previously, I sticked to rotating the table header, but in this case that table is rotated, too. Which means the reader must turn around the page two times before being able to understand the table. Rotating the text the other way around would be kind of wrong in a typography sense or at least not best practice.
The table is currently created by the following code:
\renewcommand{\arraystretch}{1.5}
\begin{landscape}
\footnotesize
\begin{longtable}{ p{2.5cm} p{11cm} l l l p{1cm} l p{1cm} }
& \textbf{Beschreibung} & \rot{\textbf{Beliebtheit\footnotemark}} & \rot{\textbf{Skalierbarkeit}} & \rot{\textbf{Kompatabilität}} & \rot{\parbox[t]{4cm}{\textbf{Größe des Ökosystems}\\\textbf{und der Community}}} & \rot{\textbf{Gesamtbewertung}} & \rot{\textbf{Kommerziell}} \\
\toprule
\textbf{ElasticSearch\footurl{https://www.elastic.co/de/}} & ElasticSearch ist in Java geschrieben und basiert auf Lucene. Die Suchmaschine ist Teil eines großen Ökosystems, des sogenannten Elastic Stacks. Durch eine große Skalierbarkeit und Flexibilität ist sie auf Enterprise-Applikationen ausgelegt. & 5 & & & & & nein \\
\textbf{Solr\footurl{https://lucene.apache.org/solr/}} & Solr ist eine Suchmaschine, die auf Lucene basiert und in Java geschrieben ist. Die Entwickler beschreiben das Tool als \enquote{zuverlässig, skalierbar und fehlertolerant} \cite{ASF2019}. & 2 & & & & & nein \\
\textbf{Splunk\footurl{https://www.splunk.com/de_de}} & Splunk bietet verschiedene Lösungen an, mit denen eine Enterprise Search umgesetzt werden kann, hauptsächlich Splunk Enterprise und Splunk Cloud. Der Entwickler legt Fokus auf eine flexible, anpassbare Lösung \cite{Splunk>2019}. & 2 & & & & & ja \\
\textbf{Amazon CloudSearch\footurl{https://aws.amazon.com/de/cloudsearch/}} & Amazon CloudSearch ist ein Cloud-Service, der eine vollumfängliche Suchlösung bereitstellt. Anwender können Daten hochladen aus denen automatische ein Suchindex erstellt wird. & 1 & & & & & ja \\
\textbf{Google Cloud Search\footurl{https://gsuite.google.com/intl/de/products/cloud-search/}} & Mit Google Cloud Search können unternehmensinterne Datenquellen durchsuchbar gemacht, die Lösung setzt dabei wie Amazon CloudSearch auf Cloud-Technologie. Der Service löst 2019 Google Search Appliance vollständig ab. & - & & & & & ja \\
\bottomrule
\caption{Bewertung wichtiger Suchmaschinen als Entscheidungsgrundlage}
\label{table:engine-rating}
\end{longtable}
\end{landscape}
\footnotetext{Die Beliebtheit wurde einer Statistik von DB-Engines \cite{DBEngines2019} entnommen und auf den Bereich $[1, 5]$ normalisiert.}
To rotate the table header, I currently use the code proposed in this tex SE answer, I just changed it to 90 degrees.
What is the best way to create a table header that just references a legend somewhere else (Header: "A" "B" "C", bottom of the page: A: "Beliebtheit" and so on...)?
Here you can see what I mean (please excuse the bad quality, that's the best I can do at my workplace...):
threeparttable
and write the legend as a table note. Other posssibility: rotate the column heads by only, say, 30°. To avoid having too wide columns in the latter case, you may use the\rlap
command. – Bernard Aug 16 '19 at 12:52\begin{landscape}
, I will try thethreeparttable
, though – Thomas Pötzsch Aug 16 '19 at 13:03\rlap
for the column heads? – Bernard Aug 16 '19 at 13:32