texlive[44939] Master/texmf-dist: br-lex (2aug17)
commits+karl at tug.org
commits+karl at tug.org
Thu Aug 3 01:11:05 CEST 2017
Revision: 44939
http://tug.org/svn/texlive?view=revision&revision=44939
Author: karl
Date: 2017-08-03 01:11:04 +0200 (Thu, 03 Aug 2017)
Log Message:
-----------
br-lex (2aug17)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/br-lex/brlex-doc.pdf
trunk/Master/texmf-dist/doc/latex/br-lex/leis-exemplo.pdf
trunk/Master/texmf-dist/doc/latex/br-lex/leis-exemplo.tex
trunk/Master/texmf-dist/tex/latex/br-lex/br-lex.cls
Removed Paths:
-------------
trunk/Master/texmf-dist/doc/latex/br-lex/brlex-doc.tex
Modified: trunk/Master/texmf-dist/doc/latex/br-lex/brlex-doc.pdf
===================================================================
(Binary files differ)
Deleted: trunk/Master/texmf-dist/doc/latex/br-lex/brlex-doc.tex
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/br-lex/leis-exemplo.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/br-lex/leis-exemplo.tex
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/tex/latex/br-lex/br-lex.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/br-lex/br-lex.cls 2017-08-02 00:21:12 UTC (rev 44938)
+++ trunk/Master/texmf-dist/tex/latex/br-lex/br-lex.cls 2017-08-02 23:11:04 UTC (rev 44939)
@@ -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 at section[2]{\mw at tocline{1}{1.5em}{4em}{Seção~ #1}{#2}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -50,8 +57,8 @@
\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}%
More information about the tex-live-commits
mailing list