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

learn more… | top users | synonyms

3
votes
0answers
99 views

Greek and Hebrew hyphenation in longer texts in LuaLaTeX

To typeset English + ancient Greek + Hebrew, paragraph length, I use XeLaTeX + polyglossia. I've been trying LuaLaTeX + babel in case this is the way of the future. In the minimum example below, I ...
10
votes
1answer
99 views

Hyphenate when using underscore as a letter

In many place in my current text I have to insert something like Name_of_model for instance. I found the last suggestion in this answer very helpful. However, I am facing a problem when it come to ...
3
votes
1answer
147 views

How to turn off hyphenation in ToC only?

Here's what my template looked like before: \usepackage{tocloft} \renewcommand{\cftsecleader}{\cftdotfill{\cftdotsep}} I changed it to this: \usepackage{tocloft} ...
3
votes
1answer
99 views

Overlong line even with suggestions for hyphenation

I have a paragraph which starts with \documentclass[a4paper,11pt,twoside]{book} \setlength{\textwidth}{14.6cm} \hyphenation{MnTPPCl CoTPP} \begin{document} We studied surface doping with the ...
0
votes
0answers
28 views

URLs and justification [duplicate]

I am having difficulties in keeping long URLs inside the correct margins in LyX. I can understand why there are difficulties in hyphenating URLs at a point that will ensure the average reader will ...
6
votes
2answers
123 views

Redefining the emdash so as to allow hyphenation

OK, so I use the emdash as follows: someword---anotherword, but the problem is this prevents hyphenation of both words around the dash. I can fix this by replacing --- with \textemdash, but I was ...
8
votes
1answer
493 views

Add hyphenation pattern for word with special characters

The \hyphenation command can be used to add extra hyphenation patterns globally to a document. This is useful for special words, that are not present in the general hyphenation patterns. ...
0
votes
0answers
96 views

How can I stop automatically-inserted hyphens acting as boundary character?

When TeX inserts a hyphen, ligature rules that apply to the boundary character are applied before the hyphen. How can I prevent this? (I checked that the font is not changing at this point.) Checking ...
2
votes
1answer
80 views

Text in itemize goes onto margin and doesnt align with other text

I'm having some problems with margins. \usepackage[top=2.5cm, headsep=0.4cm, bottom=2.5cm,left=2.5cm, right=2.5cm]{geometry} \geometry{bindingoffset=5mm} When I use itemize, the text doesn't align ...
1
vote
0answers
85 views

URL constantly results in a badbox

I am trying to insert a long url into a LaTeX document. I'm using hyperref package to make them clickable. However, Kile constantly tells me that it results in a badbox. It is strange, since, well, ...
2
votes
1answer
85 views

missing several fields in a bibliographic entry

Clarification: I'm writing a thesis. Edit: It seems that my TeXworks doesn't compile -- to a en-dash, any idea why? I just use – for now with XeTeX. I compile with XeLaTeX + MakeIndex + BibTex and ...
4
votes
1answer
182 views

Hyphenate long acronyms

I'm using the package acronym but I have a problem. I have a very long acronym "ADD1/SREBP1". I defined it like this: \acro{srebp}[ADD1/\-SREBP1]{adipocyte determination-and differentiation-dependent ...
11
votes
2answers
121 views

increase \hyphenation{word1 word-2…} capacity

We use LaTeX to typeset a large collection of books with many proper names. We use the \hyphenation{word1 word-2...} command to specify words that should not be hyphenated and to suggest hyphenation ...
1
vote
1answer
71 views

A hyphen is not displayed in chemfig

I have a problem with a hyphen that is not displayed (according to my pdf file) in a chemical structure (after the arrow, {n}-Bu_4N^+)=-=)), although it is present in the code. My sample code is ...
2
votes
1answer
66 views

How to get rid of the hyphenchar in XeLaTeX

I have the following TeX file which runs on XeLaTeX: \documentclass{article} \usepackage{fontspec} \usepackage{polyglossia,xltxtra} \setdefaultlanguage{malayalam} ...
0
votes
1answer
138 views

hyphenation of chemical names

i use the datatool package to read a csv table which contains names of chemical compounds in one column. Those names are very long and have to be hyphenated. The problem is that these names contain -. ...
1
vote
1answer
80 views

