1

I installed librebaskerville package and compiled a long text. I love the look of it, but at times words do not hyphen correctly, and a word gets out of the frame. It is hard to explain it, so I took a snapshot of an occurrence from the compiled file

enter image description here

Any folks here had the same problem? And how did you solve it if you had?

On top of that, I noticed that for some reasons footnote are not compiled using the baskerville font, but with the standard font. Also here, I have no idea of how to tweak the code!

Thanks!

11
  • 3
    Mhhh, is there any chance that you can show us an MWE, i.e. a full compilable document, of the bad hyphenation? Just that one paragraph with the problematic hyphenation would be enough.
    – moewe
    Jun 22 '18 at 12:06
  • The first line in a paragraph is always the most difficult one for TeX. I would ignore these overfull \hbox warnings during writing. Once the text is finished, I would try slight rewording to get a better line break. see also tex.stackexchange.com/questions/435343/overfull-hbox-warning for further possibilities. Jun 22 '18 at 12:12
  • 1
    FWIW \documentclass[british]{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{babel} \usepackage{librebaskerville} \begin{document} The focus on individuals' rational behaviour has a strong methodological implication. \end{document} hyphenates at "meth-odological" for me, which seems fine according to M-W merriam-webster.com/dictionary/methodological
    – moewe
    Jun 22 '18 at 12:13
  • 1
  • 1
    @moewe Does barbara count?
    – cfr
    Jun 24 '18 at 1:20
4

"methodological" (and its adverb, "-ly", as well as the noun "methodology" and its plural) are not fully hyphenated by the existing tex patterns.

after egreg pointed out this question to me, i checked the exception list as published in tugboat (and on ctan as the package hyphenex) and found that "method meth-od" is already there since 2011 (but without its plural, which i have now added).

the following entries will be added with the next update:

methods            meth-ods
methodology        meth-od-o-lo-gy
methodologies      meth-od-o-lo-gies
methodological     meth-od-o-logical
methodologically   meth-od-o-logically

curiously, "methodical" and its adverb are hyphenated correctly by the tex patterns. perhaps the pattern that permits this is what is blocking the hyphenation of "methodology" and relatives. for further exploration.

why the second half of "methodological" has no hyphens seems to be the normal practice of this dictionary -- omit hyphens in later parts of compound words. i will continue to follow the guidance of the dictionary in entering new items in the exception list, but note that, in this case at least, tex will hyphenate the latter parts of all these words acceptably, so if it necessary to add an exception on account of failure to hyphenate the "method" part, i would have no hesitation adding hyphens in the "log-i-cal" part as well in the "local" exception entry.

for those not familiar with the exception list, it shows the "standard" u.s. hyphenation forms as given by merriam webster's 3rd new international dictionary, print edition. (the print edition is used rather than an online version as it is advisable to have a fixed point for this endeavor.) the intent of the list is to be a resource for words needed in a local \hyphenation{...} entry, and for possible future updates of the patterns.

(i'm sorry, but i can't answer the second question, why footnotes are compiled using a different font than the main text. that might be a good candidate for a separate question, where it would receive more attention.)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.