cabinet/bookreport.cls

26 lines
485 B
TeX

\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{bookreport}[2022/3/12 Book Report]
\LoadClass{article}
\usepackage{iflang}
\usepackage[margin=1in]{geometry}
\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}
}
}