-
Notifications
You must be signed in to change notification settings - Fork 0
/
Master.Rnw
167 lines (131 loc) · 3.9 KB
/
Master.Rnw
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
\documentclass[a4paper,11pt,UKenglish,twoside,openright]{report}
\usepackage{uiothesis}
\title{Identifying School Climate Variables Associated with Students' Financial Literacy Outcomes}
\subtitle{A Cross-Country Comparison\\Using {PISA} 2018 Data}
\author{Tony C. A. Tan}
\begin{document}
% Input faculty etc info
\duoforside[
fac={Faculty of Educational Sciences},
dept={Centre for Educational Measurement},
program={Assessment, Measurement and Evaluation},
date={Spring 2021},
% printer={X-press printing house},
short
]
% Change page numbering to roman
\pagenumbering{roman}
% Create an acknowledgement page
\thispagestyle{empty}
% This is where I generated the Chinese characters
%//ref http://www.akuziti.com/mb/
% I used font 24.Huawen Xingkai and 100 pixel
\vspace*{\fill}
\begin{figure*}[h]
\includegraphics[width=\textwidth]{./Figures/To-parents.png}
\end{figure*}
\begin{flushright}
To my parents
\end{flushright}
\vspace*{\fill}
%\newpage
\clearpage
\thispagestyle{empty}
\vspace*{3cm}
\begin{quote}
\calligra\huge % Changes the font to caligraphy and huge size.
\hyphenchar\font=-1 % Stops LaTeX from splitting/hyphenating words
Study hard what interests you the most in the most undisciplined, irreverent and original manner possible.
\end{quote}
\begin{figure*}[h]
\flushright
\includegraphics[width=0.50\textwidth]{./Figures/Feynman-Signature.jpg}
\end{figure*}
\vspace*{-1cm}
%\begin{flushright}
%--- Richard P. Feynman
%\end{flushright}
\setcounter{page}{0}
% End of acknowledgement page
% Put Table of Content here
\tableofcontents
% Put a List of Tables here
\listoftables
% Put a List of Figures here
\listoffigures
<<setup, include=FALSE, cache=FALSE>>=
library(knitr)
opts_chunk$set(fig.path = 'Figures/Rnw-')
options(formatR.comment = TRUE, formatR.blank = TRUE, formatR.arrow = FALSE, formatR.indent = 4, formatR.brace.newline=FALSE)
render_listings()
@
% APA7 Rule 2.21 Line Spacing
%\onehalfspacing
\doublespacing
% Acknowledgement
<<child="Chapters/Acknowledgement.Rnw", tidy=FALSE, message=FALSE, warning=FALSE>>=
@
% Popular Abstract
<<child="Chapters/Abstract0.Rnw", tidy=FALSE, message=FALSE, warning=FALSE>>=
@
% Abstract
<<child="Chapters/Abstract1.Rnw", tidy=FALSE, message=FALSE, warning=FALSE>>=
@
% End of front matter. None of the pages so far counts towards the page limit.
\clearpage
\thispagestyle{empty}
% Restart page number. Page count starts here.
\pagenumbering{arabic}
\setcounter{page}{0} % Do not swap these two command. Need new chapter to be "Open right".
% Chapter 1 Introduction
%<<child="Chapters/Ch1.Rnw", tidy=FALSE, message=FALSE, warning=FALSE>>=
%@
% Chapter 2 Theoretical framework
%<<child="Chapters/Ch2.Rnw", tidy=FALSE, message=FALSE, warning=FALSE>>=
%@
% Chapter 3 Methods
<<child="Chapters/Ch3.Rnw", tidy=FALSE, message=FALSE, warning=FALSE>>=
@
% Chapter 4 Results
%<<child="Chapters/Ch4.Rnw", tidy=FALSE, message=FALSE, warning=FALSE>>=
%@
% Chapter 5 Discussion
%<<child="Chapters/Ch5.Rnw", tidy=FALSE, message=FALSE, warning=FALSE>>=
%@
% Put Reference here
\newpage
\printbibliography[title=References]
% New CEMO policy: leave tables and figures close to the paragraphs that discussed them.
% Tables
%\newpage
%<<child="Tables/tab.Rnw", tidy=FALSE, message=FALSE, warning=FALSE>>=
%@
% Figures
%\newpage
%<<child="Figures/fig.Rnw", tidy=FALSE, message=FALSE, warning=FALSE>>=
%@
%\newpage
% Insert appendices
\begin{appendices}
\begin{singlespace}
% \include{Appendices/A}
% \include{Appendices/B}
% \include{Appendices/C}
% \include{Appendices/D}
% \include{Appendices/E}
% \include{Appendices/F}
% \include{Appendices/Z}
\end{singlespace}
\end{appendices}
% Put Index here
%\begin{multicols}{2}
\cleardoublepage
\phantomsection
\addcontentsline{toc}{chapter}{Name Index}
\printindex[a]
\cleardoublepage
\phantomsection
\addcontentsline{toc}{chapter}{Subject Index}
\printindex
%\end{multicols}
\end{document}