diff options
author | Karl Berry <karl@freefriends.org> | 2023-11-30 21:05:02 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2023-11-30 21:05:02 +0000 |
commit | 041d3b19fe327bd3c72b84d74999ef7c91b04a3d (patch) | |
tree | 1248df8bfb94ca5fe7715ded155b72bab398541d | |
parent | bf1c88cd59a3d259436bfb09a0b56610a7da0231 (diff) |
coolfn (30nov23)
git-svn-id: svn://tug.org/texlive/trunk@69007 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r-- | Master/texmf-dist/doc/latex/coolfn/README | 3 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/coolfn/coolfndocumentation.pdf | bin | 67563 -> 54355 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/coolfn/coolfndocumentation.tex | 23 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/coolfn/coolfn.sty | 13 |
4 files changed, 28 insertions, 11 deletions
diff --git a/Master/texmf-dist/doc/latex/coolfn/README b/Master/texmf-dist/doc/latex/coolfn/README index 68373063a0d..5fae50ccf72 100644 --- a/Master/texmf-dist/doc/latex/coolfn/README +++ b/Master/texmf-dist/doc/latex/coolfn/README @@ -2,7 +2,7 @@ coolfn - a package for cool footnotes -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 @@ 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 diff --git a/Master/texmf-dist/doc/latex/coolfn/coolfndocumentation.pdf b/Master/texmf-dist/doc/latex/coolfn/coolfndocumentation.pdf Binary files differindex eb0eb68572a..17cf43cd57d 100644 --- a/Master/texmf-dist/doc/latex/coolfn/coolfndocumentation.pdf +++ b/Master/texmf-dist/doc/latex/coolfn/coolfndocumentation.pdf diff --git a/Master/texmf-dist/doc/latex/coolfn/coolfndocumentation.tex b/Master/texmf-dist/doc/latex/coolfn/coolfndocumentation.tex index 6d5fdcc988b..e811641ac05 100644 --- a/Master/texmf-dist/doc/latex/coolfn/coolfndocumentation.tex +++ b/Master/texmf-dist/doc/latex/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.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 @@ 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,10 +127,13 @@ firstnumber=last \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 @@ 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,8 +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 Fixed issue with memoir +\ttfamily 29 November 2023: Fixed issue with memoir \subsection*{\texttt{1.2.0}} diff --git a/Master/texmf-dist/tex/latex/coolfn/coolfn.sty b/Master/texmf-dist/tex/latex/coolfn/coolfn.sty index b1687c94855..f3f83b5889d 100644 --- a/Master/texmf-dist/tex/latex/coolfn/coolfn.sty +++ b/Master/texmf-dist/tex/latex/coolfn/coolfn.sty @@ -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}% |