Questions tagged [hyphenation]

{hyphenation} is about controlling hyphenation in (La)TeX documents.

Filter by
Sorted by
Tagged with
0
votes
0answers
13 views

Polyglossia won't load hyphenation patterns

I am compiling a TeX file with XeLaTeX and polyglossia throws the following warning: Package polyglossia Warning: No hyphenation patterns were loaded for `spanish' (polyglossia) I will ...
4
votes
4answers
5k views

How to fix the warning: No hyphenation patterns were preloaded for (babel) the language `Portuguese'?

I am on Windows using this MikTexversion: pdflatex --version MiKTeX-pdfTeX 2.9.6211 (1.40.17) (MiKTeX 2.9.6210) Copyright (C) 1982 D. E. Knuth, (C) 1996-2016 Han The Thanh TeX is a trademark of the ...
5
votes
2answers
954 views

Babel: Vietnamese hyphenation patterns [duplicate]

\documentclass{article} \usepackage[vietnamese]{babel} \begin{document} \end{document} results in this .log produced with TeXlive: ...texmf-dist/tex/generic/babel/babel.sty Package: babel 2016/02/24 ...
1
vote
0answers
44 views

Hyphenation at gender stars, gender gaps, etc

Background Some natural languages have recently seen the addition of gender neutrality emphasis. For example, in German, almost all nouns referring to occupations have a grammatically masculine and ...
1
vote
2answers
84 views

Hyphenation of a language doesn't work in TexLive

I am trying to implement hyphenation patterns for Armenian from hyph-utf8, but polyglossia doesn't recognise it with the message Package polyglossia Warning: No hyphenation patterns were loaded for `...
40
votes
2answers
51k views

How to add global hyphenation rules?

I know about discretionary hyphens, \-, about \allowbreak, \nobreak as well as \hyphenation{...} and even \tracingparagraphs=1 to write hyphenations into the log-file. Those are OK for family names or ...
1
vote
1answer
880 views

MiKTeX hyphenation not working on MacOS. (There is no hyphenation.)

I have just got my first Mac and I'm trying to setup Latex on my system. Everything seems to work fine, except that MiKTeX refuses to hyphenate words, and as a result my rows overflows the width of ...
0
votes
1answer
40 views

Install custom hyphenation

I am trying to install custom hyphenation file. Background info Friend of mine already made a hyphenation file for my language and sent it to tug. Will it pass codereview sooner and when it will be ...
1
vote
1answer
38 views

How to Allow Hyphenation in the Index While Forbidding It in the Rest of the Document

Consider the code \documentclass{book} \usepackage{imakeidx} \let\cleardoublepage\clearpage \makeindex \usepackage{idxlayout} \usepackage{lipsum} \usepackage[none]{hyphenat} % To prevent hyphenation \...
0
votes
0answers
17 views

babelhyphen{nobreak} producing a space, not a non-breaking hyphen

I have a text in which the Dutch place name 's-Hertogenbosch comes up many times, and I don't want a line break at the hyphen. The official solution is to type: 's\babelhyphen{nobreak}Hertogenbosch, ...
8
votes
4answers
2k views

Portuguese: line break at an hyphen in an explicitly hyphenated word

In Portuguese, many words are explicitly hyphenated, such as "anti-inflamatório". According to Portuguese hyphenation rules, if the line is broken at the hyphen, another hyphen should be added to be ...
0
votes
0answers
20 views

hyphenation omitting from a whole text [duplicate]

I was wondering if there is any command to omit hyphenation throughout a document. As seen in the attached picture, and there are a lot of these in my compiled thesis, which is not quite desirable, is ...
0
votes
2answers
24 views

Enable default hyphenation for body of prefixed word

Suppose the word automorphism has correct hyphenation rules, but (anti)automorphism does not (because it contains non letters). Since (anti-) and similar prefixes are common, I’ve written a macro \...
0
votes
1answer
171 views

How might one treat hyphens as hyphens (not minus) in in-line math?

How might one treat hyphens as hyphens (not minus) in in-line math? \documentclass{article} \usepackage[T1]{fontenc} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{parskip} \renewcommand\...
1
vote
1answer
2k views

problems finding correct language.dat

I have installed the portable version of miktex 2.9 on a pc without administrator rights. I try to use the package dutch babel, but it gives the common error of Package babel Warning: No hyphenation ...
0
votes
0answers
30 views

Using \setmainlanguage{german} after \usepackage{polyglossia} leads to odd-looking capital umlaut letters when using EB Garamond

