CTAN Comprehensive TeX Archive Network

Direc­tory macros/latex/contrib/lstfiracode

README.md

lst­fira­code

The lstfiracode pack­age de­fines FiraCodeStyle, to be used as \lstset{style=FiraCodeStyle} with the listings pack­age. This style con­tains al­most all lig­a­tures in Nikita Prokopov’s Fira Code fam­ily of fonts. A new key moreliterate to \lstset is added, al­low­ing ad­di­tional user lig­a­tures. Ad­di­tional sup­port for source code list­ings us­ing Fira Code in the verbatim en­vi­ron­ment is avail­able.

This pack­age does NOT pro­vide the Fira Code font files. The newest ver­sion of the font files can be down­loaded at the GitHub Fira Code Re­leases page. Here is a sam­ple pream­ble of a doc­u­ment:

\documentclass{article}
\usepackage{fontspec}
\setmonofont{FiraCode-Regular.otf}[Contextuals=Alternate]
\usepackage{listings}
\usepackage[verbatim]{lstfiracode}
\lstset{style=FiraCodeStyle,basicstyle=\ttfamily}

Con­tribut­ing

This pack­age is main­tained at https://github.com/Ruix­iZhang42/lst­fira­code

Is­sues and pull re­quests are wel­come.

Copy­right and Li­cence

Copyright (C) 2018 by Ruixi Zhang <ruixizhang42@gmail.com>

This work may be distributed and/or modified under the
conditions of the LaTeX Project Public License, either version 1.3c
of this license or (at your option) any later version.
The latest version of this license is in
   https://www.latex-project.org/lppl.txt
and version 1.3c or later is part of all distributions of LaTeX
version 2005/12/01 or later.

This work has the LPPL maintenance status `maintained'.

The Current Maintainer of this work is Ruixi Zhang.

This work consists of the files lstfiracode.sty,
                                lstfiracode.tex,
                                README.md (this file)
          and the derived file  lstfiracode.pdf.

Down­load the con­tents of this pack­age in one zip archive (57.8k).

lst­fira­code – Use Fira Code font for list­ings

The lst­fira­code pack­age de­fines Fi­raCodeStyle for the use with the list­ings pack­age. This style con­tains al­most all lig­a­tures in Nikita Prokopov’s Fira Code fam­ily of fonts.

Pack­agelst­fira­code
Home pagehttps://github.com/Ruix­iZhang42/lst­fira­code
Sup­porthttps://github.com/Ruix­iZhang42/lst­fira­code/is­sues
Ver­sion0.1c 2018-12-24
Li­censesThe Project Public Li­cense 1.3c
Copy­right2018 Ruixi Zhang
Main­tainerRuixi Zhang
Con­tained inTeX Live as lst­fira­code
MiKTeX as lst­fira­code
TopicsList­ing
See alsofira
...
Guest Book Sitemap Contact Contact Author