diff options
Diffstat (limited to 'Master')
-rw-r--r-- | Master/texmf-dist/doc/latex/ffcode/ffcode.pdf | bin | 186877 -> 224152 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/ffcode/ffcode.tex | 8 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/ffcode/ffcode.sty | 4 |
3 files changed, 9 insertions, 3 deletions
diff --git a/Master/texmf-dist/doc/latex/ffcode/ffcode.pdf b/Master/texmf-dist/doc/latex/ffcode/ffcode.pdf Binary files differindex c49dd4103c3..63583e83361 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/doc/latex/ffcode/ffcode.tex b/Master/texmf-dist/doc/latex/ffcode/ffcode.tex index 607b71368b0..c10257fafac 100644 --- a/Master/texmf-dist/doc/latex/ffcode/ffcode.tex +++ b/Master/texmf-dist/doc/latex/ffcode/ffcode.tex @@ -30,7 +30,7 @@ \usepackage{microtype} \title{\ff{ffcode}: \LaTeX{} Package \\ for Fixed-Font Code Blocks} \author{Yegor Bugayenko} -\date{0.4.1 2022/01/23} +\date{0.4.3 2022/08/13} \begin{document} \pagenumbering{gobble} \raggedbottom @@ -94,6 +94,12 @@ If you want to print a single vertical line, use this: If you want to omit the light gray frames around \ff{\char`\\ff} texts, use the package option \ff{noframes}. +The command \ff{\char`\\ff} behaves differently in math mode: it doesn't +add gray frames: +\begin{equation} +x = \int_\ff{home}^N f(x). +\end{equation} + To omit the vertical gray bar at the left side of each snippet, use the \ff{nobars} option of the package. diff --git a/Master/texmf-dist/tex/latex/ffcode/ffcode.sty b/Master/texmf-dist/tex/latex/ffcode/ffcode.sty index 65b846b8e51..3ca1367f3db 100644 --- a/Master/texmf-dist/tex/latex/ffcode/ffcode.sty +++ b/Master/texmf-dist/tex/latex/ffcode/ffcode.sty @@ -21,7 +21,7 @@ % SOFTWARE. \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{ffcode}[2022/01/23 0.4.1 Fixed Font Code] +\ProvidesPackage{ffcode}[2022/08/13 0.4.3 Fixed Font Code] \RequirePackage{xkeyval} @@ -94,7 +94,7 @@ colback=gray!5!white,boxrule=0.1pt,arc=1pt, boxsep=1.2pt,left=0.5pt,right=0.5pt,top=0.2pt,bottom=0.2pt, tcbox raise base} - \newcommand\ff[1]{\ff@box{\ff@rule\ff@print{#1}}} + \newcommand\ff[1]{\relax\ifmmode{\ff@rule\ff@print{#1}}\else{\ff@box{\ff@rule\ff@print{#1}}}\fi} \fi\makeatother \endinput |