-
Notifications
You must be signed in to change notification settings - Fork 0
/
livroabertoem.cls
91 lines (79 loc) · 1.98 KB
/
livroabertoem.cls
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
\def\fileversion{v2.0}
\def\filename{livroabertoem}
\def\filetitle{Livro Aberto class}
\def\filedate{2021/07/21}
\def\docdate{2021/07/21}
\def\aluno{1}
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{\filename}
\pdfvariable minorversion=6
\LoadClass{memoir}
\def\input@path{
{definitions/}
{class-options}
{figures}
{resources}
{resources/figures}
{resources/fonts}
}
% \RequirePackage{multicol}
\RequirePackage{xstring}
\RequirePackage{comment} % Comando excludecomment para remover os comandos do material do professor
\RequirePackage{xpatch}
\RequirePackage{paracol}
\RequirePackage{ragged2e}
\newif\iffonts\fontstrue
\newif\ifdraft\draftfalse
\newif\ifparacol\paracolfalse
\newif\ifteacher\teacherfalse
\newif\ifnofooter\nofooterfalse
\newif\iftcolorbox\tcolorboxfalse
\newif\ifteacherpage\teacherpagefalse
\newif\ifteacherpnum\teacherpnumfalse
\newif\ifsinglechapter\singlechapterfalse
\newif\ifpnumberswitch\pnumberswitchfalse
\newif\ifteachersection\teachersectionfalse
\newif\ifafterteacherintroduction\afterteacherintroductionfalse
\DeclareOption{draft}{
\nofootertrue\drafttrue
}
\DeclareOption{rascunho}{
\nofootertrue\drafttrue
}
\DeclareOption{nofonts}{
\fontsfalse
}
\DeclareOption{singlechapter}{
\singlechaptertrue
}
\ProcessOptions%
\input{definitions/la-color.tex}
\input{definitions/la-pageconfig.tex}
\input{definitions/la-section.tex}
\input{definitions/la-toc.tex}
\input{definitions/la-environments.tex}
\input{definitions/la-credits.tex}
\input{definitions/la-chapter.tex}
\input{definitions/la-volume.tex}
\input{definitions/la-fonts.tex}
\input{definitions/la-floats.tex}
\DeclareOption{teacher}{
\teachertrue
\input{class-options/la-professor.tex}
}
\DeclareOption{professor}{
\teachertrue
\input{class-options/la-professor.tex}
}
\DeclareOption{nofooter}{%
\nofootertrue%
}
\ProcessOptions%
\ifteacher\else
\excludecomment{teacherpage}
\excludecomment{teacher}
\excludecomment{teacher*}
\excludecomment{teachersection}
\excludecomment{teacherintroduction}
\fi
\endinput