summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/scoresheet.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/scoresheet.pl b/bin/scoresheet.pl
index 74c7a8a..96620e8 100755
--- a/bin/scoresheet.pl
+++ b/bin/scoresheet.pl
@@ -2,7 +2,7 @@
use Config::Tiny;
-($dir, $idfile) = @ARGV;
+($dir, $paper, $idfile) = @ARGV;
# Convert LaTeX units to mm
%units = (
@@ -88,7 +88,7 @@ if (defined($idfile) && open(IDS, '<', $idfile)) {
@id_list = (''); # One copy with no ID
}
-print "\\documentclass[letterpaper]{article}\n";
+print "\\documentclass[${paper}paper]{article}\n";
print "\\usepackage[utf8]{inputenc}\n";
print "\\usepackage{array}\n";
print "\\usepackage{calc}\n";