aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/doc_reform/io_out/latex.d
diff options
context:
space:
mode:
Diffstat (limited to 'src/doc_reform/io_out/latex.d')
-rw-r--r--src/doc_reform/io_out/latex.d12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/doc_reform/io_out/latex.d b/src/doc_reform/io_out/latex.d
index 68ac2f9..3bea60d 100644
--- a/src/doc_reform/io_out/latex.d
+++ b/src/doc_reform/io_out/latex.d
@@ -708,10 +708,10 @@ string table(O,M)(
switch (paper_size_orientation) {
case "a4.portrait": pw = (paper.a4.portrait.w - 20); break;
case "a4.landscape": pw = (paper.a4.landscape.w - 20); break;
- case "a5.portrait": pw = (paper.a5.portrait.w - 20); break;
- case "a5.landscape": pw = (paper.a5.landscape.w - 20); break;
case "b4.portrait": pw = (paper.b4.portrait.w - 20); break;
case "b4.landscape": pw = (paper.b4.landscape.w - 20); break;
+ case "a5.portrait": pw = (paper.a5.portrait.w - 20); break;
+ case "a5.landscape": pw = (paper.a5.landscape.w - 20); break;
case "letter.portrait": pw = (paper.letter.portrait.w - 20); break;
case "letter.landscape": pw = (paper.letter.landscape.w - 20); break;
case "legal.portrait": pw = (paper.legal.portrait.w - 20); break;
@@ -792,10 +792,10 @@ string table(O,M)(
struct paperTypeLatex {
string a4_portrait;
string a4_landscape;
- string a5_portrait;
- string a5_landscape;
string b4_portrait;
string b4_landscape;
+ string a5_portrait;
+ string a5_landscape;
string us_letter_portrait;
string us_letter_landscape;
string us_legal_portrait;
@@ -907,10 +907,10 @@ string table(O,M)(
switch (paper_size_orientation) {
case "a4.portrait": paper_size_orientation_latex = set_paper(paper.a4.portrait); break;
case "a4.landscape": paper_size_orientation_latex = set_paper(paper.a4.landscape); break;
- case "a5.portrait": paper_size_orientation_latex = set_paper(paper.a5.portrait); break;
- case "a5.landscape": paper_size_orientation_latex = set_paper(paper.a5.landscape); break;
case "b4.portrait": paper_size_orientation_latex = set_paper(paper.b4.portrait); break;
case "b4.landscape": paper_size_orientation_latex = set_paper(paper.b4.landscape); break;
+ case "a5.portrait": paper_size_orientation_latex = set_paper(paper.a5.portrait); break;
+ case "a5.landscape": paper_size_orientation_latex = set_paper(paper.a5.landscape); break;
case "letter.portrait": paper_size_orientation_latex = set_paper(paper.letter.portrait); break;
case "letter.landscape": paper_size_orientation_latex = set_paper(paper.letter.landscape); break;
case "legal.portrait": paper_size_orientation_latex = set_paper(paper.legal.portrait); break;