Organize classes

This commit is contained in:
Augusto Gunsch
2022-02-14 15:33:39 -03:00
parent a016599abc
commit 22765e7601
3 changed files with 12 additions and 4 deletions

24
include/bookreport.cls Normal file
View File

@@ -0,0 +1,24 @@
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{bookreport}[2022/3/12 Book Report]
\LoadClass{note}
\usepackage{iflang}
\renewcommand{\maketitle}{
\IfLanguageName{portuguese}
{
\noindent\large
Título: \hfill \@title\\
Autor: \hfill \@author\\
Data da Ficha: \hfill \@date\\
\rule{\textwidth}{0.4pt}
}
{
\noindent\large
Title: \hfill \@title\\
Author: \hfill \@author\\
Report Date: \hfill \@date\\
\rule{\textwidth}{0.4pt}
}
}

13
include/note.cls Normal file
View File

@@ -0,0 +1,13 @@
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{note}[2022/3/14 Note]
\LoadClass{article}
\usepackage[margin=1in]{geometry}
\newcommand{\noteheader}[1]{
\noindent\large
\begin{center}
#1
\end{center}
}