I try to construct the table of content in latex but it have to in the form in this picture.
How can i do it?

- 51,322
1 Answers
Here's my attempt to emulate what you've created in Word (presumably) with some simple LaTeX code. This code example is what @chmhughes referred to as a minimal working example (MWE), which you should be able to compile.
There are a couple of things to note with this example:
1) This code shows you the basic workings of how to include sections and subsections in your content page. I have not created an exact copy of your ToC, but given you all the components to do it yourself.
2) I have left out the reference to the contents page in your contents page, as this is somewhat superfluous.
\documentclass[12pt,a4paper]{report}
\begin{document}
\pagenumbering{roman}
\chapter*{Thai Abstract}
\addcontentsline{toc}{chapter}{Thai Abstract}
\chapter*{English Abstract}
\addcontentsline{toc}{chapter}{English Abstract}
\chapter*{Acknowledgements}
\addcontentsline{toc}{chapter}{Acknowledgements}
\tableofcontents
\newpage
\addcontentsline{toc}{chapter}{List of Figures}
\listoffigures
\newpage
\addcontentsline{toc}{chapter}{List of Tables}
\listoftables
\newpage
\pagenumbering{arabic}
\chapter{Introduction}
\section{Motivation and literature surveys}
\section{Research objective}
\section{Thesis overview}
\chapter{Example Chapter}
\section{Example section}
\subsection{Example subsection}
\subsubsection{Example subsubsection}
\end{document}
This should output something like this:

If you want to change the font and style of the contents page I suggest you look up this question on How to change fonts.
Writing your thesis in this template will require that you have everything in one document, which will be very ugly and confusing. I suggest you look at the \include command, as you can create several smaller documents e.g. one for the Thai Abstract, English Abstract etc. and use the \include{filename} command to call these documents into the contents page. Note that filename must be the name of the file you are calling e.g. \include{thaiabs} will call the thaiabs.tex file you have written your Thai Abstract in.
Therefore:
\documentclass[12pt,a4paper]{report}
\begin{document}
\pagenumbering{roman}
\include{thaiabs}
\include{engabs}
\include{acknowledgements}
\tableofcontents
\newpage
\addcontentsline{toc}{chapter}{List of Figures}
\listoffigures
\newpage
\addcontentsline{toc}{chapter}{List of Tables}
\listoftables
\newpage
\pagenumbering{arabic}
\include{introduction}
\include{example}
\end{document}
thaiabs.tex file would contain:
\chapter*{Thai Abstract}
\addcontentsline{toc}{chapter}{Thai Abstract}
Type your abstract here.
engabs.tex file would contain:
\chapter*{English Abstract}
\addcontentsline{toc}{chapter}{English Abstract}
Type your abstract here.
introduction.tex file would contain:
\chapter{Introduction}
\section{Motivation and literature surveys}
\section{Research objective}
\section{Thesis overview}
example.tex file would contain:
\chapter{Example Chapter}
\section{Example section}
\subsection{Example subsection}
\subsubsection{Example subsubsection}
\tableofcontentsand you need help customizing it? – cmhughes Feb 25 '14 at 15:31