Hallo,
hab mal listings probiert. Leider tut's das auch nicht.
Code:
\documentclass[a4paper]{book}
\usepackage{listings}
\usepackage{fancyhdr}
\pagestyle{fancyplain}
\rhead{
\begin{lstlisting}{}
$12_3$
\end{lstlisting}
}
\begin{document}
test test test
\end{document}
Aehnlicher Fehler...
Code:
This is pdfeTeX, Version 3.141592-1.30.6-2.2 (MiKTeX 2.5 RC 1)
entering extended mode
(test.tex
LaTeX2e <2005/12/01>
Babel and hyphenation patterns for english, dumylang, nohyphenation, ge
rman, ngerman, french, loaded.
("C:\Programme\MiKTeX 2.5\tex\latex\base\book.cls"
Document Class: book 2005/09/16 v1.4f Standard LaTeX document class
("C:\Programme\MiKTeX 2.5\tex\latex\base\bk10.clo"))
("C:\Programme\MiKTeX 2.5\tex\latex\listings\listings.sty"
("C:\Programme\MiKTeX 2.5\tex\latex\graphics\keyval.sty")
("C:\Programme\MiKTeX 2.5\tex\latex\listings\lstpatch.sty")
("C:\Programme\MiKTeX 2.5\tex\latex\listings\lstmisc.sty")
("C:\Programme\MiKTeX 2.5\tex\latex\listings\listings.cfg"))
("C:\Programme\MiKTeX 2.5\tex\latex\fancyhdr\fancyhdr.sty") (test.aux)
! Argument of \lst@next has an extra }.
\par
l.15 \end{document}
?
@Localghost
Dude, du hast gefragt wozu ich das ueberhaupt brauche. Insofern ist die Stelle nach einer Frage sehr wohl die richtige Stelle fuer eine Antwort.
Lesezeichen