2

A. some heading: Text

B. another heading: more Text

C. yet another head: lots of Tex

I tried:

\begin{description}[\Alph]     %[font=$\Alph\ $\itshape]
    \item[some heading] Text
\end{description}
Dr.PB
  • 767
  • 1
    What is 'Head' here? This is unclear. Normally I would say an enumerate is much better than description here...It looks like you're using enumitem already... –  Sep 09 '16 at 17:06
  • yes, but I don't know, how to do both: description+numbering. Latex needs a one in all package :( – Dr.PB Sep 09 '16 at 17:13
  • Like the fellow environment itemize, description is not numbered. It can be faked, but most times enumerate is easier, in my opinion -- but you were quickly choosing another answer before clearifying the question such that others had a chance to improve their post ;-) –  Sep 09 '16 at 17:15
  • Please enlighten me in this case with enumerate@ChristianHupfer – Dr.PB Sep 09 '16 at 17:19
  • You're question was totally unclear, so in the aftermath of it there's no use in providing an enumerate - based answer, that's why I deleted my answer. –  Sep 09 '16 at 17:28

3 Answers3

4

I'm not sure whether the numbers in Head1, Head2, ... were supposed to be actual numbers or just example of headers, as in first header, second header, and so on.

Output

enter image description here

Code

\documentclass{article}
\usepackage{enumitem}

\newcounter{itemalph}
\setcounter{itemalph}{1}
\newcommand\xitem[1]{%
    \item[\Alph{itemalph}.~#1:]
    \stepcounter{itemalph}
}

\begin{document}
\begin{description}[font=\normalfont\itshape]
    \xitem{Head1} description
    \xitem{Head2} description
    \xitem{Head3} description
\end{description}
\end{document}
Alenanno
  • 37,338
1

I define an enumdescription environment which does the job:

\documentclass{article}
\usepackage{enumitem}
\usepackage{etoolbox}

\newcounter{enumdescr}
\makeatletter
\newenvironment{enumdescription}{%
\setcounter{enumdescr}{0}%
\pretocmd{\descriptionlabel}{\refstepcounter{enumdescr}\enit@format\Alph{enumdescr}.~}{}{}
\apptocmd{\descriptionlabel}{:}{}{}
\setlist[description]{font=\normalfont\itshape}
\description}%
{\enddescription}
\makeatother

\begin{document}

\begin{enumdescription}
  \item[Head1] description
  \item[Head2] description
  \item[Head3] description
\end{enumdescription}

\end{document} 

enter image description here

Bernard
  • 271,350
0

This snippet should work:

\documentclass{article}

\begin{document}

\begin{description}
    \item[A. Head1:] Text
    \item[B. Head2:] Text
\end{description}

\end{document}