
%~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
%%%    Heading of the code  
%%%%%% DO NOT EDIT THIS PART  
%~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

%%% -- PACKAGE INCLUDED ---------------------------------------
\documentclass[12pt,a4paper, oneside]{article}
\usepackage{fontspec}\usepackage{xunicode}
\usepackage{graphicx,amsmath,latexsym,amssymb,amsthm,xcolor}
\usepackage{xltxtra}
\usepackage{titlesec}
\usepackage{eucal}
\usepackage{eufrak}
\usepackage[top=1in, bottom=1in, 
left=.9in,right=.85in,head=40pt]{geometry} %Set 
%page margins
\usepackage{xhfill}
\usepackage{fancyhdr}
\usepackage{lastpage}
\usepackage{titlesec}
\usepackage{lipsum}
\usepackage{everypage}

%%% -- ENVIRONMENT SETTING ------------------------------------
% - Font and Typing -----------------------
\XeTeXlinebreaklocale “th_TH” %สำหรับตัดคำ
\setmainfont[Scale=1.35]{THSarabunNew}
\linespread{1.2}
% - Set Page Numbering Position ----------------
\pagestyle{fancy}
\fancyhf{} 
\renewcommand{\headrulewidth}{0pt}
\lhead{}\rhead{}\chead{}
\lfoot{}\cfoot{\thepage}\rfoot{}
%\assignpagestyle{\chapter}{empty} %make no page number on each Chapter page

% - Set Chapter and Section Style ---------------

\titleformat{\section}
{\normalfont\large\bfseries}{\thesection.}{0.5em}{}

\newcommand{\secfnt}{\fontsize{12}{14}}
\titleformat{\section}
{\normalfont\secfnt\bfseries}{\thesection.}{0.5em}{}



%~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
% The following part you CAN edit the code
%~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


% - Types of Statements in Mathematics -----------
\newtheorem{thm}{Theorem}[section] 
%When you want to add a Theorem, type \begin{thm} and \end{thm}.
\newtheorem{lem}[thm]{Lemma}
%When you want to add a Lemma, type \begin{lem} and \end{lem}.
\newtheorem{cor}[thm]{Corollary}
%When you want to add a Corollary, type \begin{cor} and \end{cor}.
\newtheorem{prop}[thm]{Proposition}
%When you want to add a Proposition, type \begin{prop} and \end{prop}.
\theoremstyle{definition}
\newtheorem{defi}[thm]{Definition}
%When you want to add a Definition, type \begin{defi} and \end{defi}.
\newtheorem{ex}[thm]{Example}
%When you want to add a Example, type \begin{ex} and \end{ex}.
\theoremstyle{remark}
\newtheorem{rem}[thm]{Remark}
%When you want to add a Remark, type \begin{rem} and \end{rem}.

% - New Command using in the thesis ----------------------------
% You can create a command which is commonly used in the thesis.
\newcommand{\bR}{{\mathbb{R}}}
\newcommand{\bC}{{\mathbb{C}}}
\newcommand{\bN}{{\mathbb{N}}}
\newcommand{\bF}{{\mathbb{F}}}
\newcommand{\cF}{{\mathcal F}}
\newcommand{\cS}{{\mathcal S}}
\newcommand{\ep}{{\varepsilon}}



\usepackage{stackengine}
\setstackEOL{\\}
%\headheight=0.25in
%\rhead{%
%	\Centerstack[l]{Foo bar \\
%		Baz lorem \\
%		ipsum dolor
%	}
%}
%\chead{}
\lhead{\raisebox{-.4\height}
	{\includegraphics[width=1.1cm]{logo}} 
	\textbf{\footnotesize{แบบฟอร์มการเสนอผลงานวิทยานิพนธ์ระดับปริญญาตรี 
	ในงานนิทรรศการวิทยาศาสตร์วิชาการ คณะวิทยาศาสตร์}}}




\pagestyle{fancy}
%\footskip .6in
\fancyfoot{} % clear all footer fields


%%%%%%%%%%%%%%%%%%%%%%%%
%        แก้ไข email ของ Corresponding author
%%%%%%%%%%%%%%%%%%%%%%%%


\fancyfoot[L]{\footnotesize{*Corresponding author. E-mail :  
email@nu.ac.th (แก้ไขในบรรทัดที่ 113 ใน file .tex)}}
%%\fancyfoot[LO,CE]{From: K. Grant}
%%\fancyfoot[CO,RE]{To: Dean A. Smith}



\renewcommand{\footrulewidth}{0pt}
\fancyfoot[R]{\thepage\\ \leavevmode\xrfill[2ex]{.4pt}}






\begin{document}

	
	\begin{center}
		\textbf{ชื่อเรื่องภาษาไทย\\
			Thesis title}
	\end{center}
	\vskip .5cm
	\begin{center}
			ชื่อผู้แต่ง และ ชื่อผู้แต่ง* \\
			author and author* \\
		\textit{Department of Mathematics, Faculty of Science, Naresuan University, Phitsanulok 65000} 
	\end{center}
	
	\begin{center}
		\textbf{บทคัดย่อ}
	\end{center}

	\hspace{.1cm} เนื้อหา...
	\\
	\\
	\textbf{คำสำคัญ :} คำสำคัญ1 /  คำสำคัญ2 /  คำสำคัญ3 / ...
	
	\begin{center}
		\textbf{Abstract}
	\end{center}
	
	\hspace{.1cm} content...
	\\
	\\
	\textbf{keyword :} keyword1 / keyword2 / keyword3 / ...
	
	\section{Introduction}
	
	\hspace{.7cm} content... (เนื้อเรื่องแบ่งเป็น บทนำ วิธีการ ผลและอภิปราย 
	สรุปผล ไม่จำเป็นต้องเป็น Introduction, Preliminary, Main Results 
	สามารถแก้ไขได้)
	
	
	
	\section{Preliminary}
	
	\hspace{.7cm} content....
	
	\section{Main Results} 
	

	\hspace{.7cm} content....
	
	\section{Acknowledgememts}
	
	\hspace{.7cm} content... (ไม่จำเป็นต้องใส่)
	
	
	


	

	\begin{thebibliography}{99}	  
		
		\bibitem{BondyMurty}  Bondy, J. A., and Murty, U. S. R. (2008). 
		\textit{Graph Theory}. London: Springer.
		
		\bibitem{XieZhang} Xie, J. and Zhang, G. (2022). On quasi-strongly 
		regular with parameters $(n, k, a; k-2, c_{2})$. \textit{Discrete 
		Mathematics}, 346, 113433.
	\end{thebibliography}
	

	
\end{document}
