Initial commit

This commit is contained in:
NIT_Report
2025-07-10 10:23:35 +09:00
commit e2d2e70dfb
51 changed files with 2210 additions and 0 deletions

48
packages/mycommands.sty Normal file
View File

@@ -0,0 +1,48 @@
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{mycommands}[2025/04/09 My Commands Config]
\usepackage{luacode}
\newcommand{\reporttitle}[1]{
\def\@title{#1}
\title{#1}
}
\newcommand{\reportauthor}[1]{
\def\@author{#1}
\author{#1}
}
\newcommand{\reportdate}[3]{
\def\@year{#1}
\def\@month{#2}
\def\@day{#3}
\date{\@year \@month \@day}
}
\newcommand{\turnindate}[3]{
\def\@turninyear{#1}
\def\@turninmonth{#2}
\def\@turninday{#3}
\date{\@turninyear \@turninmonth \@turninday}
}
\newcommand{\schoolname}[1]{\def\@schoolname{#1}}
\newcommand{\studentid}[1]{\def\@studentid{#1}}
\newcommand{\seatingnum}[1]{\def\@seatingnum{#1}}
\newcommand{\department}[1]{\def\@department{#1}}
\newcommand{\subject}[1]{\def\@subject{#1}}
\newcommand{\professor}[1]{\def\@professor{#1}}
\newcommand{\getreportauthor}{\@author}
\newcommand{\getreportdate}{\@year \@month \@day}
\newcommand{\getturnindate}{\@turninyear \@turninmonth \@turninday}
\newcommand{\getreporttitle}{\@title}
\newcommand{\getschoolname}{\@schoolname}
\newcommand{\getstudentid}{\@studentid}
\newcommand{\getseatingnum}{\@seatingnum}
\newcommand{\getdepartment}{\@department}
\newcommand{\getsubject}{\@subject}
\newcommand{\getprofessor}{\@professor}
\newcommand{\compiledTime}{\directlua{tex.sprint("Last Compiled(UN*X Time): " .. tostring(os.time()))}}