Organize classes
This commit is contained in:
24
include/bookreport.cls
Normal file
24
include/bookreport.cls
Normal 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
13
include/note.cls
Normal 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}
|
||||
}
|
Reference in New Issue
Block a user