summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/br-lex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-08-02 23:11:04 +0000
committerKarl Berry <karl@freefriends.org>2017-08-02 23:11:04 +0000
commitf5c95c18a062ccbb92344c5359c929af6df0f28b (patch)
treea7f2486a4d24101a9eb1a2b81a8fd95f2f938cb4 /Master/texmf-dist/tex/latex/br-lex
parent24a042b903dd93dc8828fba4fd6e992d1489b4ab (diff)
br-lex (2aug17)
git-svn-id: svn://tug.org/texlive/trunk@44939 c570f23f-e606-0410-a88d-b1316a301751
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}%