\documentclass[10pt,a4paper,floatperchapter]{scrreprt}
\usepackage[utf8]{inputenc}
\usepackage[ngerman,american]{babel}
\usepackage{classicthesis}
\PassOptionsToPackage{printonlyused,smaller}{acron ym}
\usepackage{acronym} % nice macros for handling all acronyms in the thesis
\usepackage{chngcntr} %Tabellen im Anhang sollen bei 1 beginnend neu durchnummeriert sein
%groups tables/figures of a chapter by adding additional space between entries of a different chapter in list of tables/figures
\usepackage{etoolbox}
\newcommand{\killdeactivateaddvspace}{\let\deactiv ateaddvspace\relax}
\AtEndPreamble{\addtocontents{lot}{\protect\killde activateaddvspace}\addtocontents{lof}{\protect\kil ldeactivateaddvspace}}
%neue Umgebung, damit die pdfbookmarks bei Appendix-Sections pro Kapitel noch stimmen
\newenvironment{secapp}{%
\renewcommand{\thesection}{\thechapter.\Alph{secti on}}%
\renewcommand{\theHsection}{\theHchapter.\Alph{sec tion}}%
\setcounter{section}{0}%
\counterwithin{table}{section} %Tabellen und Abb. sollen mit "A.1" etc. nummeriert sein (beginnend bei 1)
\counterwithin{figure}{section}
}{}
\begin{document}
\pagenumbering{roman}
\pagestyle{plain}
\listoftables
\tableofcontents
\chapter{Chapter}
\section{Section}
\subsection{Subsection}
\begin{table}\caption{Tabelle}\end{table}
\begin{table}\caption{Tabelle}\end{table}
\section{Section}
\subsection{Subsection}
\begin{table}\caption{Tabelle}\end{table}
\begin{secapp}
\counterwithin{table}{section} %Tabellen und Abb. sollen mit "A.1" etc. nummeriert sein (beginnend bei 1)
\counterwithin{figure}{section}
\section{Appendix: A}
\begin{table}\caption{Tabelle}\end{table}
\begin{table}\caption{Tabelle}\end{table}
\section{Appendix: B}
\begin{table}\caption{Tabelle}\end{table}
\begin{table}\caption{Tabelle}\end{table}
\end{secapp}
\counterwithin{table}{chapter} %zu ursprünglicher Zählweise zurückkehren -- funktioniert so aber nicht
\counterwithin{figure}{chapter}
\renewcommand{\thesection}{\arabic{chapter}.\arabi c{section}}
\cleardoublepage % use here to avoid problems with pdfbookmark
\chapter{Chapter}
\section{Section}
\begin{table}\caption{Tabelle}\end{table}
\section{Section}
\subsection{Control variables}
\begin{table}\caption{Tabelle}\end{table}
\begin{table}\caption{Tabelle}\end{table}
\section{Section}
\begin{table}\caption{Tabelle}\end{table}
\begin{table}\caption{Tabelle}\end{table}
\begin{secapp}
\section{Appendix: A}
\begin{table}\caption{Tabelle}\end{table}
\begin{table}\caption{Tabelle}\end{table}
\section{Appendix: B}
\begin{table}\caption{Tabelle}\end{table}
\end{secapp}
\end{document}
Lesezeichen