%==============================================================================
%  Malaysian Journal of Multidisciplinary Studies (MyJMS)
%  Manuscript Template  ·  One Column  ·  APA 7th Edition style
%
%  Compiles out-of-the-box with pdfLaTeX on Overleaf or any TeX Live install.
%  References below use a manual `thebibliography` in APA style so no external
%  .bst is required. If you prefer automated APA citations, comment out the
%  manual bibliography and use one of the options noted near the References.
%==============================================================================
\documentclass[12pt,a4paper,oneside]{article}

\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{times}                 % Times-like serif font (APA)
\usepackage[margin=1in]{geometry}  % 1-inch margins
\usepackage{setspace}              % line spacing
\usepackage{titlesec}              % heading formatting
\usepackage{hyperref}
\usepackage{graphicx}
\usepackage{booktabs}
\usepackage{caption}
\usepackage{fancyhdr}
\usepackage{xcolor}

\definecolor{myjmsteal}{HTML}{0D5257}
\hypersetup{colorlinks=true, linkcolor=myjmsteal, citecolor=myjmsteal, urlcolor=myjmsteal}

% --- APA-like heading levels -------------------------------------------------
% Level 1: centered, bold, Title Case
\titleformat{\section}{\normalfont\bfseries\centering}{\thesection}{1em}{}
% Level 2: flush left, bold
\titleformat{\subsection}{\normalfont\bfseries}{\thesubsection}{1em}{}
% Level 3: flush left, bold italic
\titleformat{\subsubsection}{\normalfont\bfseries\itshape}{\thesubsubsection}{1em}{}
\setcounter{secnumdepth}{0}   % APA headings are unnumbered

% Running header
\pagestyle{fancy}
\fancyhf{}
\rhead{\footnotesize\textcolor{gray}{Malaysian Journal of Multidisciplinary Studies (MyJMS)}}
\cfoot{\footnotesize\textcolor{gray}{\thepage}}
\renewcommand{\headrulewidth}{0.4pt}

\setstretch{2}   % double spacing (APA). Change to 1.5 if the journal advises.
\setlength{\parindent}{0.5in}

\begin{document}

