forked from duktek/praktikum_2c
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.tex
275 lines (215 loc) · 6.28 KB
/
main.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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
%%%%%%%%%%%%%%
%% Run LaTeX on this file several times to get Table of Contents,
%% cross-references, and citations.
%% If you have font problems, you may edit the w-bookps.sty file
%% to customize the font names to match those on your system.
%% w-bksamp.tex. Current Version: Feb 16, 2012
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% Sample file for
% Wiley Book Style, Design No.: SD 001B, 7x10
% Wiley Book Style, Design No.: SD 004B, 6x9
%
%
% Prepared by Amy Hendrickson, TeXnology Inc.
% http://www.texnology.com
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%
% 7x10
%\documentclass{wileySev}
% 6x9
\documentclass{wileySix}
\usepackage{graphicx}
\usepackage{listings}
\usepackage{color}
\definecolor{codegreen}{rgb}{0,0.6,0}
\definecolor{codegray}{rgb}{0.5,0.5,0.5}
\definecolor{codepurple}{rgb}{0.58,0,0.82}
\definecolor{backcolour}{rgb}{0.95,0.95,0.92}
\lstdefinestyle{mystyle}{
backgroundcolor=\color{backcolour},
commentstyle=\color{codegreen},
keywordstyle=\color{magenta},
numberstyle=\tiny\color{codegray},
stringstyle=\color{codepurple},
basicstyle=\footnotesize,
breakatwhitespace=false,
breaklines=true,
captionpos=b,
keepspaces=true,
numbers=left,
numbersep=5pt,
showspaces=false,
showstringspaces=false,
showtabs=false,
tabsize=2,
language=sh
}
\lstset{style=mystyle}
%%%%%%%
%% for times math: However, this package disables bold math (!)
%% \mathbf{x} will still work, but you will not have bold math
%% in section heads or chapter titles. If you don't use math
%% in those environments, mathptmx might be a good choice.
% \usepackage{mathptmx}
% For PostScript text
\usepackage{w-bookps}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Other packages you might want to use:
% for chapter bibliography made with BibTeX
% \usepackage{chapterbib}
% for multiple indices
% \usepackage{multind}
% for answers to problems
% \usepackage{answers}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Change options here if you want:
%%
%% How many levels of section head would you like numbered?
%% 0= no section numbers, 1= section, 2= subsection, 3= subsubsection
%%==>>
\setcounter{secnumdepth}{3}
%% How many levels of section head would you like to appear in the
%% Table of Contents?
%% 0= chapter titles, 1= section titles, 2= subsection titles,
%% 3= subsubsection titles.
%%==>>
\setcounter{tocdepth}{2}
%% Cropmarks? good for final page makeup
%% \docropmarks
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% DRAFT
%
% Uncomment to get double spacing between lines, current date and time
% printed at bottom of page.
% \draft
% (If you want to keep tables from becoming double spaced also uncomment
% this):
% \renewcommand{\arraystretch}{0.6}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%% Demo of section head containing sample macro:
%% To get a macro to expand correctly in a section head, with upper and
%% lower case math, put the definition and set the box
%% before \begin{document}, so that when it appears in the
%% table of contents it will also work:
\newcommand{\VT}[1]{\ensuremath{{V_{T#1}}}}
%% use a box to expand the macro before we put it into the section head:
\newbox\sectsavebox
\setbox\sectsavebox=\hbox{\boldmath\VT{xyz}}
%%%%%%%%%%%%%%%%% End Demo
\begin{document}
\booktitle{Cerdas Menguasai Python}
\subtitle{Dalam 24 Jam}
\authors{Rolly M. Awangga\\
\affil{Informatics Research Center}
%Floyd J. Fowler, Jr.\\
%\affil{University of New Mexico}
}
\offprintinfo{Cerdas Menguasai Python, First Edition}{Rolly M. Awangga}
%% Can use \\ if title, and edition are too wide, ie,
%% \offprintinfo{Survey Methodology,\\ Second Edition}{Robert M. Groves}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%
\halftitlepage
\titlepage
\begin{copyrightpage}{2019}
\input{info/copyrightpage}
\end{copyrightpage}
\dedication{`Jika Kamu tidak dapat menahan lelahnya belajar,
Maka kamu harus sanggup menahan perihnya Kebodohan.'
~Imam Syafi'i~}
\begin{contributors}
\input{info/contributors}
\end{contributors}
\contentsinbrief
\tableofcontents
\listoffigures
\listoftables
\lstlistoflistings
\begin{foreword}
\input{info/foreword}
\end{foreword}
\begin{preface}
\input{info/preface}
\end{preface}
\begin{acknowledgments}
\input{info/acknowledgments}
\end{acknowledgments}
\begin{acronyms}
\input{info/acronyms}
\end{acronyms}
\begin{glossary}
\input{info/glossary}
\end{glossary}
\begin{symbols}
\input{info/symbols}
\end{symbols}
\begin{introduction}
\input{info/introduction}
\end{introduction}
%%%%%%%%%%%%%%%%%%Isi Buku_
\chapter{SEJARAH DAN KARAKTERISTIK PYTHON}
\input{chapters/1}
\chapter{Pemrograman Dasar}
\input{chapters/2}
\chapter{Fungsi dan Kelas}
\input{chapters/3}
\chapter{Pengelolaan File CSV}
\input{chapters/4}
\bibliographystyle{IEEEtran}
%\def\bibfont{\normalsize}
\bibliography{references}
%%%%%%%%%%%%%%%
%% The default LaTeX Index
%% Don't need to add any commands before \begin{document}
\printindex
%%%% Making an index
%%
%% 1. Make index entries, don't leave any spaces so that they
%% will be sorted correctly.
%%
%% \index{term}
%% \index{term!subterm}
%% \index{term!subterm!subsubterm}
%%
%% 2. Run LaTeX several times to produce <filename>.idx
%%
%% 3. On command line, type makeindx <filename> which
%% will produce <filename>.ind
%%
%% 4. Type \printindex to make the index appear in your book.
%%
%% 5. If you would like to edit <filename>.ind
%% you may do so. See docs.pdf for more information.
%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%% Making Multiple Indices %%%%%%%%%%%%%%%%
%% 1.
%% \usepackage{multind}
%% \makeindex{book}
%% \makeindex{authors}
%% \begin{document}
%%
%% 2.
%% % add index terms to your book, ie,
%% \index{book}{A term to go to the topic index}
%% \index{authors}{Put this author in the author index}
%%
%% \index{book}{Cows}
%% \index{book}{Cows!Jersey}
%% \index{book}{Cows!Jersey!Brown}
%%
%% \index{author}{Douglas Adams}
%% \index{author}{Boethius}
%% \index{author}{Mark Twain}
%%
%% 3. On command line type
%% makeindex topic
%% makeindex authors
%%
%% 4.
%% this is a Wiley command to make the indices print:
%% \multiprintindex{book}{Topic index}
%% \multiprintindex{authors}{Author index}
\end{document}