texlive[69007] Master/texmf-dist: coolfn (30nov23)
commits+karl at tug.org
commits+karl at tug.org
Thu Nov 30 22:05:02 CET 2023
Revision: 69007
https://tug.org/svn/texlive?view=revision&revision=69007
Author: karl
Date: 2023-11-30 22:05:02 +0100 (Thu, 30 Nov 2023)
Log Message:
-----------
coolfn (30nov23)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/coolfn/README
trunk/Master/texmf-dist/doc/latex/coolfn/coolfndocumentation.pdf
trunk/Master/texmf-dist/doc/latex/coolfn/coolfndocumentation.tex
trunk/Master/texmf-dist/tex/latex/coolfn/coolfn.sty
Modified: trunk/Master/texmf-dist/doc/latex/coolfn/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/coolfn/README 2023-11-30 21:04:50 UTC (rev 69006)
+++ trunk/Master/texmf-dist/doc/latex/coolfn/README 2023-11-30 21:05:02 UTC (rev 69007)
@@ -2,7 +2,7 @@
-version: 1.2.1
+version: 1.2.2
This package provides formatting for footnotes in long legal documents, using hanging indents to make them look nicer
@@ -14,6 +14,7 @@
GitHub site: https://github.com/ezgranet/coolfn
Version history:
+29/11/2023; Issue with textwidth fixed
29/11/2023; Issue with memoir fixed
16/11/2023: Fixed issue with width of footnote block
27/02/2023 Update with bottom footnotes
Modified: trunk/Master/texmf-dist/doc/latex/coolfn/coolfndocumentation.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/coolfn/coolfndocumentation.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/coolfn/coolfndocumentation.tex 2023-11-30 21:04:50 UTC (rev 69006)
+++ trunk/Master/texmf-dist/doc/latex/coolfn/coolfndocumentation.tex 2023-11-30 21:05:02 UTC (rev 69007)
@@ -51,17 +51,20 @@
\clearpage
\section{Implementation}
\begin{minted}[
+frame=lines,
framesep=2mm,
baselinestretch=1.2,
bgcolor=LightGray,
fontsize=\footnotesize,
+linenos,
breaklines,
firstnumber=last
]
{latex}
-\def\coolfnversionnumber{1.2.1}
+
+\def\coolfnversionnumber{1.2.2}
\ProvidesPackage{coolfn}
-[2023/11/16\coolfnversionnumber\
+[2023/11/29\coolfnversionnumber\
A cool way to format footnotes]
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3c
@@ -82,7 +85,8 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% from https://tex.stackexchange.com/questions/305033/is-there-a-latex-package-that-defines-an-environment-for-parskip-like-capabiliti
+% from
+% https://tex.stackexchange.com/questions/305033/
%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage[bottom]{footmisc}
@@ -123,10 +127,13 @@
\setlength{\lengtha}{\textwidth}
\newlength{\lengthb}%maths again
\newlength{\lengthc}
+
\setlength{\lengthc}{\fnindent}
\setlength{\lengthb}{1.25\lengthc}%parblock
+
\makeatletter
-\@ifclassloaded{memoir}{}{
+\@ifclassloaded{memoir}{
+}{
\usepackage{hanging}
}
% for hanging paragraphs
@@ -150,8 +157,9 @@
\begin{minipage}[t]{\lengthb}%
\noindent\normalfont%
\@thefnmark%
+
\end{minipage}%
-\begin{minipage}[t]{\lengtha-\lengthb}%
+\begin{minipage}[t]{\textwidth-\lengthb}%
\begin{Parskip}\begin{hangparas}{\lengthc}{1}
\noindent#1\end{hangparas}\end{Parskip}%
\end{minipage}%
@@ -171,8 +179,11 @@
\section{Version History}
+\subsection*{\texttt{1.2.2}}
+\ttfamily 29 November 2023: Fixed issue with textwidth
+
\subsection*{\texttt{1.2.1}}
-\ttfamily Fixed issue with memoir
+\ttfamily 29 November 2023: Fixed issue with memoir
\subsection*{\texttt{1.2.0}}
Modified: trunk/Master/texmf-dist/tex/latex/coolfn/coolfn.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/coolfn/coolfn.sty 2023-11-30 21:04:50 UTC (rev 69006)
+++ trunk/Master/texmf-dist/tex/latex/coolfn/coolfn.sty 2023-11-30 21:05:02 UTC (rev 69007)
@@ -1,4 +1,4 @@
-\def\coolfnversionnumber{1.2.1}
+\def\coolfnversionnumber{1.2.2}
\ProvidesPackage{coolfn}
[2023/11/16\coolfnversionnumber\
A cool way to format footnotes]
@@ -21,7 +21,7 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% from https://tex.stackexchange.com/questions/305033/is-there-a-latex-package-that-defines-an-environment-for-parskip-like-capabiliti
+% from https://tex.stackexchange.com/questions/305033/
%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage[bottom]{footmisc}
@@ -62,12 +62,16 @@
\setlength{\lengtha}{\textwidth}
\newlength{\lengthb}%maths again
\newlength{\lengthc}
+
\setlength{\lengthc}{\fnindent}
\setlength{\lengthb}{1.25\lengthc}%parblock
+
\makeatletter
-\@ifclassloaded{memoir}{}{
+\@ifclassloaded{memoir}{
+}{
\usepackage{hanging}
}
+\makeatother
% for hanging paragraphs
\renewcommand\footnoterule{}
% ^ no one wants a rule sep for FN!
@@ -89,8 +93,9 @@
\begin{minipage}[t]{\lengthb}%
\noindent\normalfont%
\@thefnmark%
+
\end{minipage}%
-\begin{minipage}[t]{\lengtha-\lengthb}%
+\begin{minipage}[t]{\textwidth-\lengthb}%
\begin{Parskip}\begin{hangparas}{\lengthc}{1}
\noindent#1\end{hangparas}\end{Parskip}%
\end{minipage}%
More information about the tex-live-commits
mailing list.