ITU - ELECTRONICS HW report - Javad Ibrahimli
Author
Javad Ibrahimli
Last Updated
a year ago
License
Creative Commons CC BY 4.0
Abstract
Report homework template that I created to use for my undergraduate courses at ITU.
%-------------------------------------------------------------------------------
% TEMPLATE FOR ITU HWs and Assignments
% (c) Javad Ibrahimli, 2023
% This is a template for a HWs document, created by JAVAD IBRAHIMLI.
% All rights are reserved.
%-------------------------------------------------------------------------------
% ------------------ DOCUMENT SETUP ------------------
% The document class defines the document type (report) and sets the font size (12pt)
\documentclass[12pt]{report}
\author{Javad Ibrahimli}
% Inputs the Document Packages
\input{_Packages}
% Controls how many subsections the document can take
% and how many of those will get put into the contents pages.
\setcounter{secnumdepth}{3}
\setcounter{tocdepth}{3}
% Line Spacing
\setstretch{1.5}
% Places a dot after Chapter/Section/Subsection number in Table of Contents
\renewcommand{\cftchapaftersnum}{.}
\renewcommand{\cftsecaftersnum}{.}
\renewcommand{\cftsubsecaftersnum}{.}
% Customize Dot spacing in Table of Contents/List of Figures/Tables
\renewcommand{\cftdotsep}{0.3}
% Line Break Properties
\tolerance=1
\emergencystretch=\maxdimen
\hyphenpenalty=10000
\hbadness=10000
% Formatting Table of Contents/Lists titles
\renewcommand{\contentsname}{\bfseries\LARGE{CONTENTS}}
\renewcommand{\listfigurename}{\bfseries\LARGE{LIST OF FIGURES}}
% Signature Line for the declaration
\newbox\namebox
\newdimen\signboxdim
\def\signature#1{%
\setbox\namebox=\hbox{#1}
\signboxdim=\dimexpr(\wd\namebox+3cm)
\parbox[t]{\signboxdim}{%
\centering
\hrulefill\\ % for a line
#1
\par}%
}
% Title Formatting customization
\titleformat{\chapter}{\normalfont\bfseries\LARGE}{\thechapter.}{1em}{\MakeUppercase}
\titleformat{\section}{\normalfont\bfseries\large}{\thesection.}{1em}{\MakeUppercase}
\titlespacing*{\section} {0pt} {0pt} {15pt} % left, before, after
\titleformat{\subsection}{\normalfont\bfseries\large}{\thesubsection.}{1em}{}
\titlespacing*{\subsection} {0pt} {10pt} {10pt}
\titleformat{\subsubsection}{\normalfont\bfseries\large}{\thesubsubsection.}{1em}{}
\titlespacing*{\subsubsection} {0pt} {10pt} {10pt}
% HEADER AND FOOTER
\pagestyle{fancy} % Set Page Style (Header and Footer Style)
\fancyhf{} % Clears the header and footer (from the default info)
% Header
\renewcommand{\headrulewidth}{0pt} % Removes the default Horizontal Line in Header
% Optional Headers
%\fancyhead[L]{}
%\fancyhead[R]{2022/2023}
% Footer
\fancyfoot[C]{\thepage} % Page Number
% Change figure numbering per section
\numberwithin{figure}{chapter}
%Acronym entries
\makeglossaries
\newacronym{US}{US}{Ultrasound}
% -------------------------------------------------
% --------- The document starts from here ---------
% -------------------------------------------------
\begin{document}
% ------------------ TITLE PAGE -------------------
\begin{titlepage}
\begin{center}
% UCL IMAGE
\vspace*{-3cm}
\makebox[\textwidth]{\includegraphics[width=\paperwidth]{Images/check1.png}}
\vspace{2.3cm}
\vspace{1cm}
{\relscale{2.00}\textbf{Introduction to Logic Design\\}}
\vspace{0.3cm}
{\relscale{1.35}\textbf{EEF 205E\\}}
\vspace{2.4cm}
{\relscale{2.00}{HOMEWORK 1}}\\
%\vspace{0.1cm}
By\\
%\vspace{0.1cm}
Javad IbrahimlI \\ 040210932\\
\vspace{0.9cm}
{\begin{singlespace}Course given by:\\\end{singlespace}}
{\begin{singlespace}Sıddıka Berna Örs Yalçın\\
Yiğit Can Erçetin\\\end{singlespace}}
\end{center}
{\raggedleft\vfill{\begin{singlespace}
Department of Electrical
and Electronics Engineering\\
\end{singlespace}
Electronics and Communication Engineering\\
\begin{singlespace}
% Date of submission: \today\\
\end{singlespace}
}\par
}
\end{titlepage}
% ---------------------- DECLARATION -----------------------
\newpage
\chapter*{Declaration} % the Asterix (*) indicates that this section will be added to the table of contents but no number will be present beside it.
\addcontentsline{toc}{chapter}{Declaration}
I, YOUR NAME confirm that the work presented in this report is my own. Where information has been derived from other sources, I confirm that this has been indicated in the report.
\vspace*{3cm}
\noindent\signature{YOUR NAME}
\newpage
% ---------------------- ABSTRACT -----------------------
\newpage
\chapter*{Abstract} % the Asterix (*) indicates that this section will be added to the table of contents but no number will be present beside it.
\addcontentsline{toc}{chapter}{Abstract}
\input{Abstract}
% ----------------- ACKNOWLEDGEMENTS -------------------
\newpage
\chapter*{Acknowledgements}
\addcontentsline{toc}{chapter}{Acknowledgement}
\input{Acknowledgments}
\newpage
% ----------------- ACRONYMS -------------------
\newpage
%\chapter*{Acronyms}
\addcontentsline{toc}{chapter}{Acronyms}
\printglossary[type=\acronymtype,nonumberlist,nopostdot]
\newpage
% ------------------ TABLE OF CONTENTS --------------------
\tableofcontents
% ------------------- LIST OF FIGURES --------------------
\newpage
%{\let\oldnumberline\numberline % Uncomment to add the word 'Figure' to figure number in List of Figures
%\renewcommand{\numberline}{\figurename~\oldnumberline}
\listoffigures%}
\addcontentsline{toc}{chapter}{List of Figures} % Add List of figures into contents without any numeration
% ------------------- INTRODUCTION ---------------------
\chapter{Introduction}
\input{Introduction} % Section/Chapter entries can be done in the Main.tex file or in a
% separate tex file for longer and more complex documents
% ------------------- MATERIALS AND METHODS ---------------------
\chapter{Materials and Methods}
\input{Materials and Methods} % Section/Chapter entries can be done in the Main.tex file or in a
% separate tex file for longer and more complex documents
% ------------------- RESULTS ---------------------
\chapter{Results}
\input{Results} % Section/Chapter entries can be done in the Main.tex file or in a
% separate tex file for longer and more complex documents
% ------------------- DISCUSSION ---------------------
\chapter{Discussion}
\input{Discussion} % Section/Chapter entries can be done in the Main.tex file or in a
% separate tex file for longer and more complex documents
% ------------------- CONCLUSION AND FUTURE OUTLOOK ---------------------
\chapter{Conclusion and Future Outlook}
\input{Conclusion and Future Outlook} % Section/Chapter entries can be done in the Main.tex file or in a
% separate tex file for longer and more complex documents
% ------------------- BIBLIOGRAPHY ---------------------
\newpage
\bibliographystyle{elsarticle-num.bst}
\bibliography{References}
\addcontentsline{toc}{chapter}{References} % Adds References Section to Table of Contents
% ------------------- Appendix ---------------------
\chapter*{Appendix}
\addcontentsline{toc}{chapter}{Appendix}
\input{Appendix} % Section/Chapter entries can be done in the Main.tex file or in a
% separate tex file for longer and more complex documents
\end{document}
% -------------------------------------------------
% --------- The document ends from here -----------
% -------------------------------------------------