texlive[65660] Master: tramlines (28jan23)

commits+karl at tug.org commits+karl at tug.org
Sat Jan 28 22:08:00 CET 2023


Revision: 65660
          http://tug.org/svn/texlive?view=revision&revision=65660
Author:   karl
Date:     2023-01-28 22:08:00 +0100 (Sat, 28 Jan 2023)
Log Message:
-----------
tramlines (28jan23)

Modified Paths:
--------------
    trunk/Master/tlpkg/bin/tlpkg-ctan-check
    trunk/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc

Added Paths:
-----------
    trunk/Master/texmf-dist/doc/latex/tramlines/
    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/
    trunk/Master/texmf-dist/tex/latex/tramlines/tramlines.sty
    trunk/Master/tlpkg/tlpsrc/tramlines.tlpsrc

Added: trunk/Master/texmf-dist/doc/latex/tramlines/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tramlines/README	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tramlines/README	2023-01-28 21:08:00 UTC (rev 65660)
@@ -0,0 +1,15 @@
+tramlines - make tramlines
+
+version: 1.0.0
+
+This package automatically creates tramlines (lines above and below a title used by lawyers in the UK and the Commonwealth).
+
+This work may be distributed and/or modified under the conditions of the
+LaTeX Project Public License (LPPL), version 1.3c or later. 
+
+
+For suggestions, feature requests, and bug reports, please use the project's
+GitHub site:  https://github.com/ezgranet/tramlines
+
+Version history: 
+27/01/2023: package creation
\ No newline at end of file


Property changes on: trunk/Master/texmf-dist/doc/latex/tramlines/README
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tramlines/tramlines-documentation.pdf
===================================================================
(Binary files differ)

Index: trunk/Master/texmf-dist/doc/latex/tramlines/tramlines-documentation.pdf
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tramlines/tramlines-documentation.pdf	2023-01-28 21:07:06 UTC (rev 65659)
+++ trunk/Master/texmf-dist/doc/latex/tramlines/tramlines-documentation.pdf	2023-01-28 21:08:00 UTC (rev 65660)

