texlive[65692] Master/texmf-dist: tramlines (30jan23)

commits+karl at tug.org commits+karl at tug.org
Mon Jan 30 21:50:48 CET 2023


Revision: 65692
          http://tug.org/svn/texlive?view=revision&revision=65692
Author:   karl
Date:     2023-01-30 21:50:47 +0100 (Mon, 30 Jan 2023)
Log Message:
-----------
tramlines (30jan23)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/tramlines/README
    trunk/Master/texmf-dist/doc/latex/tramlines/tramlines-documentation.pdf
    trunk/Master/texmf-dist/doc/latex/tramlines/tramlines-documentation.tex
    trunk/Master/texmf-dist/tex/latex/tramlines/tramlines.sty

Modified: trunk/Master/texmf-dist/doc/latex/tramlines/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tramlines/README	2023-01-30 20:50:36 UTC (rev 65691)
+++ trunk/Master/texmf-dist/doc/latex/tramlines/README	2023-01-30 20:50:47 UTC (rev 65692)
@@ -1,6 +1,6 @@
 tramlines - make tramlines
 
-version: 1.0.0
+version: 1.1.0
 
 This package automatically creates tramlines (lines above and below a title used by lawyers in the UK and the Commonwealth).
 
@@ -12,4 +12,7 @@
 GitHub site:  https://github.com/ezgranet/tramlines
 
 Version history: 
+29/01/2023: Updates to float composition and fixed bug with global commands. Thanks to GitHub user niruvt
+
+
 27/01/2023: package creation
\ No newline at end of file

Modified: trunk/Master/texmf-dist/doc/latex/tramlines/tramlines-documentation.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/tramlines/tramlines-documentation.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tramlines/tramlines-documentation.tex	2023-01-30 20:50:36 UTC (rev 65691)
+++ trunk/Master/texmf-dist/doc/latex/tramlines/tramlines-documentation.tex	2023-01-30 20:50:47 UTC (rev 65692)
@@ -74,11 +74,11 @@
 firstnumber=last
 ]
 {latex}
-\def\tramlinesversionnumber{1.0.0}
-\ProvidesPackage{textcsc}
-[2023/01/27\tramlinesversionnumber\
- Command for caps-to-small-caps-text]
-% This work may be distributed and/or modified under the 
+\def\tramlinesversionnumber{1.1.0}
+\ProvidesPackage{tramlines}
+[2023/01/29\tramlinesversionnumber\
+ Tramlines]
+ % This work may be distributed and/or modified under the 
 % conditions of the LaTeX Project Public License, either version 1.3c 
 % of this license or (at your option) any later version.
 % The latest version of this license is in
@@ -104,17 +104,23 @@
 % tramlines
 %%%%%%%%%%%%%%%%%%%%%%%%%%%
 %%%%%%%%%%%%%%%%%%%%%%%%%%%
-\setlength\doublerulesep{1pt}% <-- set distance between double rule
-
+\newcommand{\tramlinesep}{2pt}
 \newcommand{\tramlines}[1]{\normalsize
-\begin{table*}[ht]
+\smallskip
+\begin{center}
+\begin{minipage}{\textwidth}
 \centering
+{%notglobal
+\setlength\doublerulesep{\tramlinesep}% <-- set distance between double rule
 \begin{tabular}[t]{l c c }
 \toprule\toprule
  & #1 &  \\
 \bottomrule\bottomrule
-\end{tabular}
-\end{table*}
+\end{tabular}}
+\end{minipage}
+\end{center}
+
+\smallskip
 }
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -121,11 +127,9 @@
 %%%%%%%%%%%%%%%%%%%%%%%%%%%
 % all done
 %%%%%%%%%%%%%%%%%%%%%%%%%%%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\end{minted}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%\end{minted}
 
-\section{Version History}
-\subsection{\texttt{1.0.0}}
+\subsection*{\texttt{1.0.0}}
 
 \ttfamily 27 January 2023: Package creation
 

Modified: trunk/Master/texmf-dist/tex/latex/tramlines/tramlines.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tramlines/tramlines.sty	2023-01-30 20:50:36 UTC (rev 65691)
+++ trunk/Master/texmf-dist/tex/latex/tramlines/tramlines.sty	2023-01-30 20:50:47 UTC (rev 65692)
@@ -1,7 +1,7 @@
-\def\tramlinesversionnumber{1.0.0}
-\ProvidesPackage{textcsc}
-[2023/01/27\tramlinesversionnumber\
- Command for caps-to-small-caps-text]
+\def\tramlinesversionnumber{1.1.0}
+\ProvidesPackage{tramlines}
+[2023/01/29\tramlinesversionnumber\
+ Tramlines]
 % This work may be distributed and/or modified under the 
 % conditions of the LaTeX Project Public License, either version 1.3c 
 % of this license or (at your option) any later version.
@@ -28,17 +28,23 @@
 % tramlines
 %%%%%%%%%%%%%%%%%%%%%%%%%%%
 %%%%%%%%%%%%%%%%%%%%%%%%%%%
-\setlength\doublerulesep{1pt}% <-- set distance between double rule
-
+\newcommand{\tramlinesep}{2pt}
 \newcommand{\tramlines}[1]{\normalsize
-\begin{table*}[ht]
+\smallskip
+\begin{center}
+\begin{minipage}{\textwidth}
 \centering
+{%notglobal
+\setlength\doublerulesep{\tramlinesep}% <-- set distance between double rule
 \begin{tabular}[t]{l c c }
 \toprule\toprule
  & #1 &  \\
 \bottomrule\bottomrule
-\end{tabular}
-\end{table*}
+\end{tabular}}
+\end{minipage}
+\end{center}
+
+\smallskip
 }
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%



More information about the tex-live-commits mailing list.