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

Incorrect spacing of margin figures in "List of Figures" #178

Closed denniskb closed 3 years ago

denniskb commented 3 years ago

Prerequisites

Description

Normally, in the "List of Figures", figures are grouped by the chapter they appear in. Figures from the same chapter are close together while groups of figures from different chapters are spaced apart. Margin figures (\begin{marginfigure}) do not obey this spacing. See this screenshot--7.1 is a margin figure, while 7.2 is a standard figure.

fmarotta commented 3 years ago

Can you provide a minimal working example? Also see #77

denniskb commented 3 years ago

I will try to post one later. For now I have narrowed the bug down to: If the first figure in a chapter is a marginfigure, it will be grouped with the preceeding chapter's figures inside the "List of Figures".

denniskb commented 3 years ago

"Minimal" working example: https://www.overleaf.com/read/dntfknjjxstm

denniskb commented 3 years ago

Can you provide a minimal working example? Also see #77

Same issue

fmarotta commented 3 years ago

Let's discuss in #77, then