summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/ffcode/ffcode.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/ffcode/ffcode.dtx')
-rw-r--r--macros/latex/contrib/ffcode/ffcode.dtx17
1 files changed, 11 insertions, 6 deletions
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