Tag Info

Hot answers tagged

6

If all “ë” just mean this, then a possible workaround is to redefine the meaning of ë to be "e: \documentclass{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[dutch]{babel} \usepackage{newunicodechar} \makeatletter \newunicodechar{ë}{\@trema e} \makeatother \begin{document} financiën coëfficiënt zeeëend ...


4

you can bury the list of figures or tables in a group, and turn off hyphenation entirely within the group: \begingroup \hyphenpenalty10000 \listoffigures \listoftables \endgroup there might be some overly-stretched lines or overfull boxes as a result, but it's really hard to say for sure without knowing what document class you're using. the tocloft ...


3

From The TeXbook: \discretionary{<pre-break text>}{<post-break text>}{<no-break text>} You could try something like: \newcommand{\sep}{\discretionary{}{}{}} \newcommand{\datasetname}{My\sep long\sep data\sep set\sep name}


2

The microtype package tries to make a better justification and other small typographic improvements. The impnattypo package has the option hyphenation: the suggested implementation strongly discourages hyphenation at the end of pages, as well as hyphenation on two consecutive lines.


1

The Czech hyphenation patterns are OK, but you have used bad font encoding. The CSLaTeX is obsolete, but I try to explain how it works. It reads the Czech and Slovak hyphenation patterns twice: in IL2 encoding and T1 encoding. The appropriate hyphenation pattern is used when one write \usepackage[IL2]{fontenc} or \usepackage[T1]{fontenc}. When you don't ...


1

Use the \mbox command like this \mbox{supercalifragilisticexpialidocious}


1

A possibly “gentle” solution is to input your long words with spaces where the line breaks are allowed. The separator is customizable, here I added an optional argument for changing it at will. I also disabled hyphenation by setting a language with no patterns; this is not necessary if a monospaced font is uses, as usually monospaced fonts disable ...


1

You could load the packages ragged2e and arrayand test with something like >{\RaggedRight\justifying}p{3cm}. But the easiest solution is simply: \usepackage{microtype}. Edit: Both solutions seem not to work with XETEX. See this example: \documentclass[a4paper, onehalfspacing, 12pt, english]{article} ...


1

You have to give up something, if you want to keep justification, and white space control, you need to give up something else. this gives up on the usual hyphenation rules: There are still some gaps but try it with your final font choice, you can always add more hyphenation entries. \documentclass[a4paper, onehalfspacing, 12pt]{article} ...



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