문서 : texdoc pygmentex(http://ftp.ktug.org/tex-archive/macros/latex/contrib/pygmentex/demo.pdf)
예제
\begin{pygmented}[lang=c] #include <stdio.h> int main(void) { int a, b, c; printf("Enter two numbers to add: "); scanf("%d%d", &a, &b); c = a + b; printf("Sum of entered numbers = %d\n", c); return 0; } \end{pygmented}
Retrieved from http://wiki.ktug.org/wiki/wiki.php/pygmentex last modified 2016-06-24 09:27:43