I am using a .sty file submitted by a journal which puts the section headers in capitals format. However, when i use the following
\usepackage[compact]{titlesec}
\titlespacing{\section}{0pt}{*1}{*1}
\titlespacing{\subsection}{0pt}{*1}{*1}
\titlespacing{\subsubsection}{0pt}{*1}{*1}
\titlespacing{\paragraph}{0pt}{*1}{*1}
\titlespacing{\subparagraph}{0pt}{*1}{*1}
this formatting is replaced by a format of first letter in capitals, the rest in small lettering. Is there a way to get \titlesec to respect the fonts, lettering, etc of the style file?
Sorry if this question is not very clear. I am happy to clarify further.