Created
November 3, 2016 10:23
-
-
Save KKozlowski/bd2c2267ea68fd5f92c30ac5ebeb2f16 to your computer and use it in GitHub Desktop.
Polish letters literation for LaTeX Listings package.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\usepackage{listings} | |
\lstset{ | |
literate={ą}{{\k a}}1 | |
{Ą}{{\k A}}1 | |
{ż}{{\. z}}1 | |
{Ż}{{\. Z}}1 | |
{ź}{{\' z}}1 | |
{Ź}{{\' Z}}1 | |
{ć}{{\' c}}1 | |
{Ć}{{\' C}}1 | |
{ę}{{\k e}}1 | |
{Ę}{{\k E}}1 | |
{ó}{{\' o}}1 | |
{Ó}{{\' O}}1 | |
{ń}{{\' n}}1 | |
{Ń}{{\' N}}1 | |
{ś}{{\' s}}1 | |
{Ś}{{\' S}}1 | |
{ł}{{\l}}1 | |
{Ł}{{\L}}1 | |
} |
Great job!
cool!!!
This is great. Just one question, are the special characters in the code a problem for LaTeX? I'm assuming not but I don't know the header required to compile this. Thanks again!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
dzięki :)