[Tex/LaTex] First few words of a chapter/section in small-caps

small-caps

Is there a package that automatically tells LaTeX to use small-caps for the first few words (say, three) in a chapter/section/subsection?

Thanks

Best Answer

Not that I'm aware of. You can use the magaz package to make the whole first line small caps, or you could write a command like this:

\def\scwords #1 #2 #3 {\textsc{#1} \textsc{#2} \textsc{#3} }
...
\scwords Lorem ipsum delorem fugit however this goes

Then if you need more/fewer words just change the number of parameters in \scwords. (It doesn't seem worth the hassle to write an iterating version.)

Making this happen automatically is a little more difficult.