Skip to content

Commit

Permalink
#8 typo
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Aug 13, 2022
1 parent 67fd194 commit 94c9842
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ffcode.sty
Original file line number Diff line number Diff line change
Expand Up @@ -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]{\relax\ifmmode\ff@rule\ff@print{#1}\else\ff@box{\ff@rule\ff@print{#1}}\fi}
\newcommand\ff[1]{\relax\ifmmode{\ff@rule\ff@print{#1}}\else{\ff@box{\ff@rule\ff@print{#1}}}\fi}
\fi\makeatother

\endinput
6 changes: 6 additions & 0 deletions ffcode.tex
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,12 @@
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.

Expand Down

0 comments on commit 94c9842

Please sign in to comment.