I want to have a float called
figuren
with this properties.figuren
numbering shall not interfere withfigure
numbering.figuren
numbering shall restart each chapter.- have this caption:
figure exer 1-1: This is a caption text ...

Code: Select all
! LaTeX Error: No counter 'subfiguren' defined.
Code: Select all
Code, edit and compile here:
·\documentclass{book}···\usepackage{subfig}····\usepackage{float}···\floatstyle{plain}··\newfloat{figuren}{!hbtp}{lof}[chapter]··\floatname{figuren}{figure}···\renewcommand{\thefiguren}·{exer ·\arabic{chapter}--\arabic{figuren}}···\begin{document}··\chapter{}···\begin{figure}··[!ht]·\centering··\rule{50mm}{20mm}\caption{this is a caption text...}\end{figure}·····\begin{figuren}··[!ht]·\centering··\rule{50mm}{20mm}\caption{this is a caption text...}\end{figuren}·····\begin{figuren}··[!ht]\subfloat[first subfig]{\rule{50mm}{20mm}} ··\quad·\subfloat[second subfig]{\rule{50mm}{20mm}}···\caption{this is a caption text...}\end{figuren}···\end{document}