Viele Dank, der Tipp war Gold wert.
Allerdings, wenn ich jetzt den Anhang zu
\appendix
\addsec{Anhang}
\subsection*{Definitionen}
\begin{Definition}[Latex ist]\leavevmode\newline
umständlich. ^
\end{Definition}
\newpage
\subsection*{Code}
\lstset{language=Matlab}
\lstset{flexiblecolumns=true}
\begin{lstlisting}[caption=Minimalbeispiel ,frame=single,mathescape=true]
x = 5;
\end{lstlisting}
\newpage
ändere, kommt die Defintion als "Definition .1" raus. Mit
\setcounter{Satz}{0}
\renewcommand{\theSatz}{\Alph{section}\arabic{Satz}}
direkt nach \subsection*{Definitionen}
bekomme ich den Punkt weg, aber das A kommt nicht hin. Ich hätte gerne "Definition A.1" stehen. Geht das?
-------------
EDIT: Mit
\setcounter{Satz}{0}
\renewcommand{\theSatz}{A.\arabic{Satz}}
kommt das gewünschte raus.
Viele Dank, der Tipp war Gold wert. :wink:
Allerdings, wenn ich jetzt den Anhang zu [code]
\appendix
\addsec{Anhang}
\subsection*{Definitionen}
\begin{Definition}[Latex ist]\leavevmode\newline
umständlich. ^
\end{Definition}
\newpage
\subsection*{Code}
\lstset{language=Matlab}
\lstset{flexiblecolumns=true}
\begin{lstlisting}[caption=Minimalbeispiel ,frame=single,mathescape=true]
x = 5;
\end{lstlisting}
\newpage [/code] ändere, kommt die Defintion als "Definition .1" raus. Mit [code]\setcounter{Satz}{0}
\renewcommand{\theSatz}{\Alph{section}\arabic{Satz}}[/code] direkt nach \subsection*{Definitionen}
bekomme ich den Punkt weg, aber das A kommt nicht hin. Ich hätte gerne "Definition A.1" stehen. Geht das?
-------------
EDIT: Mit [code]\setcounter{Satz}{0}
\renewcommand{\theSatz}{A.\arabic{Satz}}[/code] kommt das gewünschte raus.