Pay attention to the style of the capital umlaut letters “ÄÖÜ” aud “ÄÖÜ” in both cases. Example 1 (with \setmainlanguage{german}): \documentclass[12pt,a4paper]{report} \usepackage{polyglossia} \...
14
votes
1answer
2k views

How are hyphenation patterns written?

In my miktex folder I checked the hyph-en-us.tex file and found letter patterns written like this: \patterns{ .ach4 .ad4der .af1t ... } What do these dots and numbers mean?
0
votes
0answers
22 views

hyphenating inline verbatim text at underscore [duplicate]

I can hyphenate inline verbatim text at a ':'; however, I want to hyphenate inline verbatim text at an underscore '_', but I can not find a solution. The MWE is as follows. \documentclass{article} \...
0
votes
1answer
42 views

Allow hyphenation in custom latex bib style

I created a custom bib style which renders a reference as [14] R. Boer. Vektor- und Tensorrechnung fur Ingenieure. Springer-Verlag Berlin Heidelberg, 1st ed., 1982. doi:10.1007/978-3-...
0
votes
0answers
47 views

Is there a file with hyphenation for long german words?

Is there a file with lots of hyphenation? In my current project folder is no such file. I had to create it my own. I know that there are packages that could do the same but i find it very hard to ...
1
vote
1answer
66 views

Is it possible to disable hyphenation only for TOC?

