summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/br-lex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/br-lex')
-rw-r--r--Master/texmf-dist/tex/latex/br-lex/br-lex.cls32
1 files changed, 25 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/latex/br-lex/br-lex.cls b/Master/texmf-dist/tex/latex/br-lex/br-lex.cls
index 645ef073ada..4e27afb119c 100644
--- a/Master/texmf-dist/tex/latex/br-lex/br-lex.cls
+++ b/Master/texmf-dist/tex/latex/br-lex/br-lex.cls
@@ -18,11 +18,16 @@
% brlex-doc.pdf and leis-exemplo.pdf
\NeedsTeXFormat{LaTeX2e}
-\ProvidesClass{br-lex}[2017/07/17]
+\ProvidesClass{br-lex}[2017/08/01]
\LoadClassWithOptions{mwbk}
-\RequirePackage{indentfirst}
\RequirePackage[normalem]{ulem}
+\widowpenalty 1000
+\clubpenalty 1000
+\displaywidowpenalty 1000
+
+
+
\SetSectionFormatting{section}
{12pt}
{\centering\large\textbf{\ifHeadingNumbered
@@ -33,6 +38,8 @@
\renewcommand{\thesection}{\Roman{section}}
+\renewcommand{\thechapter}{\Roman{chapter}}
+
%%%SECTION IN TOC%%%%
\renewcommand*\l@section[2]{\mw@tocline{1}{1.5em}{4em}{Seção~ #1}{#2}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -50,7 +57,7 @@
\RequirePackage[brazil]{babel}
\fi
-
+\RequirePackage{textcase}
%%risca partes do texto
\newcommand{\cortado}[1]{\sout{#1}}
@@ -86,19 +93,30 @@
%{6pt}
-\widowpenalty 1000
-\clubpenalty 1000
-\displaywidowpenalty 1000
\SetSectionFormatting[wholewidth]{chapter}
{12pt}
{\FormatRigidChapterHeading{4\baselineskip}{0pt}%
- {\centering\large\@chapapp\space}{\Large}}
+ {\centering\large\MakeUppercase\@chapapp\space}{\Large\MakeUppercase}}
{\baselineskip}
}
+%%%capítulos em maiúsculas
+
+\SetSectionFormatting[breakbefore,wholewidth]{chapter}
+{12pt}
+{\FormatRigidChapterHeading{4\baselineskip}{0pt}%
+ {\centering\large\MakeUppercase\@chapapp\space}{\Large\MakeUppercase}}
+{\baselineskip}
+
+
+
+%%%%%
+
+
+
\DeclareOption{paragrafoespaco}{%
\setlength{\parskip}{8pt}%
\setlength{\parindent}{0pt}%