Registriert seit: 2. Jul 2007
Ort: Tuttlingen
81 Beiträge
Delphi 10.1 Berlin Professional
|
Re: Latex: Schrift für Quellcode vorgeben
18. Okt 2007, 07:45
Hallo,
setze basicstyle auf \ttfamily:
Code:
\lstset{language=Delphi,
basicstyle=\ttfamily}
\begin{lstlisting}
TPerson = packed record
Name: String[24]; // 25 Bytes
Vorname: String[19]; // 20 Bytes
Alter: Integer; // 4 Bytes
end;
\end{lstlisting}
jkr
Jürgen Krämer Sometimes I think the surest sign that intelligent life exists elsewhere
in the universe is that none of it has tried to contact us. (Calvin)
|