[texhax] Uppercase Titles with titlesec

Alessandro Ceschini alescesc1986 at yahoo.it
Sun Feb 9 11:29:35 CET 2014


Hello everybody

I know that by using \usepackage[uppercase]{titlesec} I get uppercase 
titles, however I need further tune-up like this:

\titleformat{\chapter}[display]
{\centering\bfseries\large}
{\Huge\thechapter}
{0pt}
{}
[]

This apparently invalidates the [uppercase] option; so I tried adding 
\MakeUppercase to {\centering\bfseries\large} but I get the following 
error message:

! Incomplete \iffalse; all text was ignored after line 105.
<inserted text>
\fi

Someone knows how to solve this dilemma?

Best wishes
-- 
/Alessandro Ceschini/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/texhax/attachments/20140209/2a2f70b6/attachment.html>


More information about the texhax mailing list