Text FormattingDescriptive list with small caps?

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
plowshare
Posts: 4
Joined: Sat Jun 25, 2011 12:59 pm

Descriptive list with small caps?

Post by plowshare »

Hello.

I am new here, I have started using LaTeX a few days ago. Everything is okay at this time but when I try something like not-standard it gives me a headache. I am trying to make a descriptive enumeration I think it is called, this I mean (to avoid wrong spellings):

Code: Select all

\begin{description} 
\item [a] For hyperlinks.
\item [img] For images.
\end{description}
But in my case I would like to small-cap what's inside the [ ]. If I try \textsc{} it doesn't work properly.
Could you please give me a hint to do this?

Thanks!
Last edited by plowshare on Mon Jul 04, 2011 5:08 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
Stefan Kottwitz
Site Admin
Posts: 10348
Joined: Mon Mar 10, 2008 9:44 pm

Descriptive list with small caps?

Post by Stefan Kottwitz »

Hi,

it's very easy if you use a KOMA-Script document class:

Code: Select all

\renewcommand*{\descfont}{\scshape}
That's just one example, those classes extend standard classes by many features and offer many possibilities for customization.

Complete minimal example:

Code: Select all

\documentclass{scrartcl}
\renewcommand*{\descfont}{\scshape}
\begin{document}
\begin{description}
\item [a] For hyperlinks.
\item [img] For images.
\end{description}
\end{document}

Stefan
LaTeX.org admin
plowshare
Posts: 4
Joined: Sat Jun 25, 2011 12:59 pm

Re: Descriptive list with small caps?

Post by plowshare »

Thank you very much Stefan_K!
Post Reply