summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/ffcode
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2024-02-05 03:00:39 +0000
committerNorbert Preining <norbert@preining.info>2024-02-05 03:00:39 +0000
commit1343b01ff7a9bf0b93cee0d13ff1b13f2e649252 (patch)
tree25e1802be3817a994cd8ef1b326299eaea4727d6 /macros/latex/contrib/ffcode
parent16f68bbec3cca735a695904227872abc2ace1f90 (diff)
CTAN sync 202402050300
Diffstat (limited to 'macros/latex/contrib/ffcode')
-rw-r--r--macros/latex/contrib/ffcode/DEPENDS.txt1
-rw-r--r--macros/latex/contrib/ffcode/ffcode.dtx17
-rw-r--r--macros/latex/contrib/ffcode/ffcode.pdfbin517724 -> 518363 bytes
3 files changed, 12 insertions, 6 deletions
diff --git a/macros/latex/contrib/ffcode/DEPENDS.txt b/macros/latex/contrib/ffcode/DEPENDS.txt
index 2b69ddd2b9..036451c7b6 100644
--- a/macros/latex/contrib/ffcode/DEPENDS.txt
+++ b/macros/latex/contrib/ffcode/DEPENDS.txt
@@ -1,6 +1,7 @@
hard listings
hard pgfopts
hard tcolorbox
+soft etoolbox
soft docshots
soft environ
soft href-ul
diff --git a/macros/latex/contrib/ffcode/ffcode.dtx b/macros/latex/contrib/ffcode/ffcode.dtx
index 06a7db10b6..52f2241dc0 100644
--- a/macros/latex/contrib/ffcode/ffcode.dtx
+++ b/macros/latex/contrib/ffcode/ffcode.dtx
@@ -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@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@nobars\else
- \lstset{frame=leftline,framerule=.4pt,rulecolor={\color{gray}}}
+ \lstset{frame=leftline,framerule=.05em,rulecolor={\color{gray}}}
\ifdefined\ff@nocn\else
\lstset{firstnumber=last}
\fi
@@ -296,7 +297,7 @@
% Then, we define supplementary command |\ff@rule|:
% \begin{macrocode}
\makeatletter\newcommand\ff@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@noframes\else
\RequirePackage{tcolorbox}
\newtcbox\ff@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
diff --git a/macros/latex/contrib/ffcode/ffcode.pdf b/macros/latex/contrib/ffcode/ffcode.pdf
index 1228e80779..c39bfa4ffe 100644
--- a/macros/latex/contrib/ffcode/ffcode.pdf
+++ b/macros/latex/contrib/ffcode/ffcode.pdf
Binary files differ