\documentclass[11pt,a4paper]{article}
\usepackage[english]{babel}
\usepackage{graphicx}
\renewcommand{\thefigure}{\arabic{section}.\arabic {figure}}
\makeatletter \@addtoreset{figure}{section} \makeatother
\renewcommand{\thetable}{\arabic{section}.\arabic{ table}}
\makeatletter \@addtoreset{table}{section} \makeatother
\usepackage{appendix}
\usepackage{placeins}
\newcommand*{\FIG}[1]{%
\begin{figure}[htb]
\centering\huge TEST
\caption{#1}\label{fig:#1}
\end{figure}
}
\newcommand*{\TAB}[1]{%
\begin{table}[htb]
\centering
\caption{#1}\label{tab:#1}
\begin{tabular}{ll}\hline
A & B\\ C & D\\\hline
\end{tabular}
\end{table}
}
\begin{document}
\part{Main}
\section{first}
\FIG{fla}
\TAB{tla}
\section{second}
\FIG{fle}
\TAB{tle}
\FloatBarrier
\addcontentsline{toc}{part}{Appendix}
\appendix
\section{appendix first}
\FIG{fli}
\TAB{tli}
\FloatBarrier
\section{appendix second}
\FIG{flo}
\TAB{tlo}
\end{document}
Lesezeichen