7

I'm exploring KOMA and am trying to create a new type of float using the built-in \DeclareNewTOC functionality. However, the float seems to be pushed to its own page (and/or before any other floats of the same floattype). Tables and figures seem fine, however

Example:

\documentclass{scrreprt}
\usepackage{lipsum}

\DeclareNewTOC[%
    type=example,
    types=examples,
    float,
    floatpos=tb,
    name=Example,
    listname={List of Examples}
]{loe}
\setuptoc{loe}{chapteratlist}

\begin{document}
\chapter{My chapter}
\lipsum[1-6]

\begin{example}
\caption{Example caption}
This is an example
\end{example}

\lipsum[1]

\end{document}

The result is the example is pushed to the third page, even though there is plenty of room on page 2. Thoughts?

Example output:

(image of example output)

3
  • odd, it isn't picking up the default. if you use \begin{example}[tb] then it works. Dec 10, 2013 at 17:32
  • 3
    Seems to be a bug. You should write a bug report. Dec 10, 2013 at 17:33
  • Ok reported to the email from the scrguien document. I will post a follow-up if I hear anything Dec 10, 2013 at 20:02

1 Answer 1

2

This is fixed in v3.12 (2013/12/19) of KOMA-Script. If you haven't already done so you may consider updating your TeX distribution.

2
  • Thanks! I sent an email to the address listed in the Koma script documentation, but the email bounced back. Feb 11, 2014 at 17:18
  • @BenP. The easiest way is to write Markus Kohm directly to the address found on www.komascript.de or leave a post there in the forum.
    – cgnieder
    Feb 11, 2014 at 17:57

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .