%% - Move fontspec font settings to AtEndOfClass to avoid problem in Windows TeX
%% July 7, 2015: Dittaya Wanvarie
%% - Delete unnecessary comments
%% - Add more comments
%% - Add standard fonts for English similar to IEEEtran template
%% - Correct errors in English template
%% - Re-define bibliography to use \normalfont
%% - Add natbib required pacakge
%% - Define \thalph order (ก, ข, ค, ง,...0) for appendices
%% - Add setspace require package and force doublespacing
%% June 11, 2015: Dittaya Wanvarie
%% - Move font settings to AtEndOfClass
%% - Change Thai font scale to match roman uppercase character
%% - Add 12pt option to base report class
%% - Add \@ThaiBookTitle to all Co-advisor block
%% - Change tabular settings in TH/EN sign pages
%% - Add array package required for tabular
%% - Fix bugs in co-advisor position in abstract pages
%% June 9, 2015: Dittaya Wanvarie
%% - Change the width sign/department dotted line in TH/EN abstract page to fit "Mathematics and Computer Science"
%% July 21, 2014: Boonyarit Intiyot
%% - Add option [Latin,Thai] to ucharclasses
%% - Add \defaultfontfeatures{Mapping=tex-text}
%% - To avoid problem with Miktex for Windows:
%% -Move \newfontfamily\thaifont[Scale=MatchLowercase,Mapping=tex-text]{TH Sarabun New:script=thai} to the end of file
%% -Move \setTransitionTo{Thai}{\fontspec[Scale=MatchLowercase,Mapping=tex-text]{TH Sarabun New}} to the end of file and change it to \setTransitionTo{Thai}{\thaifont}
%% -Add \setTransitionFrom{Thai}{\normalfont} at the end of file
%%
%% July 6, 2014: Dittaya Wanvarie
%% - Add \defaultfontfeatures{Mapping=tex-text}
%% - Change co-advisor parameter in the English abstract page to uppercase "except
%% "Ph.D"
%% - Add subjID for course report in ugrad
%% - Add ugrad option for senior project report
%% - Add "appendicesname" and "appendicespage" in ThaiCaption
%% May 3, 2012 : Supasate Choochaisri
%% - Add a parameter to handle the uppercase of advisor's title except "Ph.D."
%% - Rename chula_nat.bst to chulanat.bst to make it more compatible to LaTeX
%% compiler.
%% - Add a "numappendices" parameter to handle choosing "Appendix" or "Appendices"
%% - Fix indentation of the Thai abstract page.
%% - Modify the bibtex style file (chulanat.bst) to handle Chula bibliography
%% format.
%%
%% Apr 19, 2012 : Supasate Choochaisri
%% - Use XeTeX to support UTF-8 and OpenType font.
%% - Use ucharclasses package to automatically switch language without
%% explicitly issuing switch command.
%% - Capitalize Advisor name at the English abstract page.
%% - Add option for Advisor/Co-Advisor name with abbreviated title to be used
%% at the English abstract page.
%% - Write Deparment, Field of Study, and Academic year on dotted underlines
%% at the abstract page.
%% - Add semi-colon after Academic year at the English abstract page.
%% - Move the word "Fulfillment" to the second line at the Approval page.
%% - Adjust top margin to 1.5", bottom margin to 1.0" with geometry package.
%% - Add line break for a long thesis title at the cover page.
Accepted by the \if@ugrad Department of \@EnglishDept\fi Faculty of \@EnglishFaculty, Ubon Ratchathani University in Partial Fulfillment of the Requirements for the \@EnglishDegreeType \if@ugrad in {\@subjID}{\@EnglishSubjName}\fi