summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Master/texmf-dist/doc/latex/tramlines/README5
-rw-r--r--Master/texmf-dist/doc/latex/tramlines/tramlines-documentation.pdfbin44978 -> 58619 bytes
-rw-r--r--Master/texmf-dist/doc/latex/tramlines/tramlines-documentation.tex32
-rw-r--r--Master/texmf-dist/tex/latex/tramlines/tramlines.sty24
4 files changed, 37 insertions, 24 deletions
diff --git a/Master/texmf-dist/doc/latex/tramlines/README b/Master/texmf-dist/doc/latex/tramlines/README
index e3dfeb4ebee..b252d9323ac 100644
--- a/Master/texmf-dist/doc/latex/tramlines/README
+++ b/Master/texmf-dist/doc/latex/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/Master/texmf-dist/doc/latex/tramlines/tramlines-documentation.pdf b/Master/texmf-dist/doc/latex/tramlines/tramlines-documentation.pdf
index 79938ccd510..e9d9c9d6d9e 100644
--- a/Master/texmf-dist/doc/latex/tramlines/tramlines-documentation.pdf
+++ b/Master/texmf-dist/doc/latex/tramlines/tramlines-documentation.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/tramlines/tramlines-documentation.tex b/Master/texmf-dist/doc/latex/tramlines/tramlines-documentation.tex
index 5b9c3046010..f39e7ba70cc 100644
--- a/Master/texmf-dist/doc/latex/tramlines/tramlines-documentation.tex
+++ b/Master/texmf-dist/doc/latex/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/Master/texmf-dist/tex/latex/tramlines/tramlines.sty b/Master/texmf-dist/tex/latex/tramlines/tramlines.sty
index 4bfa700fb19..f3288a8d1ff 100644
--- a/Master/texmf-dist/tex/latex/tramlines/tramlines.sty
+++ b/Master/texmf-dist/tex/latex/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
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%