raphink / coloredlettrine

EB Lettrine
54 stars 6 forks source link

A few additions #4

Open timgrei opened 1 year ago

timgrei commented 1 year ago

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 commented 1 year ago

Still something to correct?

raphink commented 1 year ago

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.

timgrei commented 1 year ago

I have an emph in line 114.