From c5a3e98afb4549ff64a381ecf973976d639be947 Mon Sep 17 00:00:00 2001
From: Matthias Maier <tamiko@43-1.org>
Date: Fri, 24 Jun 2022 11:31:27 -0500
Subject: [PATCH] improve readability of tables

---
 9.4/paper.tex | 34 ++++++++++++++++------------------
 1 file changed, 16 insertions(+), 18 deletions(-)

diff --git a/9.4/paper.tex b/9.4/paper.tex
index f88ed4b..058428e 100644
--- a/9.4/paper.tex
+++ b/9.4/paper.tex
@@ -21,6 +21,8 @@
 
 \usepackage{multirow}
 
+\usepackage{booktabs}
+
 %\renewcommand{\baselinestretch}{2.0}
 
 \graphicspath{{svg/}}
@@ -863,17 +865,15 @@ Because the particle IDs are already sorted in the intended order at this time,
 \begin{table}
   \caption{\it Timing of various particle operations for tutorial program \texttt{step-68} (particle advection in a 2D, Cartesian box) using 400,000 particles on a single process.}
   \label{tab:particle_timing}
-
   \centering
-  \begin{tabular}{|c|c|c|c|}
-    \hline
-   Particle Operation & \dealii 9.3 & \dealii 9.4 & Speedup \\
-   \hline
-   Generation & 444 ms & 235 ms & 1.9$\times$ \\
-   Iteration & 4.18 ms & 0.638 ms & 6.6$\times$ \\
-   Advection & 37.8 ms & 33.9 ms & 1.15$\times$ \\
-   Sorting & 21.9 ms & 9.27 ms & 2.4$\times$ \\
-   \hline
+  \begin{tabular}{lccc}
+    \toprule
+    Particle Operation & \dealii 9.3 & \dealii 9.4 & Speedup      \\[0.3em]
+    Generation         & 444 ms      & 235 ms      & 1.9$\times$  \\
+    Iteration          & 4.18 ms     & 0.638 ms    & 6.6$\times$  \\
+    Advection          & 37.8 ms     & 33.9 ms     & 1.15$\times$ \\
+    Sorting            & 21.9 ms     & 9.27 ms     & 2.4$\times$  \\
+    \bottomrule
   \end{tabular}
   \end{table}
 
@@ -930,14 +930,12 @@ much faster in \dealii 9.4 than in version 9.3. In particular, operations that d
 
   \centering
 
-  \begin{tabular}{|c|c|c|c|}
-  \hline
-Version       & MPI routine used            & 1 file, striping 16 & 16 files, no striping \\
-\hline
-\dealii{} 9.3 & \texttt{MPI\_File\_write\_ordered()} & 3 GB/s              & 15 GB/s              \\
-\dealii{} 9.4 & \texttt{MPI\_File\_write\_at\_all()} & 17 GB/s             & 21 GB/s
-\\
-\hline
+  \begin{tabular}{llcc}
+    \toprule
+    Version       & MPI routine used                     & 1 file, striping 16 & 16 files, no striping \\[0.3em]
+    \dealii{} 9.3 & \texttt{MPI\_File\_write\_ordered()} & 3 GB/s              & 15 GB/s               \\
+    \dealii{} 9.4 & \texttt{MPI\_File\_write\_at\_all()} & 17 GB/s             & 21 GB/s               \\
+    \bottomrule
 \end{tabular}
 
   \end{table}
-- 
2.39.5