Questions tagged [hyphenation]

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

Filter by
Sorted by
Tagged with
1
vote
0answers
42 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
83 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 `...
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
37 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, ...
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
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} \...
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
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
65 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....
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 ...
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 ...
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
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 ...
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 (...
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 ...
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 ...
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
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 ...
0
votes
4answers
143 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
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 ...
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 ...
3
votes
1answer
118 views

Do not hyphenate words at an explicit hyphen such as in words starting "non-"

In my document, I don't want to break any words following the text non-, example, non-linear, non-stationary, etc. I'm using Windows7 and 10, and MikTeX 2.9 and LaTeX-dvips-ps2pdf Please advise.... ...
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 ...
3
votes
2answers
93 views

LuaLaTeX and hyphenation / left/right hyphenmin

This is my code (run with LuaLaTeX): \documentclass{article} \usepackage{fontspec} \usepackage{libertine} %\usepackage{polyglossia} %\setmainlanguage{german} \usepackage[ngerman]{babel} \begin{...
3
votes
3answers
121 views

How to center header and numbers in a scientific table and hyphen between numbers

I just started to use LaTex and it's an amazing tool. Exposing my limited knowledge on code development, could someone please provide a solution to my problem? I need a hyphen between the age ...
1
vote
0answers
19 views

Hyphenation pattern file format [duplicate]

If I open a pattern table, the first line looks like: 2 2 .aa6l .ab3a4s What does the numbers mean and the rest of the file?
1
vote
1answer
47 views

How do I encourage hyphenation at the end of the next-to-last line of a paragraph?

My question is similar to an inverse of this question. In my document, which is large, there are numerous instances where a long word at the end of the next-to-last line is pushed to the last line, ...
2
votes
1answer
65 views

how to auto start a new line when text too long

Today I encount a problem, some words did not start a new line and out of the docs like this: what should I do to make it start a new line automatic? This is my text: 结果发现有2条已经读取但是未处理的消息。...
0
votes
0answers
61 views

how to align Armenian text?

I want to align text written in Armenian, but using \justify command doesn't align it completely. There remain some lines which are not fully aligned. How can I fix this ? Thank you
4
votes
2answers
178 views

Hyphenating a word containing a digit/number?

I have seen Force hyphenation for a word beginning with a digit, but I do not think the solution there applies in my case. So, I use pandoc to write Markdown, and to export to PDF via Latex. I have ...
1
vote
0answers
37 views

table only automatically breaks multiple words

When creating a custom glossary (nomenclature) with a longtable, the system only uses automatic word braking for cells with more than one word. The column is a p{...}-column and it works flawlessly in ...
5
votes
1answer
91 views

A version of \showhyphens that works with OpenType fonts

In a 2014 post of the XeTeX list, the Great Master David Carlisle gives the following code for obtaining the same result as with the \showhyphens command, but with OpenType fonts in XeTeX: \catcode`\@=...
2
votes
0answers
65 views

(wrong) hyphenation after apostrophe in Catalan

In a document in Catalan that I am writing in LaTeX, some apostrophed words (e.g., "d’expressió") are wrongly hyphenated after the apostrophe (i.e., "d'-/expressió"). I am using: ...
0
votes
0answers
19 views

Hyphenation in BibTeX

How to disable hyphenation in BibTeX? I know you can disable hyphenation in .bib file, but is there any method to disable line splitting from .bst file or main .tex file. Thanks
2
votes
2answers
46 views

Disable hyphenation in Metropolis' frametitles

How do I disable hyphenation in in the otherwise very nice Beamer theme Metropolis? I have tried looking through all of Metropolis' code relating to the frametitle, but I can't figure out what ...
1
vote
1answer
36 views

Better spacing in section title

Consider the following mwe: \documentclass[oneside]{book} \usepackage{fancyhdr} \renewcommand{\sectionmark}[1]{\markright{#1}} \begin{document} \section{This is a section title with a long final ...
0
votes
0answers
17 views

chapter heading prevent hyphenation or overflow

In the example below i want the chapter headings to not hyphenate but to be on the next line. I have tried multiple solutions i found on TexExchange. These do not seem to work for my example. Setting ...
2
votes
2answers
52 views

Forbid BibLaTeX to break URLs at hyphens

By default, BibLaTeX will happily break lines at hyphens in URLs: \documentclass{article} \begin{filecontents}{main.bib} @online{entry, title = {Title}, subtitle = {Subtitle}, author = {Doe, ...
1
vote
1answer
60 views

Define hyphenation rules in a separate file

I always try to organize my document through the use of dedicated files. I was wondering if there is a way to define the hyphenation rules that are normally part of the preamble in a separate file? I ...

1
2 3 4 5
20