Skip to content

Commit

Permalink
#32 frame fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Jan 11, 2024
1 parent 1609c35 commit 58c3dc1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion ffcode.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,10 @@
% \begin{macrocode}
\RequirePackage{xcolor}
\RequirePackage{listings}
\makeatletter
% See \href{https://tex.stackexchange.com/questions/706858}{the explanation}:
\lst@AddToHook{Init}{\setlength{\lineskip}{0pt}}
\makeatother
% \end{macrocode}

% \begin{macro}{ffcode}
Expand All @@ -261,7 +265,7 @@
\lstset{numbers=left,numbersep=5pt,numberstyle={\tiny\sffamily\color{gray}}}
\fi
\ifdefined\ff@nobars\else
\lstset{frame=leftline,framerule=.3pt,rulecolor={\color{gray}}}
\lstset{frame=leftline,framerule=.4pt,rulecolor={\color{gray}}}
\ifdefined\ff@nocn\else
\lstset{firstnumber=last}
\fi
Expand Down

0 comments on commit 58c3dc1

Please sign in to comment.