Property changes on: trunk/Master/texmf-dist/doc/latex/tramlines/tramlines-documentation.pdf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/pdf
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tramlines/tramlines-documentation.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tramlines/tramlines-documentation.tex	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tramlines/tramlines-documentation.tex	2023-01-28 21:08:00 UTC (rev 65660)
@@ -0,0 +1,133 @@
+\documentclass[12pt]{article}
+\usepackage{textcsc}
+\usepackage{tramlines}
+\usepackage{xcolor}
+\usepackage{fontspec}\definecolor{darkspringgreen}{rgb}{0.09, 0.45, 0.27}
+\definecolor{dsg}{rgb}{0.09, 0.45, 0.27}
+
+\usepackage{titlesec}
+\titleformat{\subsection}
+  {\bfseries}{\thesection.\thesubsection}{1em}{\normalfont\bfseries}
+\usepackage[hidelinks]{hyperref}
+\usepackage{hologo}
+\usepackage[british]{babel}
+\usepackage[useregional]{datetime2}
+\DTMlangsetup[en-GB]{ord=omit}
+\definecolor{LightGray}{gray}{0.9}
+%\usepackage{mathpazo}
+\IfFontExistsTF{Palatine Parliamentary}{%
+\setromanfont[SmallCapsFeatures={LetterSpace=10},
+RawFeature={+calt,+hlig,+liga,+dlig,+onum,+pnum},
+BoldFont={Palatine Parliamentary Bold},
+ItalicFont={Palatine Parliamentary Italic}
+]{Palatine Parliamentary Regular}
+}{\setromanfont[RawFeature={+onum,+pnum}]{TeX Gyre PagellaX}}
+\setmonofont[Scale=.9,BoldFont=Source Code Pro Bold]{Source Code Pro}
+
+\usepackage{minted}
+\date{\today\\\smallskip\ttfamily Version \tramlinesversionnumber}
+\author{Elijah Z Granet\thanks{e-mail: \href{mailto:ezg21 at cantab.ac.uk}{\ttfamily ezg21 at cantab.ac.uk}}}
+
+\title{\texttt{tramlines}:\\A package for  tramlines}
+\begin{document}
+\maketitle
+\tableofcontents
+\clearpage
+\section{Overview}
+Legal documents in the UK are generally headed with \textit{inter alia} the title of the document outlined and separated by lines the length of the title. These lines are known by lawyers as `tramlines'. For example, one might see:
+
+\tramlines{Defendant's Supplementary Bundle}
+
+This package enables the easy use of tramlines with a single command, {\color{dsg}\verb!\tramlines{}!}. All the user needs to do is put the desired content in that command, which then produces tramlines with a nice double rule.  For example, the command 
+\begin{minted}[
+frame=lines,
+framesep=2mm,
+baselinestretch=1.2,
+bgcolor=LightGray,
+fontsize=\footnotesize,
+linenos,
+breaklines,
+firstnumber=last
+]
+{latex}
+\tramlines{Skeleton Argument on Behalf of the Respondent} 
+\end{minted}
+
+
+produces the following result:
+\tramlines{Skeleton Argument on Behalf of the Respondent}
+
+\section{Development}
+Bugs, feature requests, \textit{etc}, should be submitted to the project's official Githup page: (\url{github.com/ezgranet/tramlines}).
+\section{Licence}
+	This project is licensed under the Latex Public Project Licence version 1.3\textit{c}. This documentation is copyright of the author but licensed under \textcsc{CC-BY-SA} 3.0.
+	\clearpage 
+\section{Implementation}
+\begin{minted}[
+frame=lines,
+framesep=2mm,
+baselinestretch=1.2,
+bgcolor=LightGray,
+fontsize=\footnotesize,
+linenos,
+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 
+% 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
+%   http://www.latex-project.org/lppl.txt
+% and version 1.3c or later is part of all distributions of LaTeX 
+% version 2005/12/01 or later.
+%s
+% This work has the LPPL maintenance status `maintained'.
+%
+% The Current Maintainer of this work is Elijah Z Granet
+%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% DEPENDENCIES
+%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\RequirePackage{booktabs}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% tramlines
+%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\setlength\doublerulesep{1pt}% <-- set distance between double rule
+
+\newcommand{\tramlines}[1]{\normalsize
+\begin{table*}[ht]
+\centering
+\begin{tabular}[t]{l c c }
+\toprule\toprule
+ & #1 &  \\
+\bottomrule\bottomrule
+\end{tabular}
+\end{table*}
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% all done
+%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\end{minted}
+
+\section{Version History}
+\subsection{\texttt{1.0.0}}
+
+\ttfamily 27 January 2023: Package creation
+
+	
+\end{document}
\ No newline at end of file


Property changes on: trunk/Master/texmf-dist/doc/latex/tramlines/tramlines-documentation.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/tex/latex/tramlines/tramlines.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tramlines/tramlines.sty	                        (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/tramlines/tramlines.sty	2023-01-28 21:08:00 UTC (rev 65660)
@@ -0,0 +1,48 @@
+\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 
+% 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
+%   http://www.latex-project.org/lppl.txt
+% and version 1.3c or later is part of all distributions of LaTeX 
+% version 2005/12/01 or later.
+%s
+% This work has the LPPL maintenance status `maintained'.
+%
+% The Current Maintainer of this work is Elijah Z Granet
+%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% DEPENDENCIES
+%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\RequirePackage{booktabs}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% tramlines
+%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\setlength\doublerulesep{1pt}% <-- set distance between double rule
+
+\newcommand{\tramlines}[1]{\normalsize
+\begin{table*}[ht]
+\centering
+\begin{tabular}[t]{l c c }
+\toprule\toprule
+ & #1 &  \\
+\bottomrule\bottomrule
+\end{tabular}
+\end{table*}
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% all done
+%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ No newline at end of file


Property changes on: trunk/Master/texmf-dist/tex/latex/tramlines/tramlines.sty
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/tlpkg/bin/tlpkg-ctan-check
===================================================================
--- trunk/Master/tlpkg/bin/tlpkg-ctan-check	2023-01-28 21:07:06 UTC (rev 65659)
+++ trunk/Master/tlpkg/bin/tlpkg-ctan-check	2023-01-28 21:08:00 UTC (rev 65660)
@@ -825,7 +825,7 @@
     topfloat topiclongtable topletter toptesi
     totalcount totcount totpages
     tpic2pdftex tpslifonts tqft
-    tracklang trajan tram
+    tracklang trajan tram tramlines
     translation-array-fr
     translation-arsclassica-de translation-biblatex-de translation-chemsym-de
     translation-dcolumn-fr

Modified: trunk/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc
===================================================================
--- trunk/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc	2023-01-28 21:07:06 UTC (rev 65659)
+++ trunk/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc	2023-01-28 21:08:00 UTC (rev 65660)
@@ -1349,6 +1349,7 @@
 depend totalcount
 depend totcount
 depend totpages
+depend tramlines
 depend translations
 depend transparent
 depend trfsigns

Added: trunk/Master/tlpkg/tlpsrc/tramlines.tlpsrc
===================================================================


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