\NeedsTeXFormat{LaTeX2e} \ProvidesClass{myonepage}[2025/04/09 My One Page Class] \LoadClass[a4paper, 10.5bp]{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}