summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/coolfn
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2023-11-30 03:00:54 +0000
committerNorbert Preining <norbert@preining.info>2023-11-30 03:00:54 +0000
commitff7e60f3d1af3d5bbcc9c125c01a063391a30cc5 (patch)
treefd310171798141fad998be0012bec3f6f580deb9 /macros/latex/contrib/coolfn
parent948069736e39240a1486f59e30fb094b4fd09b74 (diff)
CTAN sync 202311300300
Diffstat (limited to 'macros/latex/contrib/coolfn')
-rw-r--r--macros/latex/contrib/coolfn/README4
-rw-r--r--macros/latex/contrib/coolfn/coolfn.sty17
-rw-r--r--macros/latex/contrib/coolfn/coolfndocumentation.pdfbin66798 -> 54355 bytes
-rw-r--r--macros/latex/contrib/coolfn/coolfndocumentation.tex27
4 files changed, 34 insertions, 14 deletions
diff --git a/macros/latex/contrib/coolfn/README b/macros/latex/contrib/coolfn/README
index 220cb4f4e8..5fae50ccf7 100644
--- a/macros/latex/contrib/coolfn/README
+++ b/macros/latex/contrib/coolfn/README
@@ -2,7 +2,7 @@ coolfn - a package for cool footnotes
-version: 1.2.0
+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,8 @@ For suggestions, feature requests, and bug reports, please use the project's
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
06/10/2022 Package creation \ No newline at end of file
diff --git a/macros/latex/contrib/coolfn/coolfn.sty b/macros/latex/contrib/coolfn/coolfn.sty
index dfe27d611c..f3f83b5889 100644
--- a/macros/latex/contrib/coolfn/coolfn.sty
+++ b/macros/latex/contrib/coolfn/coolfn.sty
@@ -1,4 +1,4 @@
-\def\coolfnversionnumber{1.2.0}
+\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}{}{
+
+\makeatletter
+\@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}%
diff --git a/macros/latex/contrib/coolfn/coolfndocumentation.pdf b/macros/latex/contrib/coolfn/coolfndocumentation.pdf
index 1a67ebfce1..17cf43cd57 100644
--- a/macros/latex/contrib/coolfn/coolfndocumentation.pdf
+++ b/macros/latex/contrib/coolfn/coolfndocumentation.pdf
Binary files differ
diff --git a/macros/latex/contrib/coolfn/coolfndocumentation.tex b/macros/latex/contrib/coolfn/coolfndocumentation.tex
index 55239c143b..e811641ac0 100644
--- a/macros/latex/contrib/coolfn/coolfndocumentation.tex
+++ b/macros/latex/contrib/coolfn/coolfndocumentation.tex
@@ -51,17 +51,20 @@ Bugs, feature requests, \textit{etc}, should be submitted to the project's offic
\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.0}
+
+\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 @@ firstnumber=last
%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% 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,12 +127,15 @@ firstnumber=last
\setlength{\lengtha}{\textwidth}
\newlength{\lengthb}%maths again
\newlength{\lengthc}
+
\setlength{\lengthc}{\fnindent}
\setlength{\lengthb}{1.25\lengthc}%parblock
-%\makeatletter
-%\@ifclassloaded{memoir}{}{
+
+\makeatletter
+\@ifclassloaded{memoir}{
+}{
\usepackage{hanging}
-%}
+}
% for hanging paragraphs
\renewcommand\footnoterule{}
% ^ no one wants a rule sep for FN!
@@ -150,8 +157,9 @@ firstnumber=last
\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,6 +179,11 @@ firstnumber=last
\section{Version History}
+\subsection*{\texttt{1.2.2}}
+\ttfamily 29 November 2023: Fixed issue with textwidth
+
+\subsection*{\texttt{1.2.1}}
+\ttfamily 29 November 2023: Fixed issue with memoir
\subsection*{\texttt{1.2.0}}