diff options
author | Karl Berry <karl@freefriends.org> | 2024-02-04 21:13:08 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2024-02-04 21:13:08 +0000 |
commit | ffdcac2d620d514ed680500b37dcb973975cf804 (patch) | |
tree | 46591791fbc7f4e4202f2d7e4d8466b18abb7c10 | |
parent | 6a6e958edadb4a9649e0204f533b89f2ee9dd55b (diff) |
ffcode (4feb24)
git-svn-id: svn://tug.org/texlive/trunk@69706 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r-- | Master/texmf-dist/doc/latex/ffcode/DEPENDS.txt | 1 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/ffcode/ffcode.pdf | bin | 517724 -> 518363 bytes | |||
-rw-r--r-- | Master/texmf-dist/source/latex/ffcode/ffcode.dtx | 17 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/ffcode/ffcode.sty | 13 |
4 files changed, 18 insertions, 13 deletions
diff --git a/Master/texmf-dist/doc/latex/ffcode/DEPENDS.txt b/Master/texmf-dist/doc/latex/ffcode/DEPENDS.txt index 2b69ddd2b93..036451c7b6f 100644 --- a/Master/texmf-dist/doc/latex/ffcode/DEPENDS.txt +++ b/Master/texmf-dist/doc/latex/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/Master/texmf-dist/doc/latex/ffcode/ffcode.pdf b/Master/texmf-dist/doc/latex/ffcode/ffcode.pdf Binary files differindex 1228e807794..c39bfa4ffe2 100644 --- a/Master/texmf-dist/doc/latex/ffcode/ffcode.pdf +++ b/Master/texmf-dist/doc/latex/ffcode/ffcode.pdf diff --git a/Master/texmf-dist/source/latex/ffcode/ffcode.dtx b/Master/texmf-dist/source/latex/ffcode/ffcode.dtx index 06a7db10b66..52f2241dc06 100644 --- a/Master/texmf-dist/source/latex/ffcode/ffcode.dtx +++ b/Master/texmf-dist/source/latex/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/Master/texmf-dist/tex/latex/ffcode/ffcode.sty b/Master/texmf-dist/tex/latex/ffcode/ffcode.sty index e57cac80213..737b1e5dbf8 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-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@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 @@ -100,15 +100,15 @@ \makeatother \makeatletter\newcommand\ff@rule - {\vrule height 6pt depth 1pt width 0pt} + {\vrule height 0.6em depth 0.1em width 0em} \makeatother \makeatletter \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 @@ -137,7 +137,6 @@ \catcode`\| 12 % \fi\makeatother - \endinput %% %% End of file `ffcode.sty'. |