I try in to do something like this within a p-type table cell
Code: Select all
{\vspace{3pt}}\begin{small}\emph{\glsentryuseri{##1}}\end{small}
Greetings and thanks in advance Ted
Minimal example (not wuite minimal but pretty close):
Code: Select all
\documentclass{scrreprt}
\usepackage[latin1]{inputenc}
\usepackage[toc,nomain]{glossaries}
\usepackage{ifmtarg}
\makeatletter
\newcommand*{\ifuseriempty}[3]{%
\protected@edef\tmp{\glsentryuseri{#1}}%
\expandafter\@ifmtarg\expandafter{\tmp}{#2}{#3}%
}
\makeatother
\newglossarystyle{acronymAndExplanation}{%
\glossarystyle{long}
% put the glossary in a longtable environment:
\renewenvironment{theglossary}{\begin{longtable}{lp{\glsdescwidth}}}{\end{longtable}}%
\renewcommand*{\glossaryheader}{}%
\renewcommand*{\glsgroupheading}[1]{}%
\renewcommand*{\glossaryentryfield}[5]{\bfseries{\glstarget{##1}{##2}} & ##3 \\
\ifuseriempty{##1}%
{}%
{ &{\vspace{3pt}}
\begin{small}\emph{\glsentryuseri{##1}}\end{small}\\}%
}
% Nothing between groups:
%\renewcommand*{\glsgroupskip}{& \\}%
}
\newglossary[abkuerzungen]{abk}{abkin}{abkout}{Abkürzungsverzeichnis}
\makeglossaries
\newacronym[type=abk]{abc}{abc}{Alphabet}
\newacronym[type=abk,user1={my longer description, which needs multiple lines. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam fermentum porttitor turpis, viverra gravida est dignissim ut. Nulla vitae nisi eu nisi scelerisque congue eu vel lacus. Etiam consectetur nunc ac turpis fermentum pulvinar. Curabitur bibendum sodales leo et fringilla.}]{abba}{abba}{Band}
\glsaddall
\begin{document}
\printglossary[type=abk,nonumberlist,style=acronymAndExplanation]
\end{document}
If my question is unclear or I violated a forum rule please ask or tell me. I tried searching but i might have used the wrong search terms