Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to disable hyphenation?

264 views
Skip to first unread message

Lars Otto

unread,
Oct 3, 1997, 3:00:00 AM10/3/97
to Hannu Koivisto

Hannu Koivisto wrote:

> Subject says it all. Preferably without any external package
> so that LaTeX2HTML would work with the technique.

I use something like
\DeclareFontFamily{T1}{hlst}{\hyphenchar\font=-1}}
^^^^^^^^^^^^^^^^^
for the font with thename hlst. I guess I found the information in the
LaTeX Companion book.

Cheers
Lars


Hannu Koivisto

unread,
Oct 3, 1997, 3:00:00 AM10/3/97
to

Subject says it all. Preferably without any external package
so that LaTeX2HTML would work with the technique.

Thanks in advance!

---
Hannu Koivisto | What you see is all you get.
NOYB | - Brian Kernighan
-------------------------------------------------------------

Alain Kessi

unread,
Oct 3, 1997, 3:00:00 AM10/3/97
to Hannu Koivisto

Hannu Koivisto wrote:

> Subject says it all. Preferably without any external package
> so that LaTeX2HTML would work with the technique.

To prevent hyphenation, use either:
\newlanguage\nohyphens
\language=\nohyphens
or
\lefthyphenmin=64

If you are stuck with an ancient version of TeX (2.xx) then use
\hyphenpenalty=10000

(original hint by Donald Arseneau, some years or some lives ago)

David Kastrup

unread,
Oct 7, 1997, 3:00:00 AM10/7/97
to

Alain Kessi <alain...@psi.ch> writes:

> Hannu Koivisto wrote:
>
> > Subject says it all. Preferably without any external package
> > so that LaTeX2HTML would work with the technique.
>
> To prevent hyphenation, use either:
> \newlanguage\nohyphens
> \language=\nohyphens

The above will only function properly if your hyphenation table setup
is done correctly (using the \newlanguage operator). Unfortunately,
this is not always the case. So the second solution might work out
better:

> or
> \lefthyphenmin=64
>
> If you are stuck with an ancient version of TeX (2.xx) then use
> \hyphenpenalty=10000

--
David Kastrup Phone: +49-234-700-5570
Email: d...@neuroinformatik.ruhr-uni-bochum.de Fax: +49-234-709-4209
Institut für Neuroinformatik, Universitätsstr. 150, 44780 Bochum, Germany

0 new messages