I want to keep hyphenation across the document but to be disabled in TOC This code is not working \makeatletter \renewcommand{\@tocrmarg}{2.55em plus1fil} \makeatother Here is the MWE \documentclass[...
2
votes
1answer
79 views

Hyphenation Issue with ArnoPro and polyglossia

Does anyone understand why hyphenation seems not to work as expected with Arno Pro set as main font? If you try the code with Garamond Premr Pro everything works as expected. Thank you in advance for ...
0
votes
1answer
43 views

too much hyphenations at the edge of columns

I am using a journal template for preparing my paper. The problem is that it creates a lot of hyphenated words at the edge of the columns in the pdf file. The following figure shows an example column: ...
0
votes
1answer
66 views

faulty german hyphenation in XeLaTeX

As you see in the picture beneath some words, not only "Gegenüberstellung" the hyphenation is not correct, at the right site of the paper. Unfortunately the different questions relating this ...
0
votes
0answers
30 views

Kpathsee looking for file "babel-xelatex.cfg"

Im working on compiling a format file using a XeLaTeX engine and It is trying to fetch a file babel-xelatex.cfg which is not found anywhere in MacTeX. It seems that upon initialisation "hyphen....
229
votes
8answers
273k views

How to prevent LaTeX from hyphenating the entire document?

I can't find where I can remove any kind of hyphenation and just have LaTeX just do a line break. edit: Honestly speaking I just don't like to read hyphenation anywhere and that's the only reason why ...
2
votes
2answers
32 views

URL in bibliography won't hyphenate causing overfull warning

I've provided a MWE below. I'm trying to hyphenate the URL in bibliography page however solutions given from multiple google searches lead me to nothing. So here I am asking for help. Thank you in ...
2
votes
1answer
46 views

How to get rid of lone `/` in URL of a citation in Bibliography without deleting it?

How do I group the lone / at the line above? or make it look prettier in any other way without deleting the said /? I've provided a MWE below. If it helps, I use latexmk with -pdflua which basically ...
4
votes
2answers
114 views

Super Script and Hyphenation Problems

I am using LuaLaTeX compiler with KOMA-scrbook class. I need to define a command with superscript text, but I do not know why LaTeX disable the hyphenation of words with superscript text. \...
0
votes
1answer
41 views

How to avoid the consecutive hyphenation in a para

i am getting the consecutive hyphen at the line end in a paragraph (more than 5 consecutive hyphen), in a two column format, I already used \doublehyphendemerits=10000, but not solved the issue. how ...
0
votes
1answer
35 views

\hyphenation command not wokring, but manual hyphenation works (XeLaTeX) (Minimal example provided)

I searched the internet to solve my problem and tried several hints and tips, but nothing worked. Manual hyphenation is working, but within the hyphenation command not. (I don't want to hyphenate ...
1
vote
0answers
34 views

How to redefine forward slash? [duplicate]

I'm trying to do this: \documentclass{article} \begin{document} \begin{minipage}{2in} \ttfamily https://www.stackoverflow.com/questions/ask \end{minipage} \end{document} The URL is not being ...
4
votes
2answers
336 views

How to redefine a forward-slash symbol?

I'm trying to do this: \documentclass{article} \begin{document} \begin{minipage}{2in} \ttfamily Hello/Hello/Hello/Hello/Hello/Hello \end{minipage} \end{document} The text is not being hyphenated (...
0
votes
0answers
32 views

Disabling hyphen in words with underscores

I have words with underscores in my document. At the moment, those words are hyphenated and I'm almost happy with the result. But I would prefer these words to wrap to the next line without a hyphen. ...
1
vote
0answers
43 views

Words are not automatically breaking into two lines with "-" [closed]

I am using this (LaTeX2e Proceedings Templates, http://www.icsoc.org/) but some words are not breaking down into two parts with "-" through out the paper. For example, see attached image. ...
1
vote
1answer
33 views

Preventing a line break at the end of a sentence

If I want to prevent a line break between two words, then I insert a ~ like this: Lorem~impsum. But what if I want to prevent a line break between the end of a sentence and the first word of the new ...
3
votes
1answer
7k views

References not respecting margins with biblatex

I am using biblatex with the biber backend for my bibliography. The problem I encountered is that margins are not always respected. It seems to be a fairly common issue, cf. these possibly related ...
0
votes
1answer
191 views

Latex doesn't break line - line goes into border area [duplicate]

In my document I have several lines where the words are not wrapped to the next line. Latex writes it into the border area of the page. I can not reproduce it in an MWE. There it is working correctly....
41
votes
4answers
77k views

Overfull hbox - How do I fix this?

I have a line in tex which has a markup (as a part of a line) as follows: \texttt{org.springframework.beans.factory.BeanFactory} This is giving a overfull \hbox warning. How do I fix this? I am ...
2
votes
1answer
41 views

How to find out if a break occurred at a manually inserted \discretionary?

How to find out if a break occurred at a manually inserted \discretionary? I can't do it by assignments within the arguments of \discretionary—assignments are finished before decision about breaking ...
0
votes
0answers
60 views

Break url in bibliography citation

I found similar issues around, but none of them fitting to my situation. I would like to be able to decide WHERE to break an url in my bibliography. In the examples below, the automatic breaking is ...
0
votes
4answers
144 views

No automatic hyphenation

I am writing a document in English, and no words are being hyphenated unless I include them in a \hyphenation{*} command. For instance, the word 'government' protrudes into the margin unless I include ...
0
votes
0answers
25 views

How to define command to replace spaces with hyphens in long form of acronym

My goal is to have two commands making use of the acronym package's commands \acl and \aclp, but have the spaces contained within the long form of the acronyms be replaced with hyphens. My current ...
0
votes
1answer
25 views

Add space after period when underfull hboxes occur?

Consider this MWE: \documentclass[10pt,journal,compsoc]{IEEEtran} \hyphenation{veryverylongword} \begin{document} \textbf{The word word word word word.} The word-veryverylongword word word word word. \...
0
votes
1answer
48 views

hyphenate even when it creates overfull hboxes

Is there a way to force hyphenation even when it would generate overfull hboxes? I read here (texfaq.org) that when tex can't find a resolution that doesn't overfill the line, it just gives up with a ...
6
votes
2answers
222 views

What's the difference between `--` and `\textendash`?

It looks like -- and \textendash have different line-breaking behaviour in LaTeX. I'd assumed that they would just insert an en dash character, and then act the same, but it looks like they don't from ...
0
votes
0answers
29 views

Make hyphens appear in an acronym when used as an adjective

I have an acronym defined as \acro{BSM}[BSM]{Beyond Standard Model} which appears the first time as an adjective. I would therefore like it to be hyphenated, so that instead of having: Beyond Standard ...
2
votes
3answers
138 views

Apply lefthyphenmin to parts of a word spelled with hyphens

In German, there are some words that have a single letter separated with a hyphen, for example "E-Ink-Display", "E-Auto" (electric car), "E-Mail", "x-Achse" (x-...
0
votes
1answer
69 views

Automatically making spaces (preferably also hyphens) after 3-or-less-chars words non-breaking

In Polish and Czech typography short words should never be typeset at the end of a line, hyphenating a longer word is preferred instead. Sadly typing a NB space after every short word adds a lot of ...
1
vote
1answer
77 views

babelshorthand "= does not work with BibLaTeX?

I am using LaTeX with package babel and biblatex regularly in my mostly german language based documents. Recently, I added a similar note to all of my BibTeX entries, whenever the entry referred to an ...

1
2 3 4 5
20