Go to file
Tobias Denkinger d52a3d9211
Merge pull request #6 from moormaster/archlinux-packaging
added PKGBUILD file
2023-05-17 10:46:19 +02:00
LICENSE Create LICENSE 2018-09-17 12:05:34 +02:00
PKGBUILD added PKGBUILD file 2023-01-06 14:21:17 +01:00
README.md Update README.md 2018-01-29 13:14:00 +01:00
listings-rust.sty added keywords according to edition 2018 2018-09-17 12:38:47 +02:00
listings-style.tex added keywords according to edition 2018 2018-09-17 12:38:47 +02:00

README.md

listings-rust

A Rust language and style specification for the LaTeX-package listings

Usage

  • place the listings-rust.sty where latex can find it
  • import listings and listings-rust in your LaTeX document with \usepackage{listings, listings-rust}
  • select the language Rust in the lstlistings environment, e.g.
    \begin{lstlisting}[language=Rust]
    // your source code
    \end{lstlisting}
    
  • optional: select one of the styles colouredRust or boxed, e.g.
    \begin{lstlisting}[language=Rust, style=boxed]
    // your source code
    \end{lstlisting}
    

Documentation

Currently there is only the style-file itself and the example document listings-style.tex for documentation.