summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/tramlines
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/tramlines')
-rw-r--r--macros/latex/contrib/tramlines/README5
-rw-r--r--macros/latex/contrib/tramlines/tramlines-documentation.pdfbin44978 -> 58619 bytes
-rw-r--r--macros/latex/contrib/tramlines/tramlines-documentation.tex32
-rw-r--r--macros/latex/contrib/tramlines/tramlines.sty24
4 files changed, 37 insertions, 24 deletions
diff --git a/macros/latex/contrib/tramlines/README b/macros/latex/contrib/tramlines/README
index e3dfeb4ebe..b252d9323a 100644
--- a/macros/latex/contrib/tramlines/README
+++ b/macros/latex/contrib/tramlines/README
@@ -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 @@ For suggestions, feature requests, and bug reports, please use the project's
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
diff --git a/macros/latex/contrib/tramlines/tramlines-documentation.pdf b/macros/latex/contrib/tramlines/tramlines-documentation.pdf
index 79938ccd51..e9d9c9d6d9 100644
--- a/macros/latex/contrib/tramlines/tramlines-documentation.pdf
+++ b/macros/latex/contrib/tramlines/tramlines-documentation.pdf
Binary files differ
diff --git a/macros/latex/contrib/tramlines/tramlines-documentation.tex b/macros/latex/contrib/tramlines/tramlines-documentation.tex
index 5b9c304601..f39e7ba70c 100644
--- a/macros/latex/contrib/tramlines/tramlines-documentation.tex
+++ b/macros/latex/contrib/tramlines/tramlines-documentation.tex
@@ -74,11 +74,11 @@ breaklines,
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,28 +104,32 @@ firstnumber=last
% 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
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 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
diff --git a/macros/latex/contrib/tramlines/tramlines.sty b/macros/latex/contrib/tramlines/tramlines.sty
index 4bfa700fb1..f3288a8d1f 100644
--- a/macros/latex/contrib/tramlines/tramlines.sty
+++ b/macros/latex/contrib/tramlines/tramlines.sty
@@ -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
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%