coloredlettrine icon indicating copy to clipboard operation
coloredlettrine copied to clipboard

Use Needspace so the part of a paragraph on a page is not smaller in height than the initial

Open timgrei opened this issue 2 years ago • 7 comments

Hey there!

I'm currently working on the EB Garamond initials, and we are close to completing the set. So this package is going to gain relevance, and I have a suggestion for improvement.

The coloredlettrine command should include a needspace equal to the lines option + 1, so this won't happen:

grafik

grafik

timgrei avatar Feb 19 '23 21:02 timgrei

Great! I'd welcome a pull request for that feature.

raphink avatar Feb 20 '23 15:02 raphink

Okay, will do, when the initials are done.

timgrei avatar Feb 20 '23 15:02 timgrei

I'm also thinking about making a fork, that gives you two or three predefined styles and abstracts most of the control away. This would then only work for the EB Garamond 12 pt font with very few options, so many people would still need to use this package.

timgrei avatar Feb 20 '23 15:02 timgrei

It'd be too bad to fork. I'm happy to take extra features in this package.

raphink avatar Feb 20 '23 16:02 raphink

The thing is, I don't have any experience developing usepackages, so I would just compile the sty and edit that. :D

timgrei avatar Feb 20 '23 16:02 timgrei

Oh it's pretty simple. The content of the sty is generated from the dtx, just surrounded by macros to generate the documentation.

raphink avatar Feb 20 '23 16:02 raphink

Alright, I'll look into it.

timgrei avatar Feb 20 '23 16:02 timgrei