diff options
author | Karl Berry <karl@freefriends.org> | 2007-12-28 19:57:02 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2007-12-28 19:57:02 +0000 |
commit | c7cfef6687f65c2538898ddd7c6bc9c9ba50e58d (patch) | |
tree | 8f4de70d1a11463779871162ba84c1dbc874155b /Master/texmf-doc/doc/english/FAQ-en/html/FAQ-wdnohyph.html | |
parent | 8948a31a6e2ac27883f7adac1b339003961ba43f (diff) |
uk-tex-faq 3.17 (7nov07)
git-svn-id: svn://tug.org/texlive/trunk@5977 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-doc/doc/english/FAQ-en/html/FAQ-wdnohyph.html')
-rw-r--r-- | Master/texmf-doc/doc/english/FAQ-en/html/FAQ-wdnohyph.html | 24 |
1 files changed, 19 insertions, 5 deletions
diff --git a/Master/texmf-doc/doc/english/FAQ-en/html/FAQ-wdnohyph.html b/Master/texmf-doc/doc/english/FAQ-en/html/FAQ-wdnohyph.html index 9eb25cbd83a..35e272da889 100644 --- a/Master/texmf-doc/doc/english/FAQ-en/html/FAQ-wdnohyph.html +++ b/Master/texmf-doc/doc/english/FAQ-en/html/FAQ-wdnohyph.html @@ -2,10 +2,10 @@ <title>UK TeX FAQ -- question label wdnohyph</title> </head><body> <h3>Preventing hyphenation of a particular word</h3> -<p>It’s quite possible for (<em>any</em>) hyphenation of a particular word +<p/>It’s quite possible for (<em>any</em>) hyphenation of a particular word to seem “completely wrong”, so that you want to prevent it being hyphenated. -<p>If the word occurs in just one place, put it in a box: +<p/>If the word occurs in just one place, put it in a box: <blockquote> <pre> \mbox{oddword} @@ -14,7 +14,7 @@ hyphenated. (Plain TeX users should use <code>\</code><code>hbox</code>, and take care at the start of paragraphs.) However, boxing the word is not really advisable unless you are sure it only occurs once. -<p>If the word occurs commonly, the best choice is to assert a +<p/>If the word occurs commonly, the best choice is to assert a non-hyphenation for it: <blockquote> <pre> @@ -23,7 +23,7 @@ non-hyphenation for it: </blockquote><p> This hyphenation exception (with no break points) will be used in preference to what TeX’s hyphenation algorithm may come up with. -<p>In a multilingual document, repeat the exception specification for +<p/>In a multilingual document, repeat the exception specification for each language the word may appear in. So: <blockquote> <pre> @@ -36,5 +36,19 @@ each language the word may appear in. So: </blockquote><p> (note that <i>babel</i> will select the default language for the document — English, in this case — at <code>\</code><code>begin{document}</code>.) -<p><p>This question on the Web: <a href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=wdnohyph">http://www.tex.ac.uk/cgi-bin/texfaq2html?label=wdnohyph</a> +<p/>A particular instance of this requirement is avoiding the hyphenation +of acronyms; a general rule for those that concoct acronyms seems to +be to make the capital-letter sequence read as near as is possible +like a “real” word, but hyphenating an acronym often looks silly. +The TeX flag <code>\</code><code>uchyph</code> is designed for suppressing such +behaviour: +<blockquote> +<pre> +\uchyph=0 +</pre> +</blockquote><p> +will stop hyphenation of upper-case words. (Note that Plain TeX +syntax is needed here: there’s no LaTeX alternative for setting +this value.) +<p/><p>This question on the Web: <a href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=wdnohyph">http://www.tex.ac.uk/cgi-bin/texfaq2html?label=wdnohyph</a> </body> |