[Tex/LaTex] Times New Roman font with TeXnicCenter

fontstimes

I'm new to LaTeX and trying to write my rapport with TeXnicCenter. I want to use the times new roman font, but i don't know why it does not works with me.

This the beginning of my code :

\documentclass[12pt,french]{report}
\usepackage{times}
\usepackage[T1]{fontenc}
\usepackage[utf8]{luainputenc}
\usepackage[a4paper]{geometry}
\usepackage{minitoc}
\geometry{verbose,tmargin=2cm,bmargin=2cm,lmargin=3cm,rmargin=3cm}
\setcounter{secnumdepth}{3}
\setcounter{tocdepth}{3}
\setlength{\parskip}{\smallskipamount}
\setlength{\parindent}{0pt}
\usepackage{float}
\usepackage{graphicx}
\usepackage{setspace}
\usepackage{nomencl}
% the following is useful when we have the old nomencl.sty package
\providecommand{\printnomenclature}{\printglossary}
\providecommand{\makenomenclature}{\makeglossary}
\makenomenclature
\onehalfspacing

\makeatletter
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.
\usepackage{t1enc}% un second package
\usepackage[francais]{babel}
% un troisième package
\usepackage{layout}
\usepackage[Lenny]{fncychap}
\usepackage{fancyhdr}
\usepackage[section]{placeins}
\usepackage{lettrine} 

\floatstyle{boxed}
\title{Rapport de Projet De Fin D'Études}
\author{Amina GHABRI}
\usepackage{palatino}%police
\renewcommand{\baselinestretch}{1.5}

\AtBeginDocument{
  \def\labelitemi{\normalfont\bfseries{--}}
}



\usepackage{babel}


\addto\extrasfrench{%
   \providecommand{\og}{\leavevmode\flqq~}%
   \providecommand{\fg}{\ifdim\lastskip>\z@\unskip\fi~\frqq}%
}

\pagestyle{fancy}
\fancyhf{}
\fancyhead[LE,RO]{\leftmark}
\fancyhead[RE,LO]{\ }
\fancyfoot[CE,CO]{\thepage}
\fancyfoot[RE,LO]{\ }

\renewcommand{\headrulewidth}{1pt}
\renewcommand{\footrulewidth}{1pt}




\usepackage{babel}

\addto\extrasfrench{%
   \providecommand{\og}{\leavevmode\flqq~}%
   \providecommand{\fg}{\ifdim\lastskip>\z@\unskip\fi~\frqq}%
}




\makeatother

\usepackage{babel}
\makeatletter
\addto\extrasfrench{%
   \providecommand{\og}{\leavevmode\flqq~}%
   \providecommand{\fg}{\ifdim\lastskip>\z@\unskip\fi~\frqq}%
}
\rmfamily
\makeatother

\begin{document}
\maketitle 
\dominitoc\tableofcontents{}\listoffigures

\listoftables

\chapter{Présenation du projet}
\label{sec:PrésenationDuProjet}

And this is what i'm getting :

enter image description here

Best Answer

You have specified

\usepackage{times} 

but then later you over-write the font definitions and specify Palatino:

\usepackage{palatino}%police

presumably you want to remove that line if you want Times

As you are using pdflatex also change

\usepackage[utf8]{luainputenc}

to

\usepackage[utf8]{inputenc}