From 24807537831f252dbf0bd2df7fd6c271b629d3a0 Mon Sep 17 00:00:00 2001 From: "Nicholas S. Park" Date: Thu, 19 Mar 2020 10:57:14 -0400 Subject: [PATCH 1/3] Fix whitespace issues - Fixes vertical spacing to allow "ragged whitespace" at page bottom - Removes whitespace after "API description" heading --- main_spec.tex | 2 +- utils/defs.tex | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/main_spec.tex b/main_spec.tex index b0eaadc14..9d4ded9ed 100644 --- a/main_spec.tex +++ b/main_spec.tex @@ -1,4 +1,4 @@ -\documentclass[10pt]{book} +\documentclass[10pt,oneside]{book} \input{utils/packages} diff --git a/utils/defs.tex b/utils/defs.tex index 78a430972..bd80afc58 100644 --- a/utils/defs.tex +++ b/utils/defs.tex @@ -323,9 +323,8 @@ \begin{description} \vspace{-1em} \item[API description] \hfill \\ - \begin{sloppypar} + \sloppy #1 - \end{sloppypar} \hfill } From ac6725649a48e48a1fbe05d5fe4b96ecc7e73fda Mon Sep 17 00:00:00 2001 From: "Nicholas S. Park" Date: Thu, 19 Mar 2020 10:58:41 -0400 Subject: [PATCH 2/3] Consistently capitalize API subtitles --- utils/defs.tex | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/utils/defs.tex b/utils/defs.tex index bd80afc58..7b1c52a44 100644 --- a/utils/defs.tex +++ b/utils/defs.tex @@ -322,7 +322,7 @@ \newcommand{\apidescription}[1]{ \begin{description} \vspace{-1em} -\item[API description] \hfill \\ +\item[API Description] \hfill \\ \sloppy #1 \hfill @@ -358,14 +358,14 @@ } \newcommand{\apiimpnotes}[1]{ -\item[Note to implementers] \hfill \\ +\item[Note to Implementers] \hfill \\ #1 \hfill \\ } \newcommand{\parimpnotes}[1]{ \begin{description} -\item[Note to implementers] \leavevmode \\ +\item[Note to Implementers] \leavevmode \\ #1 \end{description} } From 45fbaf6fb012f97638b4feb006a1ef74162b7efa Mon Sep 17 00:00:00 2001 From: "Nicholas S. Park" Date: Thu, 19 Mar 2020 10:59:43 -0400 Subject: [PATCH 3/3] Fix packages to remove color warnings --- utils/packages.tex | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/utils/packages.tex b/utils/packages.tex index f4871c3c9..34e2e0094 100644 --- a/utils/packages.tex +++ b/utils/packages.tex @@ -6,11 +6,10 @@ \usepackage{multirow} \usepackage[normalem]{ulem} \usepackage{float} -\usepackage[usenames,dvipsnames]{color} +\usepackage[usenames,dvipsnames,table]{xcolor} \usepackage{amsmath} \usepackage{amsthm} \usepackage{amsfonts} -\usepackage[table]{xcolor} \usepackage{xspace} \usepackage{xhfill} \usepackage{fancyhdr}