texlive[69706] Master/texmf-dist: ffcode (4feb24)

commits+karl at tug.org commits+karl at tug.org
Sun Feb 4 22:13:08 CET 2024


Revision: 69706
          https://tug.org/svn/texlive?view=revision&revision=69706
Author:   karl
Date:     2024-02-04 22:13:08 +0100 (Sun, 04 Feb 2024)
Log Message:
-----------
ffcode (4feb24)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/ffcode/DEPENDS.txt
    trunk/Master/texmf-dist/doc/latex/ffcode/ffcode.pdf
    trunk/Master/texmf-dist/source/latex/ffcode/ffcode.dtx
    trunk/Master/texmf-dist/tex/latex/ffcode/ffcode.sty

Modified: trunk/Master/texmf-dist/doc/latex/ffcode/DEPENDS.txt
===================================================================
--- trunk/Master/texmf-dist/doc/latex/ffcode/DEPENDS.txt	2024-02-04 21:12:58 UTC (rev 69705)
+++ trunk/Master/texmf-dist/doc/latex/ffcode/DEPENDS.txt	2024-02-04 21:13:08 UTC (rev 69706)
@@ -1,6 +1,7 @@
 hard listings
 hard pgfopts
 hard tcolorbox
+soft etoolbox
 soft docshots
 soft environ
 soft href-ul

Modified: trunk/Master/texmf-dist/doc/latex/ffcode/ffcode.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/source/latex/ffcode/ffcode.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/ffcode/ffcode.dtx	2024-02-04 21:12:58 UTC (rev 69705)
+++ trunk/Master/texmf-dist/source/latex/ffcode/ffcode.dtx	2024-02-04 21:13:08 UTC (rev 69706)
@@ -50,7 +50,7 @@
 %<package>\NeedsTeXFormat{LaTeX2e}
 %<package>\ProvidesPackage{ffcode}
 %<*package>
-[2024-01-11 0.9.1 Fixed Font Code]
+[2024-02-04 0.9.2 Fixed Font Code]
 %</package>
 %<*driver>
 \documentclass{ltxdoc}
@@ -225,6 +225,7 @@
 % \changes{v0.6.0}{2021/11/14}{Package option \texttt{novert} added, to disable redefinition of vertical bar.}
 % \changes{v0.7.0}{2021/11/28}{Package option \texttt{bold} added, to make all \texttt{\char`\\ff} pieces look bolder than usual.}
 % \changes{v0.7.0}{2021/11/28}{Package option \texttt{sf} added, to make all \texttt{\char`\\ff} pieces be printed as \texttt{\char`\\sffamily}.}
+% \changes{v0.9.2}{2024/02/04}{All lengths and sizes are in "em" instead of "pt".}
 %    \begin{macrocode}
 \RequirePackage{pgfopts}
 \pgfkeys{
@@ -262,10 +263,10 @@
     \lstset{basicstyle={\ttfamily}}
     \lstset{columns=fullflexible}
     \ifdefined\ff at nonumbers\else
-      \lstset{numbers=left,numbersep=5pt,numberstyle={\tiny\sffamily\color{gray}}}
+      \lstset{numbers=left,numbersep=.8em,numberstyle={\tiny\sffamily\color{gray}}}
     \fi
     \ifdefined\ff at nobars\else
-      \lstset{frame=leftline,framerule=.4pt,rulecolor={\color{gray}}}
+      \lstset{frame=leftline,framerule=.05em,rulecolor={\color{gray}}}
     \ifdefined\ff at nocn\else
       \lstset{firstnumber=last}
     \fi
@@ -296,7 +297,7 @@
 % Then, we define supplementary command |\ff at rule|:
 %    \begin{macrocode}
 \makeatletter\newcommand\ff at rule
-  {\vrule height 6pt depth 1pt width 0pt}
+  {\vrule height 0.6em depth 0.1em width 0em}
 \makeatother
 %    \end{macrocode}
 % \end{macro}
@@ -309,8 +310,8 @@
 \ifdefined\ff at noframes\else
   \RequirePackage{tcolorbox}
   \newtcbox\ff at box{nobeforeafter,colframe=gray!80!white,
-    colback=gray!5!white,boxrule=0.1pt,arc=1pt,
-    boxsep=1.2pt,left=0.5pt,right=0.5pt,top=0.2pt,bottom=0.2pt,
+    colback=gray!5!white,boxrule=0.01em,arc=0.1em,
+    boxsep=0.12em,left=0.05em,right=0.05em,top=0.02em,bottom=0.02em,
     tcbox raise base}
 \fi
 \makeatother
@@ -360,6 +361,10 @@
 %    \end{macrocode}
 % \end{macro}
 
+%    \begin{macrocode}
+\endinput
+%    \end{macrocode}
+
 % \Finale
 
 %\clearpage

Modified: trunk/Master/texmf-dist/tex/latex/ffcode/ffcode.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/ffcode/ffcode.sty	2024-02-04 21:12:58 UTC (rev 69705)
+++ trunk/Master/texmf-dist/tex/latex/ffcode/ffcode.sty	2024-02-04 21:13:08 UTC (rev 69706)
@@ -31,7 +31,7 @@
 
 \NeedsTeXFormat{LaTeX2e}
 \ProvidesPackage{ffcode}
-[2024-01-11 0.9.1 Fixed Font Code]
+[2024-02-04 0.9.2 Fixed Font Code]
 
 
 
@@ -77,10 +77,10 @@
     \lstset{basicstyle={\ttfamily}}
     \lstset{columns=fullflexible}
     \ifdefined\ff at nonumbers\else
-      \lstset{numbers=left,numbersep=5pt,numberstyle={\tiny\sffamily\color{gray}}}
+      \lstset{numbers=left,numbersep=.8em,numberstyle={\tiny\sffamily\color{gray}}}
     \fi
     \ifdefined\ff at nobars\else
-      \lstset{frame=leftline,framerule=.4pt,rulecolor={\color{gray}}}
+      \lstset{frame=leftline,framerule=.05em,rulecolor={\color{gray}}}
     \ifdefined\ff at nocn\else
       \lstset{firstnumber=last}
     \fi
@@ -100,7 +100,7 @@
 \makeatother
 
 \makeatletter\newcommand\ff at rule
-  {\vrule height 6pt depth 1pt width 0pt}
+  {\vrule height 0.6em depth 0.1em width 0em}
 \makeatother
 
 \makeatletter
@@ -107,8 +107,8 @@
 \ifdefined\ff at noframes\else
   \RequirePackage{tcolorbox}
   \newtcbox\ff at box{nobeforeafter,colframe=gray!80!white,
-    colback=gray!5!white,boxrule=0.1pt,arc=1pt,
-    boxsep=1.2pt,left=0.5pt,right=0.5pt,top=0.2pt,bottom=0.2pt,
+    colback=gray!5!white,boxrule=0.01em,arc=0.1em,
+    boxsep=0.12em,left=0.05em,right=0.05em,top=0.02em,bottom=0.02em,
     tcbox raise base}
 \fi
 \makeatother
@@ -137,7 +137,6 @@
   \catcode`\| 12 %
 \fi\makeatother
 
-
 \endinput
 %%
 %% End of file `ffcode.sty'.



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