Post-merge tweaks

This commit is contained in:
Igal Tabachnik 2019-01-06 10:12:11 +02:00
parent 67e284b04f
commit 3a43194a1e
4 changed files with 15 additions and 9 deletions

View File

@ -8,5 +8,9 @@ created by Raph Levien and supplemented by Dimosthenis Kaponis and Takashi Tanig
typeface is Alegreya, designed by Juan Pablo del Peral.
Original book layout design and typography are done by Andres Raba. Syntax highlighting is using ``GitHub'' style for Pygments by
\urlref{https://github.com/hugomaiavieira/pygments-style-github}{Hugo Maia Vieira}. Scala code translation was done by
\urlref{https://github.com/typelevel/CT_from_Programmers.scala}{Typelevel} contributors.
\urlref{https://github.com/hugomaiavieira/pygments-style-github}{Hugo Maia Vieira}.
\ifdefined\OPTCustomLanguage{%
Scala code translation was done by
\urlref{https://github.com/typelevel/CT_from_Programmers.scala}{Typelevel} contributors.
}
\fi

View File

@ -7,12 +7,15 @@
\begin{raggedleft}
\fontsize{24pt}{24pt}\selectfont
\textbf{Category Theory \\ for Programmers}\\
\vspace*{1cm}
\small\selectfont{
\textbf{Scala Edition}\\
\textit{Contains code snippets in Haskell and Scala}\\
\textbf{Category Theory \\ for Programmers}\\
\ifdefined\OPTCustomLanguage{%
\vspace*{1cm}
\small\selectfont{
\textbf{\titlecap{\OPTCustomLanguage} Edition}\\
\textit{Contains code snippets in Haskell and \titlecap{\OPTCustomLanguage}}\\
}
}
\fi
\vspace*{1cm}
\fontsize{16pt}{18pt}\selectfont \textit{By } \textbf{Bartosz Milewski}\\
\vspace{1cm}

View File

@ -3,8 +3,6 @@
\def\OPTmodes{twoside,final,openright,10pt}
% PAGE FORMAT
%
% These settings are for letter format
\def\OTPpapersize{6.125in,9.25in} % Page size
\def\OPTtopmargin{0.75in} % Margin at the top of the page
\def\OPTbottommargin{0.75in} % Margin at the bottom of the page

View File

@ -53,6 +53,7 @@
\usepackage{caption, wrapfig, framed, subfigure}
\usepackage[export]{adjustbox}
\captionsetup{labelformat=empty,font=scriptsize}
\usepackage{titlecaps}
\usepackage[usenames,dvipsnames,x11names]{xcolor}
\usepackage{longtable}