Skip to content

Commit

Permalink
title
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-henz committed Aug 27, 2021
1 parent 280b170 commit 0d8d9eb
Showing 1 changed file with 31 additions and 11 deletions.
42 changes: 31 additions & 11 deletions javascript/latexContent.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,16 @@ const title = `\\begin{titlepage}
\\textbf{Generated: \\DTMnow}\\\\[1em]
\\includegraphics[width=0.6\\textwidth]{./sicp.png}\\par
{\\LARGE\\bfseries Structure and Interpretation of Computer
Programs, Second Edition\\\\}
Programs\\\\}
{\\LARGE\\bfseries JavaScript Adaptation\\par}
\\vspace{0.5cm}
\\begin{flushright}
{\\Large Harold Abelson and Gerald Jay Sussman \\\\}
{\\large with Julie Sussman \\par}
\\vspace{0.5cm}
{\\textit{adapted to JavaScript by}\\par}
{\\Large Martin Henz and Tobias Wrigstad \\\\}
\\vspace{0.5cm}
{\\Large with Julie Sussman \\par}
\\end{flushright}
\\vspace{0.2cm}
Expand Down Expand Up @@ -738,18 +739,31 @@ export const frontmatter = `
\\frontmatter
\\HalfTitle{Structure and Interpretation of Computer Programs, Second Edition --- JavaScript Adaptation}
\\HalfTitle{Structure and Interpretation of Computer Programs
\\begin{minipage}{12cm}
\\vspace{3.5mm}
\\normalsize JavaScript Adaptation
\\end{minipage}
}
\\halftitlepage
\\cleardoublepage
\\Title{Structure and Interpretation of Computer Programs}
\\Booksubtitle{JavaScript Adaptation}
\\edition{}
\\BookAuthor{Harold Abelson and Gerald Jay Sussman with Julie Sussman \\newline adapted to JavaScript by Martin Henz and Tobias Wrigstad}
\\edition{JavaScript Adaptation}
\\BookAuthor{Harold Abelson and Gerald Jay Sussman
\\begin{minipage}{12cm}
\\vspace{3.5mm}
adapted to JavaScript by Martin Henz and Tobias Wrigstad
\\end{minipage}
\\begin{minipage}{12cm}
\\vspace{3.5mm}
with Julie Sussman
\\end{minipage}
}
\\imprint{The MIT Press\\\\
Cambridge, Massachusetts\\\\
Expand All @@ -764,10 +778,12 @@ a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International Licens
To view a copy of this license, visit
\\url{http://creativecommons.org/licenses/by-nc-sa/4.0/}.
\\vspace{3mm}
\\vspace{2mm}
\\centerline{\\includegraphics[width=24mm]{{img\\string_original/}BY-NC-SA.png}}
\\vspace{3mm}
The text of this book is derived
from the book \\emph{Structure and Interpretation of Computer
Programs, Second Edition}, 1996, (SICP) and is subject to
Expand All @@ -781,19 +797,23 @@ CC BY-SA.
To view a copy of this license, visit
\\url{http://creativecommons.org/licenses/by-sa/4.0/}.
\\vspace{3mm}
\\vspace{2mm}
\\centerline{\\includegraphics[width=24mm]{{img\\string_original/}BY-SA.png}}
\\vspace{3mm}
The JavaScript programs in this book are derived
from the Scheme programs in SICP and are subject to
the GNU General Public License v3.0. To view a copy of this license,
visit \\url{https://www.gnu.org/licenses/gpl-3.0.html}.
\\vspace{3mm}
\\vspace{2mm}
\\centerline{\\includegraphics[width=24mm]{{img\\string_original/}gpl-v3.pdf}}
\\vspace{3mm}
The original image of MIT founder William Barton Rogers is
reprinted in section 2.2.4 with the permission of the MIT Museum.
Expand Down Expand Up @@ -860,7 +880,7 @@ you were first led up to it, that you can make it more.''\\end{minipage}}{\\norm
\\cleardoublepage
\\HalfTitle{Structure and Interpretation of Computer Programs, Second Edition --- JavaScript Adaptation}
\\HalfTitle{Structure and Interpretation of Computer Programs --- JavaScript Adaptation}
\\halftitlepage
\\cleardoublepage
Expand Down

0 comments on commit 0d8d9eb

Please sign in to comment.