Initial commit
This commit is contained in:
63
class/nitreport.cls
Normal file
63
class/nitreport.cls
Normal file
@@ -0,0 +1,63 @@
|
||||
\NeedsTeXFormat{LaTeX2e}
|
||||
\ProvidesClass{myreport}[2025/04/05 My Report Class]
|
||||
|
||||
\LoadClass[a4paper, 10.5bp]{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
|
||||
{\@schoolname}
|
||||
|
||||
\vspace{2cm}
|
||||
|
||||
\LARGE
|
||||
\@title
|
||||
|
||||
\vspace{0.5cm}
|
||||
|
||||
\large
|
||||
{\@department : \@subject}
|
||||
|
||||
{担当教員:\@professor}
|
||||
|
||||
\vspace{1cm}
|
||||
|
||||
{\@author ({\@studentid})}
|
||||
|
||||
\vfill
|
||||
|
||||
{\@year \@month \@day}
|
||||
\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{}
|
||||
Reference in New Issue
Block a user