texlive[44842] Master/texmf-dist: br-lex (18jul17)

commits+karl at tug.org commits+karl at tug.org
Tue Jul 18 23:37:16 CEST 2017


Revision: 44842
          http://tug.org/svn/texlive?view=revision&revision=44842
Author:   karl
Date:     2017-07-18 23:37:16 +0200 (Tue, 18 Jul 2017)
Log Message:
-----------
br-lex (18jul17)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/br-lex/brlex-doc.pdf
    trunk/Master/texmf-dist/doc/latex/br-lex/brlex-doc.tex
    trunk/Master/texmf-dist/doc/latex/br-lex/leis-exemplo.pdf
    trunk/Master/texmf-dist/tex/latex/br-lex/br-lex.cls

Modified: trunk/Master/texmf-dist/doc/latex/br-lex/brlex-doc.pdf
===================================================================
(Binary files differ)

Modified: 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/tex/latex/br-lex/br-lex.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/br-lex/br-lex.cls	2017-07-18 21:37:01 UTC (rev 44841)
+++ trunk/Master/texmf-dist/tex/latex/br-lex/br-lex.cls	2017-07-18 21:37:16 UTC (rev 44842)
@@ -18,7 +18,7 @@
   % brlex-doc.pdf and leis-exemplo.pdf
 
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesClass{br-lex}[2017/07/15]
+\ProvidesClass{br-lex}[2017/07/17]
 \LoadClassWithOptions{mwbk}
 \RequirePackage{indentfirst}
 \RequirePackage[normalem]{ulem}
@@ -33,6 +33,10 @@
 
 \renewcommand{\thesection}{\Roman{section}}
 
+%%%SECTION IN TOC%%%%
+\renewcommand*\l at section[2]{\mw at tocline{1}{1.5em}{4em}{Seção~ #1}{#2}}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
 %\RequirePackage{hyperref}
 %\RequirePackage[all]{nowidow}
 
@@ -124,6 +128,7 @@
 
 \newcounter{artigo}
 \newcommand{\artigo}{\refstepcounter{artigo} % 
+	\par
 	\ifnum\theartigo<10 %
 	{\bfseries Art.~\arabic{artigo}º~~}%
 	\else
@@ -137,16 +142,23 @@
 \newcommand{\paragrafo}{\refstepcounter{paragrafo} %
 	\par 
 	\ifnum\theparagrafo<10 %
-	\S~\arabic{paragrafo}º~%
+	\hangindent=2em \hangafter=0 \S~\arabic{paragrafo}º~%
 	\else
-	\S~\arabic{paragrafo}~%
+	\hangindent=2em \hangafter=0 \S~\arabic{paragrafo}~%
 	\fi
 }
 
+\newcommand{\paragrafounico}{\hangindent=2em \hangafter=0 Parágrafo único.\enspace}
 
+
 \newcounter{inciso}[paragrafo]
 \newcommand{\inciso}{\refstepcounter{inciso} % 
-\par 
+\par
+\ifnum\theparagrafo=0
+\hangindent=2em \hangafter=0
+\else 
+\hangindent=3.5em \hangafter=0
+\fi 
 \Roman{inciso} --- 
 }
 
@@ -155,13 +167,13 @@
 \newcounter{alinea}[inciso]
 \newcommand{\alinea}{\refstepcounter{alinea} %
 \par 
-\leftskip=2em	\alph{alinea}) 
+ \hangindent=5em  \hangafter=0	\alph{alinea}) 
 }
 
 \newcounter{itens}[alinea]
 \newcommand{\itens}{\refstepcounter{itens} % 
 \par 
-\leftskip=3em	\arabic{itens}. 
+ \hangindent=6.5em \hangafter=0	\arabic{itens}. 
 }
 
 



More information about the tex-live-commits mailing list