Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 637 Bytes

README.md

File metadata and controls

14 lines (10 loc) · 637 Bytes

latex-listings-powershell

Description

latex-listings-powershell.tex adds PowerShell syntax highlighting support for the listings package of LaTeX.

Files

  • src/latex-listings-powershell.tex: Include this file into your LaTeX source to add syntax highlighting for PowerShell
  • src/p2l.ps1: PowerShell script which generates latex-listings-powershell.tex

Usage

It's very simple: \input{/path/to/latex-listings-powershell.tex}

Example

See example.tex for usage, the generated PDF looks like this.