I have a problem with the solution in this post if I don't want bold text for the items.

I changed the code as described below. But the text of the item (e.g. Animal1:) is now in the left margin of the document (I would like to have it at the left boarder like the normal text of the document). I have no idea why this happens, because with the bold text it works fine. Would be nice if someone has an idea.

% arara: pdflatex 

  \par\parshape \@ne \@totalleftmargin \linewidth

    \item[Animal1:] \textbf{Lion}\\
    A lion is ... \blindtext
    \item[Animal2:] \textbf{Elephant}\\
        An elephant is ...
  • Are you aware of environment labeling provided by package scrbase?
    – Johannes_B
    Commented Jun 19, 2014 at 17:28
  • \documentclass{scrbook} \usepackage{blindtext} \usepackage{showframe} \setkomafont{labelinglabel}{\bfseries}%if you want it bold \newcommand{\animalname}[1]{\textbf{#1}} \begin{document} \begin{labeling}[:]{Animal112} \item[Animal1:] \animalname{Lion}\\ A lion is ... \blindtext \item[Animal2:] \animalname{Elephant}\\ An elephant is ... \blindtext \end{labeling} \end{document} You can find explanations in the KOMA-script documentation.
    – Johannes_B
    Commented Jun 19, 2014 at 17:40
  • It seems that I overlooked the labelling environment. That is really a nice and simple solution. Thank you! Commented Jun 19, 2014 at 18:14

1 Answer 1


The labeling environment can be helpful here.

% arara: pdflatex 

%\setkomafont{labelinglabel}{\bfseries}%if you want it bold
\begin{labeling}[:]{longest animal}% the optional argument sets a separator
%   the obligatory argument takes the longest expression
    \item[long Animal1] \animalname{Wombat}\\
    A lion is ... \blindtext
    \item[Animal2] \animalname{Capybara}\\
        An elephant is ...
    \item[long Animal2] \animalname{Nasenb\"ar}\\
        An elephant is ...

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .