Initial commit

This commit is contained in:
NIT_Report
2025-05-21 22:02:34 +09:00
commit 5beaf8abf0
51 changed files with 2210 additions and 0 deletions

50
class/nitonepage.cls Normal file
View File

@@ -0,0 +1,50 @@
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{myonepage}[2025/05/07 My One Page 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}
\RequirePackage{ragged2e}
\DeclareOption{left-aligned-title}{\newenvironment{thealign}{\begin{FlushLeft}}{\end{FlushLeft}}}
\DeclareOption{center-aligned-title}{\newenvironment{thealign}{\begin{Center}}{\end{Center}}}
\DeclareOption{right-aligned-title}{\newenvironment{thealign}{\begin{FlushRight}}{\end{FlushRight}}}
\ProcessOptions\relax
\newcommand{\titleheading}{
\begin{thealign}
\Huge
{\rmfamily \getreporttitle}
\vspace{-8mm}
\normalsize
{\rmfamily \getreportdate}
{\rmfamily \getprofessor}
\end{thealign}
}
\RequirePackage{fancyhdr}
\pagestyle{fancy}
\fancyhf{}
\lhead{\getreportauthor (\getstudentid)}
\chead{\getschoolname}
\rhead{\getsubject}
\lfoot{\footnotesize Made With \LaTeX{} + vim}
\cfoot{}
\rfoot{\footnotesize \compiledTime}