# Table of content problem

I have prepared table of contents for my thesis like that

But our university wants like that

The main difference between them, In the second screenshot, chapter and section heading numbers are bold and also contains dot for example

1. INTRODUCTION

I have used to prepare table of content for chapter this code blocks

\titlecontents{chapter}
[25pt]         % left margin
{}%
{\contentsmargin{10pt}         % numbered entry format
\thecontentslabel\enspace%
\normalfont }
{\contentsmargin{10pt}\normalfont}      % unnumbered entry format
{\titlerule*[1mm]{.}\contentspage}                 % filler-page format (e.g dots)
[]

• Is the flush-left vs flush-right alignment of the page numbers important? – Mico Aug 18 '14 at 21:13
• Welcome to TeX.SX! Please show us a complete but minimal working document which yields your first picture. Like this, we do not have to type everything for you. – LaRiFaRi Aug 18 '14 at 21:14
• alignment not important for me – ugur Aug 18 '14 at 21:15
• Please post a complete compilable example in your question. This should start with \documentclass and end with \end{document}. Somebody who cuts, pastes and hits compile should produce the output in your (first) screenshot. Right now, I'm not even sure what you are posting. What is the relationship between the different code fragments? – cfr Aug 18 '14 at 21:39
• @ugur EDIT your question and post the code IN the question, formatted AS code. It is currently unreadable, incomplete and fragmented. – cfr Aug 18 '14 at 21:43

\titlecontents{chapter}