Dear all,
I try using Polish characters in \verbatim. S, ą, ę ,ń ,ó ,ś work fine, but Ł ,ł ,ż won't work. In my preamble, I have
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
I am running Latex on Debian stable.
I've spent quite some time searching the net - without any success. Any help would be highly appreciated!!!
Fonts & Character Sets ⇒ verbatim Polish
NEW: TikZ book now 40% off at Amazon.com for a short time.
verbatim Polish
You should definitely define polish for babel:
Also you should use utf8x instead of utf8.
Nikolay
Code: Select all
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[utf8x]{inputenc}
\usepackage[polish]{babel}
\begin{document}
Polish text: S, ą, ę ,ń ,ó ,ś; Ł ,ł ,ż.
Verbatim: \verb|S, ą, ę ,ń ,ó ,ś; Ł ,ł ,ż.|
\end{document}
Nikolay