| 1 |
lstfiracode |
| 2 |
=========== |
| 3 |
|
| 4 |
The `lstfiracode` package defines `FiraCodeStyle`, to be used as |
| 5 |
`\lstset{style=FiraCodeStyle}` with the [`listings`](https://ctan.org/pkg/listings) |
| 6 |
package. This style contains almost all ligatures in Nikita Prokopov’s |
| 7 |
[Fira Code](https://github.com/tonsky/FiraCode) family of fonts. |
| 8 |
A new key `moreliterate` to `\lstset` is added, allowing additional user ligatures. |
| 9 |
Additional support for source code listings using Fira Code |
| 10 |
in the `verbatim` environment is available. |
| 11 |
|
| 12 |
This package does NOT provide the Fira Code font files. |
| 13 |
The newest version of the font files can be downloaded at the |
| 14 |
[GitHub Fira Code Releases page](https://github.com/tonsky/FiraCode/releases). |
| 15 |
Here is a sample preamble of a document: |
| 16 |
|
| 17 |
\documentclass{article} |
| 18 |
\usepackage{fontspec} |
| 19 |
\setmonofont{FiraCode-Regular.otf}[Contextuals=Alternate] |
| 20 |
\usepackage{listings} |
| 21 |
\usepackage[verbatim]{lstfiracode} |
| 22 |
\lstset{style=FiraCodeStyle,basicstyle=\ttfamily} |
| 23 |
|
| 24 |
Contributing |
| 25 |
------------ |
| 26 |
|
| 27 |
This package is maintained at https://github.com/RuixiZhang42/lstfiracode |
| 28 |
|
| 29 |
Issues and pull requests are welcome. |
| 30 |
|
| 31 |
Copyright and Licence |
| 32 |
--------------------- |
| 33 |
|
| 34 |
Copyright (C) 2018 by Ruixi Zhang <[email protected]> |
| 35 |
|
| 36 |
This work may be distributed and/or modified under the |
| 37 |
conditions of the LaTeX Project Public License, either version 1.3c |
| 38 |
of this license or (at your option) any later version. |
| 39 |
The latest version of this license is in |
| 40 |
https://www.latex-project.org/lppl.txt |
| 41 |
and version 1.3c or later is part of all distributions of LaTeX |
| 42 |
version 2005/12/01 or later. |
| 43 |
|
| 44 |
This work has the LPPL maintenance status `maintained'. |
| 45 |
|
| 46 |
The Current Maintainer of this work is Ruixi Zhang. |
| 47 |
|
| 48 |
This work consists of the files lstfiracode.sty, |
| 49 |
lstfiracode.tex, |
| 50 |
README.md (this file) |
| 51 |
and the derived file lstfiracode.pdf. |