ich möchte eine gleitende Infobox zaubern, die etwa ein Drittel der Textweite einnimmt. Ich müsste also wrapfigure und float kombinieren. Leider gelingt mir dies nicht.
Hier ist der Code mit float:
Code:
\documentclass{scrartcl}
\usepackage{float}
\floatstyle{boxed}
\newfloat{infobox}{tbp}{lop}[section]

\newcommand{\info}[2]{\begin{infobox}{\bfseries #1}\\#2\end{infobox}}

\begin{document}
\info{wert}{Inhalt}
\end{document}
Alternativ habe ich auch eine Lösung mit picins gefunden, wobei leider zwei nahegelegene Boxen übereinander überschrieben werden:
Code:
\documentclass{scrartcl}
\usepackage{picins}                 
\newcommand{\infobox}[2]{
    \parpic(0.34\textwidth,0pt)[lf]{
        \parbox[b]{0.32\textwidth}{
             \bigskip {\bf #1}  \small{{{\sffamily #2}}} \bigskip
        }
    }
    \bigskip
}
\begin{document}
infobox{XSLT}{
    XSLT is a stylesheet language that can parse XML files and transform them. The output will be another text file, possibly XML. It offers a lot of capabilities as it is a fully functional programming language.\\
    Like XML, XSLT has also been specified by the W3C consortium.   
  }
\end{document}