Two hyphenation problems with non-language items

The first hyphenation problem occurs with the double-word "algébrico-géometriques", which is in French, and I'm writing in English. Unfortunately, I already tried different variants of ...
4
votes
3answers
101 views

How to break words at paragraph width?

I have a few long nonsensical words I'd like to break at the same place as the other words. How do I do it? Example below. The text quoted is: As an example of the two first properties, the ...
9
votes
2answers
2k views

A short hyphen in a math formula

In a LyX math formula, I want to write something like "r-number". However, the usual dash looks too long (like a minus sign). I am looking for a short, possibly upper hyphen. I couldn't find it in the ...
7
votes
2answers
85 views

Looking for a special printhyphens macro

In May 2012 user9588 answered: \documentclass[12pt,a4paper]{article} \def\rehbox{{\unskip\unpenalty\setbox0\lastbox\ifhbox0 \rehbox \hbox{\unhbox0} \else \leavevmode \fi}} ...
14
votes
3answers
1k views

Help on dealing with items divided with slash

I am using a number of items in text that are divided with a slash. For example dates in different calendars or names of locations, such as 585/1190~CE (the first number is the year in Islamic lunar ...
2
votes
1answer
2k views

Breaking words at the end of line

LaTeX tends to break words at the end of the line when that causes better typography. Great. I'd like to have some sort of influence on where the words are broken, though. For example, LaTeX ...
0
votes
0answers
85 views

What to do so text won't splitted on the edge of paragraph? [duplicate]

I don't know if my title is descriptive enough, but that is my problem. In justified paragraph some text will be splitted, like 'descriptive' become 'des-criptive' and the 'criptive' part is on the ...
5
votes
2answers
86 views

Boxes of zero height, depth and width unexpectedly affecting document spacing

I was adding some mark up for a roughdraft of a document I'm working on. But when I eliminated the mark up, the spacing and linebreaks came out differ. My intention was to create boxes of zero ...
4
votes
2answers
157 views

custom word-wrapping in tablecolumns with fixed width

I have a somewhat special problem. I want to create a fixed-width table column (for example by using the p{0.2\textwidth} column-type). But in the column are really (!) long words, containing mostly ...
3
votes
2answers
336 views

MikTex 2.9 Serbian Cyrillic hyphenation problems

I have MikTex 2.9 on XP. Is there anybody to give me instruction how to set up program so that I can use serbian cyrillic hyphenation in it. I am not good in LaTex and I spent a lot of time trying to ...
5
votes
2answers
1k views

Using \hyphenation and umlauts

I have included the ngerman package and I write \hyphenation{An-fangs-n"a-he-rung} into the preamble of my document. However, latex complains with !Improper \hyphenation will be flushed. ...
5
votes
1answer
312 views

Automatic long word breaking in whole document

In my document some of long words are not automatically broken at the end of the line. Is there a way to fix that?
2
votes
1answer
848 views

Hyphenation in bibliography with Biblatex [duplicate]

The hyphenation in my bibliography is off somehow, I can't figure out why. Look: \documentclass{scrreprt} \usepackage[style=alphabetic,hyperref=true]{biblatex} \bibliography{\jobname.bib} ...
8
votes
1answer
163 views

Simple transliteration in LaTeX (for Latin)

I would like to typeset the same latin text in two or more "spellings". My source is a modernized spelling (distinguishing i/j, u/v) and I would like to display it both with and without this ...
8
votes
1answer
356 views

Hyphenation command does not work with Greek words

I am relatively new to LaTex. I am struggling to write a report that contains mixed Greek and English words. The main language of the report is Greek. Therefore, I use the babel package. However, ...
13
votes
1answer
332 views

(Another) problem with url hyphenation in bibliography

What I am about to ask has already been asked many times, but nothing seems to work for me so far. Basically I am having troubles in getting urls hyphenated correctly in the bibliography. I modified ...
2
votes
1answer
121 views

Autohyphenation of compound Russian words

The title says it all... how? There are a lot of compound Russian words that have a hyphen and they need to be hyphenated just like any other word. Polyglossia can do this for German with "- and "= ...
8
votes
2answers
117 views

Line breaking with `and/or` + babel

I have continuously come up with the problem of overfull hboxes because sometimes I write and/or in my papers. For example, this phrase: To design and implement a biofeedback system for alerting ...
4
votes
1answer
91 views

Hyphenate term with numbers and white space within acronyms

I want to use the command \hyphanation to force latex keeping terms in the same line The terms are for example IAS 39 and IFRS 9. I use acornyms for IAS and IFRS and let a white space between the ...
24
votes
1answer
428 views

Evaluate typographical beauty of a document (widow, orphans, hyphens, etc) in order to optimize the page geometry

When finalizing documents, one of the last things I do is usually to play with the page geometry to improve the overall layout: get rid of a few orphans or widows, reduce the number of hyphenations, ...
5
votes
1answer
212 views

How to change hyphenation language without Babel?

I would like to change hyphenation pattern in pdlatex without using babel, because babel kills my document class in my language (hungarian). Unfortunately I cannot find a way to change the pattern ...
2
votes
2answers
311 views

hyphenation and justifying in \epigraph

Is it possible to justify and hyphenate quotes typeset within an \epigraph? An MWE and its output are shown below: \documentclass{article} \usepackage[english]{babel} \usepackage{blindtext} ...
2
votes
0answers
78 views

How set hyphen (divis) to specific unicode char [duplicate]

I need a specific divis / hyphen character or more than one randomly show This code is not working at the present. Does anyone have any suggestions? \documentclass{minimal} \usepackage{blindtext} ...
5
votes
1answer
164 views

Not allowing hyphenation of urls in references

Is there a way to globally turn off hyphenation of links in bibliography? Current state doesn't please me: Minmal working example: \documentclass[12pt,a4paper,oneside]{report} \usepackage{url} ...
3
votes
2answers
128 views

How to change hyphenation of a particular word

Possible Duplicate: Adequate hyphenation of words already containing a hyphen How to change hyphenation of a particular word? specifically I don't like how it is line breaking position ...
9
votes
1answer
205 views

Trying to make sense of TeX decisions (stretching, tolerance)

For example, if I don't set stretch parameters (tolerance, badness, emergencystretch, sloppy, etc) I get some overfull boxes (full LaTeX code post at the end). Notice that TeX seems unwilling to ...
12
votes
1answer
388 views

Ancient Greek hyphenation in LuaLaTeX

Can anybody tell me the current state of hyphenation patterns in LuaLaTeX, especially with regard to Ancient Greek? I searched here on tex.sx and on the web. There are many mailing lists discussing ...
2
votes
1answer
129 views

Command for special text with reserved LaTeX symbols

Surely I am missing something here, but I can't remember =(. I want to build a command that accepts special LaTeX symbols and correctly display them. As special I mean \, _, or some others, and ...
4
votes
2answers
147 views

Disable hyphenation in footnotes

I want to disable hyphenation in footnotes, because I have special codes for a special program and the readers should copy this code into his program and therefore its not good, that there is a hyphen ...
8
votes
1answer
101 views

How to typeset Tibetan in XeLatex with correct linebreaks?

I am trying to typeset Tibetan language in a document, but the text does not wrap at the margin. I think this could be easily fixed if I tell XeLaTeX to recognise the Tibetan tsheg character ('TIBETAN ...
3
votes
1answer
194 views

Hyphenation in classicthesis graffito

I am using the classicthesis package and the graffito side notes it provides. However, I'd like those side notes to be properly hyphenated, even though I think they were not intended to be by the ...
6
votes
1answer
516 views

No hyphens in biblatex

How can I suppress hyphenation in biblatex? (I know that only one sentence usually is considered bad question quality, but why over-complicate a simple (?) problem)
3
votes
1answer
190 views

How I can add my own language [closed]

I wrote an artificial language (conlang). What I can add my own language in LaTeX? Conlang has more letters than English (utf8 and some ligatures) and specyfic hyphenations. Where is simple/minimal ...
4
votes
1answer
122 views

\hyphenation{ } in a part of text

Is it possible to make \hyphenation{ } only in one chapter or small text? Not the whole text but only in small pieces of text. Maybe it is possible to make a new language and use different ...