-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.tex
114 lines (81 loc) · 5.05 KB
/
setup.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Check out the accompanying book, Even Better Books with LaTeX the Agile Way in 2023, for a discussion of the template and step-by-step instructions. https://amzn.to/3HqwgXM https://leanpub.com/eBBwLtAW/
% The template was originally created by Clemens Lode, LODE Publishing (www.lode.de), on 1/1/2023. Feel free to use this template for your book project!
% I would be happy if you included a short mention in your book in order to help others to create their own books, too ("Book template based on \textit{Even Better Books with LaTeX the Agile Way in 2023} by Clemens Lode").
% Contact me at [email protected] if you need help with the template or are interested in our editing and publishing services.
% And don't forget to follow us on Instagram! https://www.instagram.com/lodepublishing/ https://www.instagram.com/betterbookswithlatex/
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Allow nested verbatims
% https://tex.stackexchange.com/questions/575025/nested-verbatims
\newenvironment{overbatim}{\verbatim}{\endverbatim}
% Replace "The Title" with your book title.
\newcommand{\mytitle}{The Process of Scientific Writing}
% Replace "The subtitle" with your book's subtitle.
\newcommand{\mysubtitle}{Your guide to getting started with scientific publishing}
% Replace "Publishing Company" with the name of the publishing company it is published.
\newcommand{\mypublishingcompany}{SurviveJS Oy}
% Replace "Location of the Publishing Company (city)" with the location (e.g., the city) of the publishing company.
\newcommand{\mypublishingcompanylocation}{Rautalampi}
\newcommand{\mypublishingcompanyurl}{\url{https://www.survivejs.com}}
% Upload a low-resolution jpg (e-book) and a high-resolution (pdf/print) png version of your front cover into the "images" folder. If you need help with creating a cover, email us at [email protected] to talk about what you need, and we will do our best to help you.
\newcommand{\coverImage}{images/cover.jpg}
\newcommand{\hiresCoverImage}{images/cover.png}
% Replace "Your email address" with your email address.
% Replace "Edition" with the edition number.
% Replace the ISBNs with your ISBNs.
% Replace "Your editor's name" with your editor's name.
% Replace "Your designer's name" with your book cover designer's name.
% Replace "Your image sources" with the sources of your images (including icons) and relevant license information.
% Replace "Your newsletter email" with your newsletter email.
% Replace "Your newsletter URL" with your website's newsletter URL.
\newcommand{\mypublishingcompanyemail}{[email protected]}
\newcommand{\editionNumber}{version 1.4} % {First Edition}
% Buy ISBNs or use the ISBNs generated by Amazon and list them here.
\newcommand{\ebookISBN}{123-4-567890-12-3}
\newcommand{\softcoverISBN}{123-4-567890-12-4}
\newcommand{\hardcoverISBN}{123-4-567890-12-5}
\newcommand{\editorName}{Juho Vepsäläinen}
\newcommand{\designerName}{Juho Vepsäläinen}
\newcommand{\imageSources}{Your image sources}
\newcommand{\newsletterMail}{Your newsletter email}
\newcommand{\newsletterURL}{Your newsletter URL}
% If you want to subscribe to this book's newsletter, write an email to [email protected] or follow us on Instagram.com/lodepublishing or Instagram/betterbookswithlatex
\newcommand{\yourName}{Juho Vepsäläinen}
% Replace city, country, and date with the place and country where you (or your company) are located and the date when the preface was finished (it does not have to be the release date of the book).
\newcommand{\yourCity}{Rautalampi}
\newcommand{\yourCountry}{Finland}
\newcommand{\prefaceDate}{2024/07/17}
\newif\ifuseAuthorImage
% Uncomment and upload author images
%\useAuthorImagetrue
\ifuseAuthorImage
\newcommand{\authorImage}{images/author.jpg}
\newcommand{\authorImageHiRes}{images/author.png}
\fi
% Uncomment \seriestrue if your book is part of a series.
\newif\ifseries
%\seriestrue
\ifseries
% Replace "Title of Book Series" with the title of the book series.
% Replace "Title of Part One" with the title of part one.
% Replace "Title of Part Two" with the title of part two.
% Replace "Title of Part Three" with the title of part three, or remove the line if there is no part three.
% Replace "Title of Part Four" with the title of part four, or remove the line if there is no part four.
\newcommand{\partOneTitle}{Title of Part One}
\newcommand{\partTwoTitle}{Title of Part Two}
\newcommand{\partThreeTitle}{Title of Part Three}
\newcommand{\partFourTitle}{Title of Part Four}
\newcommand{\titleOfTheBookSeries}{Title of the Book Series}
\newif\firstBookOfSeries
\firstBookOfSeries
\ifFirstBookOfSeries
\else
\newcommand{\partPreviousPart}{Number of the previous part in the book series}
\newcommand{\titlePreviousPart}{Title of the previous part in the book series}
\newcommand{\previousCoverImage}{images/previous_part_of_the_series_Cover.jpg}
\newcommand{\previousCoverImageHiRes}{images/previous_part_of_the_series_Cover_hires.png}
\fi
% If you want a different size than 6"x9", change the lib/bookformat.tex file accordingly.
\newif\ifhardcover
% Uncomment for selecting hardcover.
%\hardcovertrue