coloredlettrine icon indicating copy to clipboard operation
coloredlettrine copied to clipboard

A few additions

Open timgrei opened this issue 2 years ago • 3 comments

Quotation Marks

We added quotation marks to the font (see #139 and #140 of EB Garamond). I changed the coloredlettrine command and created a new command coloredlettrinewithquote – which is called internally – to accompany that.

Fill First Line

If you call \fillFirstLine, the text in the second mandatory argument is streched to the remaining line width, until you call \dontFillFirstLine. Also works in columns. The available space is calculated with DefaultLhang, so it does not work if a left hang is set in the optional parameters of the (colored)lettrine command.

Other

I also made a shorthand clrlet for coloredlettrine and changed the default values in the lettrine config file.


    \fillFirstLine
    \clrlet{“A}{book of modern social in-} quiry has a shape that ...

grafik


I will see, what I can do with needspace. Currently, it doesn't exactly do what I expected.

timgrei avatar Feb 25 '23 16:02 timgrei

Still something to correct?

timgrei avatar Mar 09 '23 16:03 timgrei

I'm not able to build with the changes:

xdvipdfmx:fatal: Cannot proceed without the font: /usr/share/fonts/woff/ebgaramond/EBGaramond12-Italic.woff

Not sure why, as this works in the master branch.

raphink avatar Mar 10 '23 10:03 raphink

I have an emph in line 114.

timgrei avatar Mar 10 '23 10:03 timgrei