\documentclass[12pt,a4paper]{report}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage{times}
%\usepackage{txfonts}
\usepackage{titlesec}
\usepackage{tocloft}
\usepackage{listings} % for listing code in the report
\usepackage{color}
\usepackage[left=3.5cm,top=2cm,right=3cm,bottom=2cm]{geometry}
\renewcommand\cftchapfont{\large\bfseries}
\renewcommand\cftsecfont{\large}
\renewcommand\cftchappagefont{\large\bfseries}
\renewcommand\cftsecpagefont{\large}
\renewcommand{\contentsname}{List of Experiments}
\renewcommand{\chaptername}{Experiment} % rename chapter as experiment
\titleformat{\chapter}[display]
{\normalfont\filcenter%
\Large% %change this size to your needs for the first line
\bfseries}{\chaptertitlename\ \thechapter}{20pt}{%
\Large %change this size to your needs for the second line
}
\definecolor{codegreen}{rgb}{0,0.6,0}
\definecolor{gray}{rgb}{0.5,0.5,0.5}
\definecolor{mauve}{rgb}{0.58,0,0.82}
\lstset{%frame=tb,
language=Python,
aboveskip=3mm,
belowskip=3mm,
showstringspaces=false,
columns=flexible,
basicstyle={\small\ttfamily},
numbers=none,
numberstyle=\tiny\color{gray},
keywordstyle=\color{blue},
commentstyle=\color{codegreen},
stringstyle=\color{mauve},
breakatwhitespace=true
tabsize=3
}
%*********************Figures*****************************
% Save all figures in the folder figures and include them in your
% report using the command \includegraphics{figure-name}
\graphicspath{{figures/}}
% figure files can be in jpeg,jpg, png or pdf formats
\begin{document}
%****The entries in this section are to be filled in by the student with appropriate values *************
% These values are used thoroughout the report
% please fill in the appropriate values
\gdef \lab_title{ROBOTICS LAB} % Lab title
\gdef \course_code{221 LIA 001}
\gdef \doc_name{Lab Record}
\gdef \author{Student Name} %student name
\gdef \semester{1}
\gdef \dept{Electronics and Communication Engineering} %Department
\gdef \degree{Master of Technology} %degree
\gdef \stream{Robotics \& Automation} %branch
\gdef \college{College of Engineering}
\gdef \collegePlace{Trivandrum}
\gdef \rollno{TVE22ECRA0XY} %KTU Reg No
\gdef \month{FEBRUARY 2023} %Month of Report submission
\gdef \faculty{Joaquim Ignatious Monteiro} %faculty in charge
\gdef \facultydes{Assistant Professor}%faculty designation
\gdef \acadyear{2022 - 23} % Academic year
\include{title_page}
\include{certificate}
\thispagestyle{empty}
\newpage
\pagenumbering{roman}
%%**********************Table of Contents***********************
\thispagestyle{empty}
\newpage
\tableofcontents
%\listoffigures
%\listoftables
%\include{symbol} %List of Symbols (Optional) comment if not required.
% symbold may be added in the file symbol.tex
%%********************Body of the report**********
\cleardoublepage
\setcounter{page}{1}
\pagenumbering{arabic} % Arabic numbering is used in the body of the report
%%*******************EXPERIMENT FILES***************
%
% Save all experiment files as separate tex files in the folder lab_exp
% Use \input command to include them in your report
% Save the python script files in the folder code and include them
% in your report using \lstinputlisting command
\input{lab_exp/exp1_ros_intro} % include experiment 1 file
\input{lab_exp/exp2_pub_sub} % include experiment 2 file
\end{document}