The syntax for a caption is
\caption[listoffigures/tables text]{Text actually displayed under picture/table}
But what I would like to have is something like this: If I use the above command, the text under the floating object should be
Label #.: listof text -- long text
With #
being just the number and with --
being an arbitrary separator (either the --
dash itself or maybe even a \newline
). Is this possible?
I'm using KOMAScript.
Best Answer
See the commented code. If you load any float-related packages (
float
,floatrow
,caption
,algorithmic
, ...) or do things like\newfloat
,\restylefloat
etc., this my tweak must come after all that.