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

learn more… | top users | synonyms

8
votes
0answers
99 views

Correcting wrong choice of character variant from a stylistic set

I'm typesetting a document in German blackletter with XeLaTeX and ran across a peculiar — for want of a better word — error: The hyphenation in itself is okay at that position. However, German ...
6
votes
0answers
68 views

How to change hyphenation codes with the change of \language in LuaTeX?

For a word to be "hyphenatable", all its characters must have \lccode>0. With \savinghyphcodes=1 in e-TeX all characters are associated with hyphenation codes by means of a special table (this is the ...
5
votes
0answers
128 views

Adding default hyphenation for transliterated Sanskrit

I would like to be able to select, via polyglossia, Sanskrit in Roman script, and thus get some reasonable default hyphenation rules, as there are, in order of priority: ai, au, kh, gh, ch, jh, ṭh, ...
5
votes
0answers
104 views

Discretionary hyphens don't work in paragraphed footnotes, bug?

I am getting the impression that discretionary hyphens don't work at all in paragraphed footnotes, not really depending on which package is used for the footnotes. I've painfully experienced it with ...
5
votes
0answers
138 views

Error when using selnolig and lua-check-hyphen: attempt to index global 'debug' (a boolean value)

\documentclass{article} \usepackage{fontspec} % required for selnolig \usepackage{selnolig} \usepackage{lua-check-hyphen} \begin{document} Foo \end{document} Using my two favorite lualatex packages ...
5
votes
0answers
93 views

Which languages defined in babel repeat hyphen at start of line after hyphenation?

Babel (v3.9k) states that: \babelhyphen{repeat} inserts a hard hyphen which is repeated at the beginning of the next line, as done in languages like Polish, Portuguese and Spanish. I checked ...
4
votes
0answers
96 views

\- doesn't work in footnote

In the following example the \- in the footnote doesn't work. In Indian languages "dh" is one letter and should not be separated by hyphenation. I know I could use \discretionary here, but I want to ...
4
votes
0answers
53 views

How do I get the list of all broken-over-two-lines words in my document?

The question is quite simple. When I compile my latex document, the pdf will contain words that are broken over two lines (hyphenated). Is there a way to know all the words that my compiler breaks ...
4
votes
0answers
80 views

hairspace + hyphen as hyphen char with Fontspec

I would like to use for hyphen character the combination: hairspace + hyphen, in order to clearly but discreetly distinguish hyphenation from division. The traditionnal way (using another character, ...
3
votes
0answers
37 views

Hyphenation in New Environment

I have defined a new environment for my bibliography (long story short, I have to submit soon and do not have the time for bibdesk managing etc.): \newenvironment{literatur}{% \parskip6pt \...
3
votes
0answers
48 views

Detecting a line break

A command inside a word will make it non-hyphenatable for latex, giving an ugly overfull \hbox, see the first line of sample output. In the following example: \documentclass{article} \usepackage{...
3
votes
0answers
57 views

Override hyphenation settings in caption

As tomorrow is April 1, I'd like to send a somewhat special interim version of my thesis to my supervisor. In the TeXbook, there is a chapter that is set up to make TeX fall in love with hyphenation. ...
3
votes
0answers
61 views

Why zero lccode does not stop hyphenation in LuaTeX?

Compile the following example with tex and luatex: \nopagenumbers \parindent=0pt \parskip=0pt \def\par{\endgraf\hbox to 15em{\hrulefill}} \hsize=1pt \hfuzz=15em 1 'supercalifragilisticexpialidocious \...
2
votes
0answers
35 views

Installing custom hyphenation in Tex Live

I found a Macedonian hyphenation definition online, but I cannot find a way to install it on my Windows machine. I'm using Tex Live. The description on the link is in Macedonian an says: Unpack ...
2
votes
0answers
55 views

Line break at hyphen-initial words in dictionary

I am writing a double-columned dictionary using a quite complex style-file and an external input-file. However, in order to illustrate my problem, I simplified my template, yet incorporated my entire ...
2
votes
0answers
51 views

Install a hyphenation file for xetex

This is a beginner question: I need to use this hyphenation pattern: https://www.ctan.org/pkg/xetex-greek with xetex, how can I do to install it? Thank you.
2
votes
0answers
77 views

Problem with \usepackage[none]{hyphenat}

I wanted to prevent hypernation in my document so I used "\usepackage[none]{hyphenat}". The problem I am having is that my document margins are being compromised with it. I am using: \documentclass[...
2
votes
0answers
81 views

Ragged2e preventing proper hyphenation of long chemical names

In my thesis I use chemical names containing dashes and numbers in section titles. Additionally, each compound is numbered by using the \cmpd{} command from chemnum-package. To prevent the label from ...
2
votes
0answers
64 views

How to define command like "| (german) for greek language? --: allowhyphens, noligature, minimal space

For my polutonikogreek documents I want to use commands/shortcuts like the "| of germanb.ldf, which is \declare@shorthand{german}{"|}{\textormath{\penalty\@M\discretionary{-}{}{\kern.03em}\...
1
vote
0answers
19 views

Hyphenation List to .dic

I have a file that I'm using for hyphenation exceptions in LaTex, that I'm needing to convert to a hyphenation dictionary for use somewhere else. It's my understanding that there's a tool called ...
1
vote
0answers
65 views

polyglossia and Russian hyphenation

I try to set Russian hyphenation for polyglossia/xelatex (I use pandoc 1.15.2.1). I've installed two packages: $ tlmgr info hyphen-russian tlmgr: package repository http://ctan.asis.io/systems/...
1
vote
0answers
58 views

Change \rigthhyphenmin at end of paragraph only

Into paragraph I use: \lefthyphenmin=2 \righthyphenmin=2 and it's correctly for me. But some paragraphs ends with too short right part (two ot three letters) of hypenated word (looks like ...
1
vote
0answers
29 views

Enumerate text crosses the boundaries

I have simple enumeration (using enumitem package) with disabled hyphenation. \documentclass[12pt, oneside]{extarticle} \usepackage[a4paper, left=3cm, right=1.5cm, top=2cm, bottom=2cm, bindingoffset=...
1
vote
0answers
120 views

Hyphenation in danish LaTeX

I can't really make a minimal working example who shows the problem, because the problem just are there sometimes. But here is the code used: \documentclass[twocolumn, a4, 12pt]{article} \usepackage[...
1
vote
0answers
109 views

brokenpenalty for two sided documents

A hyphenated word where one part is on the left and the other part on the right page of a doubled sided document isn't so bad and sometimes necessary to prevent ugly page breaks. However, I would ...
1
vote
0answers
329 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 ...
1
vote
0answers
357 views

Lyx - Enable emphasized text hyphenation, prevent overflow

I use emphasis in Lyx to indicate variables in a description of a computational algorithm. Some of these variables have a long name. Lyx does not attempt to hyphenate these variables when they enter ...
1
vote
0answers
59 views

ConTeXt: Disable Hyphenation, Enable Indentation, and Enable Sorting for Bibliography Entries (Items in List of Publications)

Enable Indentation I've tried: \setuplist [pubs][ before={\indentation}, ] and also: \setuppublications[ indentnext={yes}, indenting={yes}, ] Unfortunately, no effect. I would like both ...
1
vote
0answers
416 views

Package polyglossia Warning: No hyphenation patterns were loaded for `English'

I'm running Arch Linux and installed texlive 2013 via tlmgr. My file is this: \documentclass{paper} \usepackage{lipsum} \usepackage{xltxtra} \usepackage{polyglossia} \setmainlanguage{english} \begin{...
1
vote
0answers
154 views

german hyphenation

I am using inputenc to have umlauts etc. it works fine, if I am not change hyphenation , but I want to have german hyphenation too. \documentclass[12pt,twoside]{report} \usepackage[a4paper]{geometry} ...
1
vote
0answers
165 views

Em dash out of right margin

I am almost sure this question was already asked somewhere (I couldn't find it). Still why my em dash and the word proceeding it are typeset out of margins? the source is proliferation---nextword ...
1
vote
0answers
356 views

Prevent header hyphenation in tabulary

How is it possible to prevent tabulary environment hyphenating table headers? Perhaps redefining \tyformat, but I can't find any reference to this command. EDIT As suggested in comments, I tried ...
0
votes
0answers
16 views

How to force hyphenation on href text part

I have a text converted to latex by pandoc. Here the markdown construct [www.ex.com/long_url_with_underscores](http://www.ex.com/long_url_with_underscores) is converted to \href{http://www.ex.com/...
0
votes
0answers
8 views

How to apply \nobreak to the last line of page?

I think it isn't good when a word hyphenates to another page. We can use \nobreak{word} to prevent hyphenation. Without \nobreak: With \nobreak{архитектурная}: Can we do something like it ...
0
votes
0answers
17 views

long word after nonbreaking hyphen overflows

I tried the solution given here and here, however the mbox mechanic seems to lead to an overflow before the linebreak depicted below. Could the mbox command somehow be modified to not show this ...
0
votes
0answers
33 views

How to exclude ligatures from hyphenation, if their constituent characters have non-zero lccode?

Is there some trick to make LuaTeX hyphenate ``xxaaxx'' in the following example? \language255 \righthyphenmin=2 \lefthyphenmin=2 \hyphenation{xx-aa-xx} \parindent=0pt \hsize=1pt \hfuzz=100pt \lccode`...
0
votes
0answers
29 views

Hyphenation between syllables

In XeLaTeX (with polyglossia), how can one alter the general hyphenation patterns always to divide between syllables? Often this will be acheived by dividing after vowels and between consonants. For ...
0
votes
0answers
66 views

Auto hyphen in a Report

I am working on a LaTex "report" using WinEdt 9. The complied document contains "hyphen" which are generated by default. Is this possible to prevent from it. I tried \usepackage[none]{hyphenat} which ...
0
votes
0answers
62 views

How can I trace a problem with hyphenation inside special environments?

For quite some time now I've been having trouble with the hyphenation of Turkish text in mdframed environments. I have been unable to come up with a sane MWE that exhibits the problem. It only seems ...
0
votes
0answers
233 views

Windows API error 1392 using hyperref

When I compile the following very M(N)WE with pdflatex I get the error message pdflatex: Windows API error 1392: The file or directory is corrupted and unreadable. pdflatex: Data: C:\Program Files (...
0
votes
0answers
59 views

for greek: insert minimal spacing, add point for hyphenation

I want to define for greek a command/shortcut similar to the german "|, which inserts minimal space and marks the (by far) preferred point for hyphenation. Additionally I need a second command/...