diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2019-10-30 14:39:35 +0100 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2019-10-30 14:39:35 +0100 |
| commit | ab4b89c9f93065a319dc74a770b5791ae4ef6c56 (patch) | |
| tree | 42cafabc71eb2865ffe63b65e7df79b0adc928e5 | |
| parent | 5d7ed8ac6168fb05b66f71a8191a7a394fba3c54 (diff) | |
| download | allocbench-ab4b89c9f93065a319dc74a770b5791ae4ef6c56.tar.gz allocbench-ab4b89c9f93065a319dc74a770b5791ae4ef6c56.zip | |
use booktabs in standalone tex tables
\toprule is definied in booktabs
| -rw-r--r-- | src/benchmark.py | 1 |
1 files changed, 1 insertions, 0 deletions
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) |
