diff options
author | Karl Berry <karl@freefriends.org> | 2024-01-11 21:27:58 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2024-01-11 21:27:58 +0000 |
commit | 78f20b46a3a18bbd818da3f8dc2758805bbcf897 (patch) | |
tree | e9f66d8bdc0c5ecdc407b781f18645b0040de7b2 /Master/texmf-dist/tex/latex/ffcode | |
parent | 9e28114854c4bc467c5d9567624aeecd7d5500b1 (diff) |
ffcode (11jan24)
git-svn-id: svn://tug.org/texlive/trunk@69383 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/ffcode')
-rw-r--r-- | Master/texmf-dist/tex/latex/ffcode/ffcode.sty | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/ffcode/ffcode.sty b/Master/texmf-dist/tex/latex/ffcode/ffcode.sty index 49666603018..e57cac80213 100644 --- a/Master/texmf-dist/tex/latex/ffcode/ffcode.sty +++ b/Master/texmf-dist/tex/latex/ffcode/ffcode.sty @@ -31,7 +31,7 @@ \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{ffcode} -[2024-01-10 0.9.0 Fixed Font Code] +[2024-01-11 0.9.1 Fixed Font Code] @@ -65,6 +65,9 @@ \RequirePackage{xcolor} \RequirePackage{listings} +\makeatletter +\lst@AddToHook{Init}{\setlength{\lineskip}{0pt}} +\makeatother \makeatletter \lstnewenvironment{ffcode}[1][] @@ -77,8 +80,10 @@ \lstset{numbers=left,numbersep=5pt,numberstyle={\tiny\sffamily\color{gray}}} \fi \ifdefined\ff@nobars\else - \lstset{frame=leftline,framerule=.3pt,rulecolor={\color{gray}}} - \ifdefined\ff@nocn\else\fi + \lstset{frame=leftline,framerule=.4pt,rulecolor={\color{gray}}} + \ifdefined\ff@nocn\else + \lstset{firstnumber=last} + \fi \lstset{#1} } {} |