erik
---
Office: Department of Physics +358 (0)2 2154242 (Phone)
Åbo Akademi University +358 (0)2 2154776 (Fax)
Porthansgatan 3
FIN-20500 Åbo erik....@abo.fi
FINLAND http://www.abo.fi/~eindola/
If God created me in His image
He's got a weird sense of humor! <><
Actually, this will not work always. I recommend that you read the
FAQ. The best possibility usually is switching to a language without
hyphenations.
I do not right now remember the high-level possibilities, but what
usually works (unless you switch languages in mid-document) is
\language=255
after \begin{document}
--
David Kastrup Phone: +49-234-32-25570
Email: d...@neuroinformatik.ruhr-uni-bochum.de Fax: +49-234-32-14209
Institut für Neuroinformatik, Universitätsstr. 150, 44780 Bochum, Germany
> In the preamble, just insert
> \hyphenpenalty=10000
> and TeX will not hyphenate.
But it will still try hard to hyphenate.
Better to go \newlanguage\none \langeuage\none
and probably also select \raggedright. Without hyphenation there is no
point trying to justify tyhe margins.
David
Gotcha. I hereby declare David Carlisle fallible.
Or will we be seeing Yet Another new command in LateX 3?
--
About the use of language: it is impossible to sharpen a pencil with a blunt
ax. It is equally vain to try to do it with ten blunt axes instead.
-- Edsger Dijkstra
It's takin ewe that lounge too no tis that?
> Yet Another new command in LateX 3?
Yes, sorry I forget that you lot are still using release 2.
David
> The best possibility usually is switching to a language without
> hyphenations.
>
> I do not right now remember the high-level possibilities,
babel has a nohyphenation dummy language for that purpose
(\seleclanguage{nohyphenation} should be the recommanded way...)
--
Thierry Bouche, Grenoble.
Huh??? Unless you are referring to the need for \exhyphenpenalty=10000
as well, I don't see what could be hyphenated when \hyphenpenalty=10000.
Maybe you are getting it confused with the setting \pretolerance=10000,
which does *NOT* always work.
>\language=255
But this could fail when the user switches languages (in order to
have special input characters, for example.)
\hyphenpenalty is probably the most robust against failure, but it
is considerably slower to process than the other two functional methods
(\lefthyphenmin=64 and \language=255)
Benchmarking methods of preventing hyphens. Time in seconds.
With emergencystretch=0
-------------------------------------------------------------------------------
tolerance= 200 900 900 10000
pretolerance= 100 900 -1 -1
-------------------------------------------------------------------------------
<nil> 11.15* 3.55 15.99* 19.84*
hyphenpenalty 7.10** 3.57 7.65 9.88
lefthyphenmin 3.25** 3.59 3.66 5.55
language 3.82** 3.62 4.18 6.16
-------------------------------------------------------------------------------
* = there are hyphenations
** = there are overfull boxes
With emergencystretch=50pt
-------------------------------------------------------------------------------
tolerance= 200 300 300 10000
pretolerance= 100 300 -1 -1
-------------------------------------------------------------------------------
<nil> 10.90* 11.90* 11.80* 17.87*
hyphenpenalty 10.66 11.10 10.89 10.23
lefthyphenmin 6.29 6.40 6.40 5.61
language 6.94 7.12 7.09 6.26
-------------------------------------------------------------------------------
* = there are hyphenations
** = there are very underfull boxes
Donald Arseneau as...@triumf.ca
> In the preamble, just insert
> \hyphenpenalty=10000
> and TeX will not hyphenate.
Yes and no. TeX will still hyphenate at explicite hyphens here. That is,
if you have a word that naturally has a hyphen in it, TeX will still
hyphenate there. To turn that off you should also add
\exhyphenpenalty=10000
Note that if you do this, you should either add to the interword glue, or
use a raggedright setting. Note that the LaTeX command
\raggedright
turns off hyphenation, and that might be what it wanted.
-j
--
Jeffrey Goldberg +44 (0)1234 750 111 x 2826
Cranfield Computer Centre FAX 751 814
J.Gol...@Cranfield.ac.uk http://WWW.Cranfield.ac.uk/public/cc/cc047/
Relativism is the triumph of authority over truth, convention over justice.