From 2171135497f6825a5e7e421fc01bd0ac1aa2ca0e Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Sat, 10 Nov 2018 22:18:17 +0000
Subject: register (10nov18)

git-svn-id: svn://tug.org/texlive/trunk@49121 c570f23f-e606-0410-a88d-b1316a301751
---
 Master/texmf-dist/tex/latex/register/register.sty | 21 ++++++++++++++++++++-
 1 file changed, 20 insertions(+), 1 deletion(-)

(limited to 'Master/texmf-dist/tex/latex/register/register.sty')

diff --git a/Master/texmf-dist/tex/latex/register/register.sty b/Master/texmf-dist/tex/latex/register/register.sty
index 7e3d63a5e50..2f8440af2ec 100644
--- a/Master/texmf-dist/tex/latex/register/register.sty
+++ b/Master/texmf-dist/tex/latex/register/register.sty
@@ -22,7 +22,7 @@
 
 
 
-\ProvidesPackage{register} [2018/08/18 v1.7 Register macros with
+\ProvidesPackage{register} [2018/11/10 v1.8 Register macros with
 hyperref/LyX support]
 
 \RequirePackage{ifthen}[1997/11/02]
@@ -144,6 +144,25 @@ hyperref/LyX support]
   \setlength{\regdescsep}{\oldregdescsep}%
   \setboolean{RegisterContext}{false}%
   \end{Regfloat}}
+\newenvironment{register*}[3]
+{\begin{Regfloat}[#1]%
+   \setlength{\leftskip}{0pt}%
+   \setlength{\oldregdescsep}{\regdescsep}%
+   \setlength{\regdescsep}{0.5\baselineskip}%
+   \setlength{\partopsep}{0pt}%
+   \setlength{\topsep}{0pt}%
+   \setboolean{RegisterContext}{true}%
+   \ifthenelse{\equal{#3}{}}%
+   {\centering\textsc{#2}\\}% else
+   {\centering\textsc{#2} ({#3})\\}%
+   \centering}
+{% restore lengths
+   \leftskip\z@%
+   \rightskip\z@%
+   \parfillskip=\z@ plus 1fil%
+   \setlength{\regdescsep}{\oldregdescsep}%
+   \setboolean{RegisterContext}{false}%
+   \end{Regfloat}}
 \def\regUnderScore{_}%
 \def\regFiller#1{\def\regInner{#1}%
 \ifx\regInner\regUnderScore%
-- 
cgit v1.2.3

