-
Notifications
You must be signed in to change notification settings - Fork 323
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spacing in List of Figures / List of Tables #5788
Comments
Deno is not the issue, and you should not have to manage it. This message should not be shown really, but it seems I was right to create #4394 to track this. It seems we still don't correct manage to hide the deno upgrade messge on Windows 🤔
I believe this is a LaTeX issue, or configuration regarding default behavior. I have found mention of it in old issue: https://tex.stackexchange.com/questions/187180/spacing-problem-at-list-of-figures As we use Koma script by default for PDF, maybe there is some configuration that can be added :https://tex.stackexchange.com/questions/381398/using-numwidth-in-koma-class-for-list-of-figures-and-list-of-tables 🤔 Anyhow, it seems to be some LaTeX config that can probably be done with including preamble by user, or change the default style in our template (ou in upstream Pandoc) |
Ah, my old pal LaTeX. Thank you so much @cderv ! I updated the
|
I had a look into the KOMA script options. For anyone encountering this, you can pass option to KOMA using format:
pdf:
classoption:
- listof=flat
lof: true
lot: true Doc on KOMA explain this : https://mirrors.ircam.fr/pub/CTAN/macros/latex/contrib/koma-script/doc/scrguide-en.pdf I wonder if we should make this option the default maybe 🤔 . A drawback is that it requires more latex runs to calculate the spacing, but we handle this nicely I believe. Easy enough to change though once you know. @dragonstyle what do you think about our default and possible option to change ? |
I think it would make sense to consider adding this as a part of a feature (e.g. |
Bug description
I think there may be an error with how the spacing is done in the listing of tables and figures. For example, when I get to chapter 10 figure 10 the text reads as
10.10Mosaic Confusion Matrix of Base Model . . . . . . . . . . . . . 430
here is a screen shot of the rendered pdf
after creating the repo example I decided to go further to look at the behavior at 100 figures and here the figure numbers completely overwrite the text:
Steps to reproduce
I made a repo that has an example:
https://github.com/jkylearmstrong/quarto_figure_space_issue
Expected behavior
hopefully add an additional space in between the figure number and the figure name.
Actual behavior
Your environment
Quarto check output
I don't know if
deno
is the issue, I have tried to update it however, when I runfrom RStudio terminal I get
The text was updated successfully, but these errors were encountered: