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.
https://github.com/fmarotta/kaobook
LaTeX Project Public License v1.3c
858 stars 184 forks source link

\sidecite in a \dictum #279

Open sparusaurata opened 1 year ago

sparusaurata commented 1 year ago

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!)