\documentclass[12pt,a4paper,twoside,fleqn]{article} \usepackage{System/team_template} \addbibresource{Assets/references.bib} % --- Load User Settings --- \input{Config/00_config.tex} \geometry{top=3.5cm, headsep=1.2cm} \begin{document} % ========================================== % First and Second Page Structure % ========================================== \ifSeparateCover % --- Separate cover mode --- \thispagestyle{cover} % Adjusting logo position at the top of the page \vspace*{0.5cm} \begin{center} \includegraphics[width=4.0cm]{logo.png} \end{center} % Pushing the title to the visual center of the page \vspace*{\stretch{1}} \begin{center} \textcolor{accentYellow}{\rule{2.5cm}{1.5pt}} % Subtle gold bridge line \vspace{0.8cm} {\Huge \textcolor{primary}{\nazaninfont\textbf{\DocTitle}}} \vspace{0.8cm} {\large \textcolor{gray}{\DocSubtitle}} \vspace{0.5cm} \textcolor{accentYellow}{\rule{2.5cm}{1.5pt}} % Subtle gold bridge line \end{center} \vspace*{\stretch{2.5}} \clearpage % End of cover page and go to the second page \vspace{0.8cm} \else \begin{center} {\Huge \textcolor{primary}{\textbf{\DocTitle}}} \vspace{0.2cm} {\medium \textcolor{gray}{\DocSubtitle}} \end{center} \vspace{0.6cm} \fi % --- Document identification table --- \begin{center} \begin{table}[h!] \centering \renewcommand{\arraystretch}{1.5} \arrayrulecolor{black} \begin{tabular}{|>{\centering\arraybackslash}p{0.3\linewidth}|>{\centering\arraybackslash}p{0.22\linewidth}|>{\centering\arraybackslash}p{0.3\linewidth}|} \hline \rowcolor{tablehead} شماره سند: \vspace{0.15cm} & نسخه: \vspace{0.15cm} & تاریخ تدوین: \vspace{0.15cm} \\ \rowcolor{tablehead} {\bfseries \DocID} & {\bfseries \lr{\DocVersion}} & {\bfseries \DocDate} \\[0.25cm] \hline \ifMultiAuthor تهیه‌کنندگان: \else تهیه‌کننده: \fi \vspace{0.15cm} & سطح محرمانگی: \vspace{0.15cm} & وضعیت: \vspace{0.15cm} \\ {\bfseries \ifDefaultAuthor پارک علم و فناوری دانشگاه صنعتی امیرکبیر \else \DocAuthor \fi} & {\bfseries \DocSecret} & {\bfseries \DocStatus} \\[0.25cm] \hline \end{tabular} \end{table} \end{center} \arrayrulecolor{black} % Adjusting the space after the table before starting the content \ifSeparateCover \vspace{0.5cm} \else \vspace{0.1cm} % Very small spacing in non-cover mode \fi % --- Automatic document indices section --- \newpage \pdfbookmark[1]{\contentsname}{toc} \tableofcontents % Table of contents \iftotalfigures \newpage \listoffigures \fi \iftotaltables \newpage \listoftables % List of tables (automatic) \fi \newpage % --------------------------------- % ========================================== % Include project content files % ========================================== \input{Content/01_project_content.tex} % Main text \ifHasAppendices \input{Content/02_appendices.tex} % Appendices \fi \ifHasGlossary \input{Content/03_glossary.tex} % Specialized glossary \fi % --- Automatic references section --- \ifHasReferences \newpage \phantomsection \addcontentsline{toc}{section}{منابع و مراجع} \nocite{*} % Print Persian references (right-aligned) \printbibliography[keyword=persian, title={منابع فارسی}] \vspace{1cm} % Print English references (left-aligned) \begin{latin} \printbibliography[keyword=english, title={\lr{English References}}, resetnumbers=true] \end{latin} \fi \clearpage % Check if the current page is odd. If so, insert a blank page % to force the back cover onto an even page (the back of the document). \ifodd\value{page} \thispagestyle{empty} \null % Insert invisible content to ensure the page isn't skipped \newpage \fi % Back Cover Layout \thispagestyle{cover} % Reusing your custom cover style for consistency \vspace*{\stretch{1}} \begin{center} \textcolor{accentYellow}{\rule{2.5cm}{1.5pt}} \vspace{0.9cm} \includegraphics[width=5.0cm]{logo.png} \vspace{0.5cm} \textcolor{accentYellow}{\rule{2.5cm}{1.5pt}} \end{center} \vspace*{\stretch{2}} \end{document}