I have very large section title, which goes upto two lines with hypenation. I want the section title to be justified, but it should not be hypenated anyways.
Please help me.
Regards,
Muthu
Code for your reference:
Code: Select all
\documentclass[10.5pt,english]{book}
\usepackage{fancybox,array,amsmath,amssymb,babel}
\usepackage[centering,
headheight=14pt,
headsep=10pt,
includehead,
papersize={18cm,24cm},
text={15.25cm,19.2cm},
dvips=false,
pdftex=false,
vtex=false]{geometry}
\usepackage[cam,a4,center,dvips]{crop}
\headheight = 14pt
\headsep = 10pt
\hyphenpenalty=5000
% title formating %
\usepackage{titlesec}
\titleformat{\section}{\large \fontfamily{phv} \bfseries\uppercase}{\thesection}{1em}{\raggedbottom}
\titleformat{\subsection}{\fontfamily{phv}
\fontsize{11}{27.5}\bfseries}{\thesubsection}{1em}{\raggedbottom}
\titleformat{\subsubsection}{\fontfamily{phv} \bfseries}{\thesubsubsection}{1em}{\raggedbottom}
\titlespacing{\subsection}{0pt}{*2}{*1}
\titlespacing{\subsubsection}{0pt}{*2}{*1}
\begin{document}
\thispagestyle{empty}
\setcounter{chapter}{1}
\setcounter{secnumdepth}{3}
\setcounter{page}{1}
\section{Classification Of Indicating Instruments According To Limiting Error}
\end{document}