denki/listings-rust

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

TeX

193

5 commits

updated May 17, 2023

See the code

README

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.

Contributors

denki

4 commits

moormaster

1 commits

denki/listings-rust

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

TeX

193

5 commits

updated May 17, 2023

See the code

README

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.

Contributors

denki

4 commits

moormaster

1 commits

Languages

TeX

95.0%

Shell

5.0%