From ab4b89c9f93065a319dc74a770b5791ae4ef6c56 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Wed, 30 Oct 2019 14:39:35 +0100 Subject: use booktabs in standalone tex tables \toprule is definied in booktabs --- src/benchmark.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/benchmark.py b/src/benchmark.py index 94c10aa..f4fd49f 100644 --- a/src/benchmark.py +++ b/src/benchmark.py @@ -852,6 +852,7 @@ class Benchmark: fname = os.path.join(sumdir, ".".join([self.name, filepostfix, "tex"])) with open(fname, "w") as f: print("\\documentclass{standalone}", file=f) + print("\\usepackage{booktabs}", file=f) print("\\usepackage{xcolor}", file=f) print("\\begin{document}", file=f) print("\\begin{tabular}{|", f"{'c|'*nperm_fields}", f"{'c'*nentries}|"*nallocators, "}", file=f) -- cgit v1.2.3