TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Upper-case words look awkward when hyphenated. How do I suppress this behavior?

share|improve this question
Are there many of these upper-case words? How do you write them? A usual way would be, put them into an \mbox. – Speravir Mar 18 '12 at 1:32
Assuming your document doesn't contain a whole avalanche of these words and assuming further that these words don't also occur in lowercase spellings (in which case hyphenation might be permissible after all), you can just put them into a \hyphenation command somewhere in the document's preamble. Example: \hyphenation{unhcr unesco unctad} will suppress hyphenation of these words (in uppercase, lower case, and mixed-case spelling). Left to its own devices, TeX might hyphenate these words as UN-HCR, UN-ESCO, and UNC-TAD... – Mico Mar 18 '12 at 2:27
Please have a look at this meta discussion: Asking a question and answering it yourself straight away. For keeping this page readable, let's remove the first "captain" comments, which are a bit chatty. – Stefan Kottwitz Mar 18 '12 at 10:43
@Stefan Kottwitz I believe, even after reading that discussion, that it's useful to ask a question and answer it immediately afterward-- but that one should never accept one's own answer before giving a chance for the community to provide a better one (exactly as it turned out here). – Will Mar 18 '12 at 16:30
up vote 9 down vote accepted

I recommend to define a style for acronyms. This allows consistent style changes later, for example if you change the typographic design of acronyms (such as using small caps) or introducing index commands.

And in this macro it's easy to prevent hyphenation, such as with \mbox.


Some typographers recommend to space out all-caps words a bit. That's what \textsc does here for you.

\parbox{5em}{An EXAMPLE}
\parbox{5em}{An \Acronym{EXAMPLE}}

Acronym example output

share|improve this answer
Thanks, the \textsc is a very nice touch. – Will Mar 18 '12 at 16:36

If the word that shouldn't be hyphenated doesn't occur frequently, boxing it with \mbox{} could be an option.

If it occurs frequently, then \hyphenation could be used to declare no-hyphenation; something like:


However, as lockstep mentions in his comment, this will also prevent hyphenation of the lowercase variant(s) of the same word(s).

share|improve this answer
This will also prevent hyphenation of the lowercase variant(s) of the same word(s). – lockstep Mar 18 '12 at 1:34

Simply add \uchyph=0 to the preamble.

This will actually suppress hyphenation on all words that begin with a captial letter, not just those that are entirely capital letters.

share|improve this answer
This will prevent hyphenation for every word that starts with an uppercase letter, not only for all-uppercase words. – lockstep Mar 18 '12 at 1:10
@lockstep Thanks for catching that, my mistake. – Will Mar 18 '12 at 1:17

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.