From e4cca3e2c934914f3d633b4dde4e6316e0fa2a5b Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Mon, 28 Feb 2022 14:16:32 -0500 Subject: latex font sizes --- src/doc_reform/io_out/latex.d | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'src/doc_reform') diff --git a/src/doc_reform/io_out/latex.d b/src/doc_reform/io_out/latex.d index 3bea60d..6160a3e 100644 --- a/src/doc_reform/io_out/latex.d +++ b/src/doc_reform/io_out/latex.d @@ -72,7 +72,7 @@ template outputLaTeX() { const uint h = 228; string width = format(q"┃%dmm┃", w); string height = format(q"┃%dmm┃", h); - string font_size = "12pt"; + string fontsize = "11pt"; string name = "a4paper"; uint img_px = 450; bool is_portrait = true; @@ -85,7 +85,7 @@ template outputLaTeX() { const uint h = 160; string width = format(q"┃%dmm┃", w); string height = format(q"┃%dmm┃", h); - string font_size = "11pt"; + string fontsize = "11pt"; string name = "a4paper"; uint img_px = 300; bool is_portrait = false; @@ -103,7 +103,7 @@ template outputLaTeX() { const uint h = 162; string width = format(q"┃%dmm┃", w); string height = format(q"┃%dmm┃", h); - string font_size = "0pt"; + string fontsize = "11pt"; string name = "a5paper"; uint img_px = 280; bool is_portrait = true; @@ -116,7 +116,7 @@ template outputLaTeX() { const uint h = 100; string width = format(q"┃%dmm┃", w); string height = format(q"┃%dmm┃", h); - string font_size = "0pt"; + string fontsize = "11pt"; string name = "a5paper"; uint img_px = 190; bool is_portrait = false; @@ -134,7 +134,7 @@ template outputLaTeX() { const uint h = 204; string width = format(q"┃%dmm┃", w); string height = format(q"┃%dmm┃", h); - string font_size = "0pt"; + string fontsize = "11pt"; string name = "b4paper"; uint img_px = 356; bool is_portrait = true; @@ -147,7 +147,7 @@ template outputLaTeX() { const uint h = 130; string width = format(q"┃%dmm┃", w); string height = format(q"┃%dmm┃", h); - string font_size = "0pt"; + string fontsize = "11pt"; string name = "b4paper"; uint img_px = 260; bool is_portrait = false; @@ -165,7 +165,7 @@ template outputLaTeX() { const uint h = 212; string width = format(q"┃%dmm┃", w); string height = format(q"┃%dmm┃", h); - string font_size = "0pt"; + string fontsize = "11pt"; string name = "letterpaper"; uint img_px = 468; bool is_portrait = true; @@ -178,7 +178,7 @@ template outputLaTeX() { const uint h = 166; string width = format(q"┃%dmm┃", w); string height = format(q"┃%dmm┃", h); - string font_size = "0pt"; + string fontsize = "11pt"; string name = "letterpaper"; uint img_px = 290; bool is_portrait = false; @@ -196,7 +196,7 @@ template outputLaTeX() { const uint h = 286; string width = format(q"┃%dmm┃", w); string height = format(q"┃%dmm┃", h); - string font_size = "0pt"; + string fontsize = "11pt"; string name = "legalpaper"; uint img_px = 474; bool is_portrait = true; @@ -209,7 +209,7 @@ template outputLaTeX() { const uint h = 166; string width = format(q"┃%dmm┃", w); string height = format(q"┃%dmm┃", h); - string font_size = "0pt"; + string fontsize = "11pt"; string name = "legalpaper"; uint img_px = 420; bool is_portrait = false; @@ -885,7 +885,7 @@ string table(O,M)( \documentclass[%s,%s,titlepage]{scrartcl} \setlength{\textheight}{%s} \setlength{\textwidth}{%s} ┃", - paper_set.font_size, + paper_set.fontsize, paper_set.name, paper_set.height, paper_set.width, @@ -895,7 +895,7 @@ string table(O,M)( \documentclass[%s,%s,landscape,titlepage,twocolumn]{scrartcl} \setlength{\textheight}{%s} \setlength{\textwidth}{%s} ┃", - paper_set.font_size, + paper_set.fontsize, paper_set.name, paper_set.height, paper_set.width, @@ -927,12 +927,12 @@ string table(O,M)( "letter.landscape" || "legal.landscape") ){ - links_mono_or_color_set = links.color.strip; + links_mono_or_color_set = links.mono.strip; } string _latex_head = format(q"┃%%%% spine LaTeX output %%%% Generated by: %s %%%% D version: %s -%%%% LaTeX output last Generated on: %s +%s %%%% %s %s \usepackage{geometry} @@ -1112,7 +1112,7 @@ string table(O,M)( ┃", doc_matters.opt.action.debug_do_latex ? "" : doc_matters.generator_program.name_and_version.strip, doc_matters.opt.action.debug_do_latex ? "" : doc_matters.generator_program.compiler.strip, - doc_matters.opt.action.debug_do_latex ? "" : doc_matters.generator_program.stime.strip, + doc_matters.opt.action.debug_do_latex ? "" : "", // "%%%% LaTeX output last Generated on: " ~ doc_matters.generator_program.stime.strip, doc_matters.generator_program.project_name.strip, doc_matters.generator_program.url_home.strip, paper_size_orientation_latex.strip, -- cgit v1.2.3