summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-09-12 20:57:14 +0000
committerKarl Berry <karl@freefriends.org>2021-09-12 20:57:14 +0000
commit63e3d3df02e34be5e0a8db5bc979097f53dc898b (patch)
tree8b916be765bbcdc1eb9b9ea7c0b92c99763e1a7c /Master/texmf-dist/doc
parent5514b09a5f305ffd1753ed9957570546c81f8f53 (diff)
ffcode
git-svn-id: svn://tug.org/texlive/trunk@60487 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc')
-rw-r--r--Master/texmf-dist/doc/latex/ffcode/DEPENDS.txt1
-rw-r--r--Master/texmf-dist/doc/latex/ffcode/README.md2
-rw-r--r--Master/texmf-dist/doc/latex/ffcode/ffcode.pdfbin108113 -> 118496 bytes
-rw-r--r--Master/texmf-dist/doc/latex/ffcode/ffcode.tex40
4 files changed, 40 insertions, 3 deletions
diff --git a/Master/texmf-dist/doc/latex/ffcode/DEPENDS.txt b/Master/texmf-dist/doc/latex/ffcode/DEPENDS.txt
index e1cb6ed5640..b7535d747d6 100644
--- a/Master/texmf-dist/doc/latex/ffcode/DEPENDS.txt
+++ b/Master/texmf-dist/doc/latex/ffcode/DEPENDS.txt
@@ -1,5 +1,4 @@
hard microtype
hard xkeyval
hard minted
-hard minted
hard tcolorbox
diff --git a/Master/texmf-dist/doc/latex/ffcode/README.md b/Master/texmf-dist/doc/latex/ffcode/README.md
index f6944deee4c..13e012d7670 100644
--- a/Master/texmf-dist/doc/latex/ffcode/README.md
+++ b/Master/texmf-dist/doc/latex/ffcode/README.md
@@ -1,4 +1,4 @@
-[![make](https://github.com/yegor256/ffcode/actions/workflows/make.yml/badge.svg)](https://github.com/yegor256/ffcode/actions/workflows/make.yml)
+[![make](https://github.com/yegor256/ffcode/actions/workflows/latexmk.yml/badge.svg)](https://github.com/yegor256/ffcode/actions/workflows/latexmk.yml)
[![License](https://img.shields.io/badge/license-MIT-green.svg)](https://github.com/yegor256/ffcode/blob/master/LICENSE.txt)
This LaTeX package helps you write source code in your academic papers
diff --git a/Master/texmf-dist/doc/latex/ffcode/ffcode.pdf b/Master/texmf-dist/doc/latex/ffcode/ffcode.pdf
index 9e84d15f609..d10d38424d4 100644
--- a/Master/texmf-dist/doc/latex/ffcode/ffcode.pdf
+++ b/Master/texmf-dist/doc/latex/ffcode/ffcode.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/ffcode/ffcode.tex b/Master/texmf-dist/doc/latex/ffcode/ffcode.tex
index e14a39517f0..c1fbc404836 100644
--- a/Master/texmf-dist/doc/latex/ffcode/ffcode.tex
+++ b/Master/texmf-dist/doc/latex/ffcode/ffcode.tex
@@ -25,9 +25,10 @@
\usepackage{amsmath}
\usepackage{multicol}
\usepackage{ffcode}
+\usepackage{xcolor}
\title{\ff{ffcode}: \LaTeX{} Package \\ for Fixed-Font Code Blocks}
\author{Yegor Bugayenko}
-\date{0.2.0 2021/06/13}
+\date{0.3.0 2021/09/07}
\begin{document}
\pagenumbering{gobble}
\raggedbottom
@@ -88,6 +89,43 @@ texts, use the package option \ff{noframes}.
To omit the line numbers, use the \ff{nonumbers} option of the package.
+By default, the numbering is continuous: line numbers start at the
+first snippet and increment until the end of the document. If you
+want them to start from one at each snippet, use \ff{nocn}
+(stands for ``no continuous numbering'')
+option of the package.
+
+You can highlight some lines in your \ff{ffcode} environment,
+or can use any other additional configuration parameters from
+the \ff{minted} package:
+
+\begin{multicols}{2}
+\setlength{\parskip}{0pt}
+\scriptsize
+\raggedcolumns
+\begin{verbatim}
+\begin{ffcode*}{highlightlines={1,4-5}}
+while (true) {
+ print("Hello!")
+ print("Enter your name:")
+ scan(x)
+ print("You name is " + x)
+}
+\end{ffcode*}
+\end{verbatim}
+
+\columnbreak
+
+\begin{ffcode*}{highlightlines={7,10-11}}
+while (true) {
+ print("Hello!")
+ print("Enter your name:")
+ scan(x)
+ print("You name is " + x)
+}
+\end{ffcode*}
+\end{multicols}
+
More details about this package you can find
in the \ff{yegor256/ffcode} GitHub repository.