fmarotta / kaobook

A LaTeX class for books, reports or theses based on https://github.com/kenohori/thesis and https://github.com/Tufte-LaTeX/tufte-latex.

Home Page:https://github.com/fmarotta/kaobook

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

\sidecite in a \dictum

sparusaurata opened this issue · comments

When I put a \sidecite{} citation in KOMA's \dictum{}, I get an error “Float(s) lost”, I guess it is related to #39.

I first tried to add an offset to force the citation not to float. It raised another error, “Paragraph ended before \sidecite was complete”.

Finally, putting the whole citation between {...} worked:

\dictum[An Author {\sidecite[0ex]{reference}}]{%
    Blah blah blah.
}

so this issue can be considered as solved (I mainly post it in case it can help other people), but the workaround is a bit odd.

(And thanks a lot for this wonderful class!)