# Tag Info

2

Hyphenations are based on line breaks to compose a paragraph. The hyphenation algorithm is probably not used at first. \tracingparagraphs=1 \hsize=4em \noindent\hskip0pt implementation \bye The log generated by TeX shows that the word "implementation" is hyphenated (Plain TeX). Indeed, a line break can appear before a space. The TeXbook, chapter 6: ...

19

There is nothing special about implementation. TeX simply does not hyphenate the first word of a paragraph. If you need this hyphenated you have to have glue before it such as \hspace{0pt}. This (mis)-feature is shared with tex variants such as ptex and xetex, however luatex does include the first word in its hyphenation pass, and so would hyphenate your ...

1

Typesetting in narrow columns makes things tricky, microtype hels a bit here but you could just allow badness up to (say) 3000 to go without comment (1000 is the default value) this runs with no warning \documentclass[11pt,a4paper]{report} \usepackage[ngerman]{babel} \usepackage[T1]{fontenc} \usepackage{textcomp} \usepackage{lmodern} \usepackage{microtype} ...

1

First of all, load microtype. It will work magic in your document. Second, typesetting long words in narrow pages is tricky. TeX tries its best to get the best line breaking for your paragraph, but it will struggle when there's not many options. A really long word in a narrow column will reduce the number of inter word spaces TeX can stretch or shrink, so ...

9

Getting hold of a proper resource for generating patterns is not just a matter of volunteer effort. The U.S. and British patterns were derived from commercially published dictionaries. The source of the U.S. patterns is identified in Frank Liang's dissertation (a copy of it is on the TUG web site), and the British patterns are based on an Oxford mini-...

1

To make something a letter for consideration for hypehnation it needs to have a non zero lower-case code (it can lowercase to itself) \documentclass[sigconf]{acmart} \usepackage[utf8]{inputenc} \usepackage{hyphenat} \lccode\_=\_ \lccode\.=\. \catcode`\_=12 % use \sb for math subscripts \hyphenation{Sample_Super-.Very-.Uber-.Long-.Word} \showhyphens{...

3

From the TeXbook, page 286, last but one bullet point: ⟨letter⟩, ⟨otherchar⟩, \char⟨8-bit number⟩, ⟨chardef token⟩, \noboundary. The most common commands of all are the character commands that tell TeX to append a character to the current horizontal list, using the current font. [...] In unrestricted horizontal mode, a ‘\discretionary{}{}{}’ ...

3

I don't think that it can work with luatodonotes. If you look closely you will see that it not only prevents url to break but also hyphenation. It simply stores everything in a hbox and then breaks it into lines. With todonotes it works: \documentclass[letterpaper,11pt]{memoir} \usepackage[english]{babel} \usepackage{xurl} \usepackage[dvipsnames]{xcolor} \...

Top 50 recent answers are included