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
859 stars 185 forks source link

sidecite overlaps with side toc #217

Open quentinmarolleau opened 2 years ago

quentinmarolleau commented 2 years ago

Summary

image

Currently if you \sidecite a ref in front of a side toc, both will overlap. Is there a better workaround than giving the optional vertical shift to the \sidecite command. I do not like the vertical shift because you might have an other overlapping with an other citation afterwards...

I also approve of the suggestion #216 that could lighten the content of the side margin, and reduce the susceptibility of overlapping issues.

fredguth commented 2 years ago

The code referenced in #216 may help to fix this issue too. If I am not wrong, it keeps track of the position of the last content on the sidebar, so that the next content can be added after it.