Text Formattingavoid hyphen

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
rajini
Posts: 64
Joined: Mon Mar 22, 2010 2:27 pm

avoid hyphen

Post by rajini »

hello all,
how can i completely avoid hyphens. Now i am writing my thesis.
I played with hyphenpenalty/tolerance codes..but some lines go beyond the right margin.

thanks.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

avoid hyphen

Post by gmedina »

Hi rajini,

as you have already experienced, suppressing all hyphenation can cause some problems; in this page of the TeX FAQ, however, you can find some suggestions:

Stopping all hyphenation.
1,1,2,3,5,8,13,21,34,55,89,144,233,...
rajini
Posts: 64
Joined: Mon Mar 22, 2010 2:27 pm

avoid hyphen

Post by rajini »

Hi gmedina,

i tried but i am not able to succeed.
[1]. first i used \usepackage[none]{hyphenat}. Then no hyphen but some line go beyond the right margin of the page.
[2]. Then i tried \hyphenpenalty=9000 with \tolerance=1000. But with full limit. Here also no hyphen is formed. But same problem as in [1].
[3]. Now i used \lefthyphenmin and \righthyphenmin setting each 32. No use. So i placed these two commands after \begin{document}. Now i get the same problem as in [1].
[4]. I dont want to do ragged right command.

The codes that i use (only a part i am posting here)

Code: Select all

\documentclass[paper=a4,fontsize=12pt,BCOR=20mm,DIV=15,headsepline,liststotoc,bibtotoc,cleardoubleempty,numbers=noenddot]{scrbook}
\linespread{1.3}
\KOMAoptions{DIV=last}
\usepackage{scrpage2}
\usepackage[ngerman,english]{babel}
Please help me what can i do! I dont want hyphens throughout my thesis.
thanks
User avatar
Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

avoid hyphen

Post by Stefan Kottwitz »

Hi rajini,

you could use the microtype package to improve the way of line breaking.

Stefan
LaTeX.org admin
rajini
Posts: 64
Joined: Mon Mar 22, 2010 2:27 pm

Re: avoid hyphen

Post by rajini »

Hi Stefan,

it is somewhat complicated to read. After looking at it i feel avoiding hyphens is not that easy and straight foreard. But i'll manage to read and let you know the result. It wonder it would make me fell like a copy editor. let us see.
Post Reply