Skip to content

DATP4G6/sct-pygments

Repository files navigation

Pygments SCT Lexer

Prerequisites

  • Python
  • LaTeX

Install

virtualenv venv
source ./venv/bin/activate
pip install Pygments

wget https://raw.githubusercontent.com/DATP4G6/sct-pygments/main/SctLexer.py

Use

See example.tex

\begin{minted}{'SctLexer.py -x'}
// your code here...
\end{minted}

This, will generate a .pdf like the one shown in example.pdf

About

Pygments lexer for the SCT language

Resources

License

Stars

Watchers

Forks