I am using textsc in section by manually adjusting fontsize between normal size and script size. For example:
\section{P\scriptsize ROGRAMMING \normalsize P\scriptsize ROGRAMMING}
should produce:
The first letter P appears to be larger than the second letter P, obviously since normalsize
has a fontsize less than fontsize of section
My question is how can I make the second letter P match the size of the first letter P. I don't want to add another normalsize
for the first letter P.
titlesec
.\section{P{\scriptsize ROGRAMMING} P{\scriptsize ROGRAMMING}}
. The effect of\scriptsize
lasts only until the closing brace.\textsc
You should never have fontsize commands in the section argument, the sizes are set by the document class, and are different in the heading, in the table of contents and in page heads.