% Preamble
\documentclass[a4paper,12pt]{article}
% Packages for page layout
\usepackage{geometry}
\geometry{
left = 3.18cm,
right = 2.54cm,
top = 2.54cm,
bottom = 2.54cm
}
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhf{}
\cfoot{\thepage}
\renewcommand{\headrulewidth}{0pt}
% Packages for line spacing and paragraph spacing
\usepackage{setspace}
\onehalfspacing
\setlength{\parskip}{9pt} % paragraph spacing
% Packages for title formatting
\usepackage{titlesec}
% Other heading formats
\titleformat*{\section}{\fontsize{12}{18}\bfseries}
\titleformat*{\subsection}{\fontsize{12}{18}\bfseries\itshape}
\titleformat{\paragraph}[runin]{\normalfont\normalsize\bfseries}{\theparagraph}{18pt}{}
\titleformat{\subparagraph}[runin]{\normalfont\normalsize\bfseries\itshape}{\thesubparagraph}{18pt}{}
% Adjust spacing
\titlespacing*{\section}{0pt}{18pt}{18pt}
\titlespacing*{\subsection}{0pt}{18pt}{18pt}
\titlespacing{\paragraph}{0.5in}{18pt}{1em}
\titlespacing{\subparagraph}{0.5in}{18pt}{1em}
\usepackage{ragged2e}
% Set font
\usepackage{times}
% for generating dummy text
\usepackage{lipsum}
% Packages for figures, tables and their captions
\usepackage{graphicx}
\usepackage{caption}
% Packages for citation and referencing in APA style
\usepackage[style=apa,backend=biber]{biblatex}
\addbibresource{bibliography.bib} % Replace with the actual path to your .bib file
% Center the "References" heading
\defbibheading{bibliography}[\refname]{%
\section*{\centering #1}%
\markboth{#1}{#1}%
}
\begin{document}
\pagenumbering{roman} % For initial pages, use roman numbering
% Title page
\begin{titlepage}
\centering
{\bfseries\Large Individual Assignment}\\
\vspace{8 cm}
{\bfseries\LARGE Being Diligent in Becoming Digital}\\ % Title
\vspace{2cm}
\begin{tabular}{@{}l@{\hspace{1cm}}l@{}}
MBA/23/1234 & A.B.C.D.Wickramasinghe\\
Sub Group No.: & A – 8\\
\end{tabular}
\vspace{2cm}
\begin{tabular}{@{}l@{\hspace{0.5cm}}l@{}}
Course & : MBA 525: Contemporary Organisations\\
Instructor & : Prof. D. D. Dassanayake\\
Term & : January - March 2018\\
\end{tabular}
\vspace{6cm}
\Large{Postgraduate Institute of Management}\\
\small{University of Sri Jayewardenepura}\\
\vspace*{\fill}
\end{titlepage}
\newpage
\pagenumbering{roman}
\setcounter{page}{2}
\flushleft{
\textbf{Declaration for Assignment}}
\vspace{18pt}
I am fully aware of the content under plagiarism stated in the PIM Student Handbook, and I hereby declare and affirm that I have strictly observed the law relating to intellectual property, copyright, and plagiarism in this exercise. (Student Handbook, 2021.)
\vspace{3cm}
………………………………\\
A.B.C.D. Wickramasinghe\\
MBA/23/1234\\
\newpage
\pagenumbering{arabic} % Switch to Arabic numbering for the main text
\raggedright
\justifying
\begin{center}
\bfseries{\MakeUppercase{This is the Project Title of your individual assignment at postgraduate Institute of Management}}
\end{center}
\section{First Level Heading}
\lipsum[1]
\subsection{Second Level Heading}
\lipsum[2]
\vspace{18pt}
\begin{table}[htbp]
\captionsetup{
justification=raggedright,
singlelinecheck=false,
labelfont=bf, % Set the caption label (e.g., "Table 1") to bold
textfont=bf % Set the caption text to bold
}
\caption{Methods of Promoting and Restricting Trade}
\begin{tabular}{@{}ll}
\hline
\textbf{Trade Promotion} & \textbf{Trade Restrictions} \\
\hline
Subsidies & Tariffs \\
Export financing & Quotas \\
Foreign trade zones & Embargoes \\
Special government agencies & Local content requirements \\
& Administrative delays \\
& Currency controls \\
\hline
\end{tabular}
\label{tab:trade_methods}
\par\smallskip
\raggedright
\textit{Source}: Wild, J. J., \& Wild K. L. (2014, p.185).
\end{table}
\begin{figure}[htbp]
\includegraphics[width=0.7\textwidth]{Project.png}
\captionsetup{justification=raggedright,singlelinecheck=false,font={bf,small}}
\caption{Sales Trend over Time}
\label{fig:sales_data}
\par\smallskip
\raggedright
\textit{Source}: Armstrong, M. (2012, p.291).
\end{figure}
\paragraph{1.1.1 Third Level Heading.}
\lipsum[3]
\subparagraph{1.1.1.1 Fourth Level Heading.}
\lipsum[4]
\noindent This is the sample citation one.(\cite{clarke2001business}) This is the sample citation two.(\cite{lamport1986latex}) You can add more citations like that.
\printbibliography % Print the bibliography
\end{document}