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

learn more… | top users | synonyms

25
votes
3answers
3k views

Is it acceptable to hyphenate people’s names?

In some circumstances, for example, B.~Alexander may result in B. Alexan-newlineder. Is this acceptable? If not, is there an elegant way to suppress it? (\hyphenation is too cumbersome and ...
4
votes
2answers
2k views

My first beamerposter, portuguese language not working

I'm trying to make a poster based off the example in this site: http://www-i6.informatik.rwth-aachen.de/~dreuw/latexbeamerposter.php and using the this theme http://www-i6.informatik.rwth-aachen.de/~...
1
vote
1answer
702 views

Hyphenation not working as expected

I have the following text: The example shown in figure \ref{fg:package_normal} shows the scope of the class \textit{org.\-argouml.\-kernel.\-ProfileConfiguration} (\textit{Having}). Unfortunately ...
4
votes
3answers
859 views

Text without hyphenation with Tikz

How do I get the text does not break the line? I have \begin{tikzpicture} \node[align=left,text width=3cm] {Contemplando a contemporaneidade}; \end{tikzpicture} but i need
26
votes
3answers
976 views

Check all hyphenations within a document

I have a book project written in LaTeX, and I have found that quite a number of the hyphenations that TeX produced are wrong. It would be quite painful to scan the document for all hyphenation points, ...
1
vote
1answer
292 views

Hyphenation in Perl package names [duplicate]

Possible Duplicate: Line break in lines with colons I have Perl package name defined as command: \newcommand{\myperlpackage}{\texttt{XXXXX::YYYYY::ZZZZZ}} How can I tell LaTeX to hyphen ...
6
votes
2answers
427 views

Using TeX for hyphenation only

I'd like to use TeX to hyphenate paragraphs of text--and only to hyphenate. My goal is to show hyphenated text on a webpage, with ­ entities where a possible word break could happen. So I'd ...
33
votes
4answers
4k views

How to prevent linebreaks after hyphen if word starts with hyphen?

(Remark: Maybe this is a typically German problem, I'm not sure in which other languages that might be relevant) Sometimes there are words which start with a hyphen, as they are connected with a word ...
16
votes
2answers
2k views

biblatex: per-entry language switching

According to biblatex manual (p.24), the hyphenation field in a bib-entry switches language on per-entry basis: hyphenation field The language of the bibliography entry. The identifier must be ...
6
votes
2answers
4k views

Define new hyphenation

I want to define hyphenation for a word I have somewhat created. I have a word that I have hyphenated like com\-.puppy\-crawl\-.tools\-.check\-style\-.api The thing is that every time I want to ...
12
votes
2answers
1k views

Automatic hyphenation in margin notes

I build a document with notes (like footnotes) on margins. I found help on LaTeX community and now my preamble looks like that: \documentclass{book} \usepackage{marginnote} \renewcommand*{\...
41
votes
7answers
7k views

Avoid hyphenation in “2-D”

How can I avoid hyphenation in words such as "2-D"? \hyphenation{} is not working since the dash is not a letter.
5
votes
3answers
1k views

Prevent hyphenation in \texttt words

Background The text contains programming variable names such as report_city and SUBREPORT_FILE. All such variables are marked up with \texttt. Problem Some variable names are hyphenated: ...
6
votes
3answers
1k views

Replace hyphenation character by a backwards arrow

I am setting e.g. directory names in a typewriter font. These names can become long. With the hyphenat package, I enabled hyphenation. Now, what is missing, is that the hyphenation character is ...
18
votes
2answers
22k views

How can I make my text never go over the right margin by always hyphenating or breaking on word-boundaries?

I've seen several different methods that can be used to make long words not go over the right margin, but all of them have been paragraph-based. I need a solution that can apply to the entire text ...
4
votes
1answer
2k views

How to prevent hyphenation in title (\maketitle)?

I want to have a \maketitle title page where every word in the title is not hyphenated. Elsewhere I wouldn't mind hyphenation of the title (e.g., in the Reference List), but on the title page it looks ...
25
votes
1answer
1k views

Suppressing hyphenation across pages

Is there a way of preventing the last word of a page from being hyphenated?
4
votes
2answers
758 views

How to get hanging hyphenation?

I am using XeTeX from TeXLive-2010-Basic in OSX with plain-format. My try was to follow the TeXbooks setup for commas et such (which I already have working nicely): \defaulthyphenchar=`‐% it is ...
7
votes
2answers
13k views

How can I prevent LaTeX from breaking words and wrapping them to the next line?

I want to have my entire document fully justified but without the words being broken up and hyphenated at the end of a line if it is too long. I have come across the \raggedright argument which ...
9
votes
2answers
351 views

How does this answer work?

Harald Hanche-Olsen posted some interesting code in answer to this question. Could someone explain how it works? I understand (I think) the futurelet and the expansions. I don't understand: Where ...
5
votes
3answers
1k views

LuaTeX cyrillic hyphenation problems

I am trying to use LuaTeX (LuaLaTeX) in MiKTeX 2.9 and I'm stuck with getting it to load cyrillic hyphenation patterns. I'm quite new to LuaTeX, so maybe there's something special about hyphenation ...
96
votes
5answers
89k 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 ...
27
votes
5answers
27k views

Prevent hyphenation and use line break in block of text

I have a custom block of text on my title page which can be longer than a single line. By default LaTeX is hyphenating a word at the end of a line, but I want it to break on to the next line. How do ...
3
votes
1answer
751 views

How do I select the hyphenation algorithm I want to use.

I'd like to use a particular hyphenation pattern, not linked to the language I defined as main language (with polyglossia in xelatex). Is there something like this:? \selecthyphenation{french}
10
votes
2answers
654 views

How to add hyphenation support for custom command?

Given the following custom commands: \newcommand{\topic}[1]{#1\index{#1}} \newcommand{\class}[1]{\textsf{\topic{#1}}} which is used for Java classes with full package name, like: \class{org....
1
vote
3answers
2k views

List the citation key shown by \citep in the references.

Some months ago, I asked a question regarding bibliography hyphenation issue here. In a nutshell, when I was having problems with the hyphenation of the citation keys in the text, I included the ...
10
votes
1answer
5k views

How can I prevent hyphenation in a table column?

I have a table (tabular) with some fixed width columns, and I'd like to prevent a hyphen being inserted (preferring a line break to be inserted prematurely). The sample table's content is below. \...
50
votes
6answers
10k views

Adequate hyphenation of words already containing a hyphen

Unlike in English, in German there are quite a few words that contain a hyphen, e.g., "Arbeiter-Unfallversicherung" (workers' accident insurance). By default, (La)TeX will only break such words after ...
30
votes
3answers
20k views

No hyphenation patterns were loaded for the language

I'm using babel package for spanish language. However, each time I compile my document, the package babel throws me a warning: Package babel Warning: No hyphenation patterns were loaded for (babel) ...
15
votes
2answers
675 views

New language - hyphenation

I'm working in a project (Ubuntu Manual, if you're curious) which requires TeX to create a PDF document. But when we have almost all translated, I've found that there wasn't an hyphenation pattern for ...
18
votes
2answers
3k views

Why words with accented characters can't be automatic hyphenated with the default OT1 enconding?

I was reading the first answer to this question: Why should I use \usepackage[T1]{fontenc}? [...] the default font encoding (OT1) of TeX is 7-bit and uses fonts that have 128 glyphs, and so do ...
15
votes
2answers
13k views

Line breaking (or hyphenation?) of references in apalike

This is a problem I encountered some time ago and I never could solve it: how can you achieve correct line-breaking or hyphenation when citing references with the apalike style? Here is an example: \...