%============================ TITLE PAGE =======================================
\thispagestyle{fancy}
\begin{center}
  {\small\textcolor{myjmsteal}{\textbf{MALAYSIAN JOURNAL OF MULTIDISCIPLINARY STUDIES (MyJMS)}}}\\[2pt]
  {\small\textcolor{gray}{Manuscript Template · One Column · APA 7th Edition}}\\[3\baselineskip]

  {\Large\bfseries Title of the Manuscript: Concise, Specific, and Informative (Title Case)}\\[2\baselineskip]

  First A. Author\textsuperscript{1}, Second B. Author\textsuperscript{2}, and Third C. Author\textsuperscript{1}\\[1\baselineskip]

  {\small \textsuperscript{1} Department, Faculty, University, City, Country}\\
  {\small \textsuperscript{2} Department, Faculty, University, City, Country}\\
  {\small\textcolor{gray}{ORCID (each author, if available): https://orcid.org/0000-0000-0000-0000}}
\end{center}

\vspace{2\baselineskip}
\begin{center}\textbf{Author Note}\end{center}
Correspondence concerning this article should be addressed to First A. Author,
Department, University, City, Postcode, Country. Email: author@example.com

\medskip
\noindent\textit{\textcolor{gray}{Provide funding sources, conflict-of-interest declarations, data-availability
statements, and (if applicable) a declaration of generative-AI use here or in the Acknowledgements.
Delete all grey guidance text before submission.}}

\newpage

%============================ ABSTRACT ========================================
\begin{center}\textbf{Abstract}\end{center}
\noindent
Provide a single-paragraph abstract of 200--250 words. Do not indent the first line.
Summarise the purpose of the study, the methods used, the principal results, and the
main conclusions. The abstract should be self-contained and free of citations,
abbreviations, and undefined jargon.

\medskip
\noindent\textit{Keywords:} keyword one; keyword two; keyword three; keyword four
(4--6 keywords, separated by semicolons)

\newpage

%============================ BODY ============================================
\begin{center}\textbf{Title of the Manuscript: Concise, Specific, and Informative (Title Case)}\end{center}

\section{Introduction}
Introduce the research problem and its significance. Establish the context by reviewing
relevant background, articulate the gap your study addresses, and state your aim, research
questions, or hypotheses. Cite sources in APA 7 author--date style, for example
(Author, 2024) or Author (2024).

\section{Literature Review}
Synthesise prior work relevant to your study. Group sources thematically rather than
describing them one by one, and make explicit how your work extends, challenges, or fills
a gap in the existing literature.

\subsection{Sub-theme (Level 2 Heading)}
Use second-level headings to organise distinct strands of the literature or sub-topics of
your argument.

\section{Methodology}
Describe the research design, participants or data sources, materials or instruments, and
the procedure in enough detail that the study could be replicated. State any ethical
approvals obtained.

\subsection{Participants / Data}
Describe the sample, dataset, or corpus, including size, selection criteria, and relevant
characteristics.

\subsection{Procedure}
Describe how the study was carried out, step by step, including any tools, software, or
analytical techniques used.

\section{Results}
Report the findings objectively, without interpretation. Refer to every table and figure
in the text (e.g., ``as shown in Table~1''). Number tables and figures sequentially.

% Example table -------------------------------------------------------------
\begin{table}[h]
\centering
\caption{Example table caption in APA style.}
\begin{tabular}{@{}lcc@{}}
\toprule
Variable & Group A & Group B \\
\midrule
Measure 1 & 0.00 & 0.00 \\
Measure 2 & 0.00 & 0.00 \\
\bottomrule
\end{tabular}
\end{table}

\section{Discussion}
Interpret the results in light of your research questions and the existing literature.
Explain what the findings mean, why they matter, and how they relate to prior work.
Acknowledge limitations and their implications.

\section{Conclusion}
Summarise the key contributions, state the main conclusions, and suggest directions for
future research. Do not introduce new results here.

\section{Acknowledgements}
Acknowledge funding, institutional support, or individuals who contributed but do not meet
the criteria for authorship. Declare any conflicts of interest.

\section*{Declaration of Generative AI in the Writing Process}
\addcontentsline{toc}{section}{Declaration of Generative AI}
If generative-AI or AI-assisted tools were used in preparing this manuscript, state here
which tool was used and for what purpose (e.g., ``The authors used [Tool] to improve the
readability of the text''). The authors reviewed and edited the output and take full
responsibility for the content. Omit this section if no such tools were used beyond basic
grammar and spell-checking.

%============================ REFERENCES ======================================
% APA 7 references. The manual list below compiles anywhere. For automated APA
% citations, you may instead use:  \usepackage[natbibapa]{apacite}  with a .bib file,
% or biblatex:  \usepackage[style=apa]{biblatex}.
\newpage
\begin{center}\textbf{References}\end{center}
\begin{list}{}{\setlength{\leftmargin}{0.5in}\setlength{\itemindent}{-0.5in}\setlength{\itemsep}{0pt}}
\item Author, A. A., \& Author, B. B. (2024). Title of the journal article in sentence case.
      \textit{Malaysian Journal of Multidisciplinary Studies, 1}(1), 1--15. https://doi.org/10.xxxx/xxxxx
\item Author, C. C. (2023). \textit{Title of the book in sentence case} (2nd ed.). Publisher.
\item Author, D. D. (2022). Title of the chapter. In E. E. Editor (Ed.),
      \textit{Title of the edited book} (pp. 45--67). Publisher.
\item Author, F. F. (2021, June 12). \textit{Title of the web page or report}. Site or
      Organisation Name. https://www.example.com/page
\end{list}

%============================ APPENDIX ========================================
\newpage
\section{Appendix A}
\begin{center}\textbf{Title of Appendix}\end{center}
Include supplementary material here --- questionnaires, extended tables, code listings, or
additional figures. If there is more than one appendix, label them Appendix A, Appendix B,
and so on, and refer to each in the main text.

\end{document}
