Wed Apr 13 04:57:09 2011, original submission:
Thomas Kuster wrote, on Thu, 10 Jan 2008 15:53:07 +0100:
Hello Moses
Sorry for the direct mail, but I think you can give me the right hint.
The hints in the doc are not enough, because I have a Umlaut (ä, ü, ö, Ä, Ü,
Ö) in the code it self.
I include the listing with latin1, the only solution I figure out to include
it.
My idea is know, to replace the chars 0xC3 and 0xA4 the unicode for Umlaut ü
by {\"u} both I have know idea how to do that.
Or have you any other idea?
Yours sincerely,
Thomas Kuster
\lstset{% general command to set parameter(s)
language=fortran, % nicht R aber immerhin
extendedchars=true,
inputencoding=latin1, % welcher Zeichensatz: TODO bewusst falsch, wäre utf8!
da sonst keine einlesen möglich wenn umlaute im quellcode sind
numbers=left,
numberstyle=\small,
postbreak=\space,
breakindent=1em,
breaklines=true,
basicstyle=\ttfamily, %\small
morekeywords={for, from, by, to, do, od, print},
keywordstyle=\color{blue},
stringstyle=\color{red},
%morecomment=[l]{\#},
commentstyle=\color[gray]{0.4}, % white comments
showstringspaces=false % no special string spaces
}
|