# Tag Info

21

It's true that by default “Wikipedia” is not hyphenated: \documentclass{article} \usepackage{showframe} \begin{document} wikipedia wikipedia wikipedia wikipedia wikipedia wikipedia wikipedia wikipedia wikipedia wikipedia wikipedia wikipedia wikipedia wikipedia wikipedia wikipedia wikipedia wikipedia wikipedia wikipedia wikipedia wikipedia wikipedia ...

8

A trick learned from egreg. If you put \nobreak\hspace{0pt} between the nonbreakable space and the last name, the last name will be reevaluated as its own entity for hyphenation. Below, I codify that as \? to place the small unbreakable space and reset the "hyphenability" of the following word. \documentclass{article} \newcommand\?{\,\nobreak\hspace{0pt}} ...

4

It hyphenates as you have it in luatex, but xetex, like classic tex, doesn't hyphenate the first word of a paragraph, so you need a 0pt width space. Also because of some polyglossia timing? I needed to do the hyphenation exception after begin document. \documentclass[12pt]{memoir} \usepackage{polyglossia} \setdefaultlanguage{danish} % set language for ...

2

I would avoid a normal space after the apostrophe, preferring a small kerning, but in this case some rules conflict with each other. \documentclass[12pt,a4paper,italian]{memoir} \usepackage[italian]{babel} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \begin{document} This doesn't hyphenate the word immaturità': Ciò che si chiama forse ...

1

Steven should take full credit; I add some considerations about the problem. The separator between initials and surname seems to be controversial and you may be requested to use a normal space instead of the thin space. So it's much better to define a macro that will take care of the issue: just changing its definition will modify the global behavior. ...

1

Note that I assume here that you are using TeX or pdfTeX as your engine (e.g. pdflatex or latex) rather than XeTeX or LuaTeX (e.g. lualatex or xelatex) as the framework you are using presumes a traditional font scenario (TeX fonts, virtual fonts etc.). Hyphenation and fonts in general are a different matter with the newer engines. This cannot be done for ...

1

Insert a space between dell' and `, this confuses LaTeX.

Only top voted, non community-wiki answers of a minimum length are eligible