From f5c95c18a062ccbb92344c5359c929af6df0f28b Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 2 Aug 2017 23:11:04 +0000 Subject: br-lex (2aug17) git-svn-id: svn://tug.org/texlive/trunk@44939 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/br-lex/br-lex.cls | 32 +++++++++++++++++++++------ 1 file changed, 25 insertions(+), 7 deletions(-) (limited to 'Master/texmf-dist/tex/latex/br-lex') 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}% -- cgit v1.2.3