CSE RUET B.Sc. Thesis Template
Author
Md. Minhazul Haque, Fuad Al Abir
Last Updated
2 года назад
License
Creative Commons CC BY 4.0
Abstract
A boilerplate LaTeX template for writing B.Sc. Undergraduate Thesis under RUET.
% ====================================================================
% Authors:
% Md. Minhazul Haque <minhaz@linux.com> (Original)
% Source: https://github.com/mdminhazulhaque/ruet-thesis-template-latex
% Fuad Al Abir <alabir.fuad@gmail.com> (2022 Edition)
% ====================================================================
\documentclass[hidelinks, 12pt, a4paper, final]{report}
\usepackage[left=1.0in, top=2.50cm, right=1.0in, bottom=1.0in]{geometry}
\usepackage{fontspec}
\setmainfont{Times New Roman}
% \usepackage[utf8]{inputenc}
\usepackage{subfiles}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{afterpage}
\usepackage{xcolor}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage{array}
\usepackage{hyperref}
\usepackage{float}
\usepackage{url}
\usepackage{listings}
\usepackage{wrapfig}
\usepackage{caption}
\usepackage{subcaption}
\usepackage{appendix}
% CHANGE LOG
% https://docs.google.com/document/d/1iEsq6ZeTkvQNMOxlVvCKdHiVD0zou_owvFZCWF4GeEw/edit?fbclid=IwAR00nMBjDaYziWdnwgBHjRaoQXJvBYIAvnY0ZCW0z50Q0uscqhAA5x1Tztc
% LOTS of EDITS have been made for Table of Content (2022 Ed.)
\usepackage{tocloft}
\setlength{\cftsecindent}{0pt} % Remove indent for \section
\setlength{\cftsubsecindent}{0pt} % Remove indent for \subsection
\renewcommand{\cftsecleader}{\hfill}
\renewcommand{\cftsubsecleader}{\hfill}
\renewcommand{\cftchapfont}{\bfseries \fontsize{14pt}{1pt} \selectfont} % for chapter title bold and 14 pt
\renewcommand{\cftsecfont}{\bfseries} % for section title bold
\renewcommand{\cftchappagefont}{\normalfont} % for page number in normal
\renewcommand{\cftchapnumwidth}{0pt}
\newlength{\commonindentshift}
\setlength{\commonindentshift}{55pt}
\renewcommand\cftchappresnum{\hspace{-0.1cm}CHAPTER }
\renewcommand\cftchapaftersnumb{\newline}
\renewcommand{\contentsname}{\hfill\bfseries\Large CONTENTS \hfill}
\renewcommand{\cftaftertoctitle}{\hfill}
\renewcommand{\cftloftitlefont}{\hfill\bfseries \fontsize{16pt}{1pt} \selectfont \MakeUppercase}
\renewcommand{\cftafterloftitle}{\hfill}
\renewcommand{\cftlottitlefont}{\hfill\bfseries \fontsize{16pt}{1pt} \selectfont \MakeUppercase}
\renewcommand{\cftafterlottitle}{\hfill}
\renewcommand{\cftfigdotsep}{\cftnodots} % no dots in list of figures
\renewcommand{\cfttabdotsep}{\cftnodots} % no dots in list of tables
\setcounter{tocdepth}{1} % to exclude subsecitons from toc
\usepackage[notlof, nottoc, notlot]{tocbibind} % to remove list of figures and list of tables from toc
\renewcommand\bibname{\fontsize{16pt}{1pt} \selectfont \centerline{REFERENCES} \global\def\bibname{REFERENCES}}
\definecolor{dodgerblue}{rgb}{0.12, 0.56, 1.0}
\lstset{basicstyle=\ttfamily, breaklines=true}
% line height / spacing
\renewcommand{\baselinestretch}{1.5}
% variables: to be filled
\newcommand{\authorname}{Your Name}
\newcommand{\authorroll}{1603***}
\newcommand{\thesistitle}{Your Thesis Title}
\newcommand{\thesissupervisor}{Supervisor's Name}
\newcommand{\thesissupervisordesignation}{Supervisor's Designation}
\newcommand{\externalexaminer}{External Examiner's Name}
\newcommand{\externalexaminerdesignation}{External Examiner's Designation}
% variables: do not touch
\newcommand{\dept}{Department of Computer Science \& Engineering}
\newcommand{\deptCAP}{DEPARTMENT OF COMPUTER SCIENCE \& ENGINEERING}
\newcommand{\ruet}{Rajshahi University of Engineering \& Technology}
\newcommand{\ruetBD}{Rajshahi University of Engineering \& Technology, Bangladesh}
\hypersetup
{
pdfauthor={\authorname},
pdfsubject={BSc Thesis},
pdftitle={\thesistitle~~- BSc Thesis - \authorname~~(\authorroll)},
pdfkeywords={RUET, Thesis, Report}
}
\begin{document}
% to color the cover page
% \pagecolor{dodgerblue}\afterpage{\nopagecolor}
% adds page number in i, ii, iii, iv ... format
\pagenumbering{roman}
\thispagestyle{empty}
\subfile{chapters/i_cover.tex}
\newpage
\subfile{chapters/ii_acknowledgement.tex}
\newpage
\subfile{chapters/iii_certificate.tex}
\newpage
\subfile{chapters/iv_abstract.tex}
\newpage
\tableofcontents
\newpage
\listoftables
\newpage
\listoffigures
% adds page number in 1, 2, 3, 4 ... format
\clearpage
\pagenumbering{arabic}
\subfile{chapters/1_introduction.tex}
\subfile{chapters/2_background.tex}
\subfile{chapters/3_implementation.tex}
\subfile{chapters/4_performence_result.tex}
\subfile{chapters/5_future_works.tex}
\subfile{chapters/app_workspace.tex}
\subfile{chapters/app_code_snippets.tex}
% include references
\bibliographystyle{ieeetr}
\bibliography{bibliography}
\end{document}