Initial commit

This commit is contained in:
NIT_Report
2025-07-15 13:16:51 +09:00
commit 1cc0c43954
51 changed files with 2210 additions and 0 deletions

78
class/nitreport.cls Normal file
View File

@@ -0,0 +1,78 @@
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{myreport}[2025/05/07 My Report Class]
\LoadClass[
lualatex,
a4paper,
article,
fontsize=11pt,
line_length=42zw,
jlreq_warnings
]{jlreq}
\RequirePackage{../packages/mybibs}
\RequirePackage{../packages/mycodelistings}
\RequirePackage{../packages/mygraphics}
\RequirePackage{../packages/myfonts}
\RequirePackage{../packages/mypagesetup}
\RequirePackage{../packages/mycommands}
\newcommand{\coverpage}{
\begin{titlepage}
\thispagestyle{empty}
\begin{center}
\vspace*{0.25cm}
\includegraphics[height=5cm]{./assets/school-symbol.png}
\vspace{1cm}
\Huge
{\getschoolname}
\vspace{0.75cm}
\LARGE
{\getreporttitle}
\vspace{0.5cm}
\large
{\getdepartment : \getsubject}
{\getprofessor}
\vspace{0.5cm}
{\getreportauthor}
\vspace{-0.25cm}
{({\getstudentid} {\getseatingnum})}
\vfill
{\getturnindate}
{\getreportdate}
\vspace{0.25cm}
\end{center}
\begin{flushleft}
\footnotesize
Made with \LaTeX{} + vim
\end{flushleft}
\end{titlepage}
}
\RequirePackage{fancyhdr}
\pagestyle{fancy}
%\renewcommand{\headwidth}{240mm}
\fancyhf{}
\lhead{\@author}
\chead{\@title $-$ \leftmark}
\rhead{\@subject}
\lfoot{\footnotesize Made With \LaTeX{} + vim}
\cfoot{\thepage}
\rfoot{}