I'm using the package acronym but I have a problem. I have a very long acronym "ADD1/SREBP1". I defined it like this:
\acro{srebp}[ADD1/\-SREBP1]{adipocyte determination-and differentiation-dependent
factor 1/ste\-rol regulatory element binding protein 1}
But in the text it is not separated and it creates a badbox. How can I fix this problem?
I add a MWE:
\documentclass[a4paper,11pt,titlepage,twoside,openright,draft]{book}
\usepackage[italian,english]{babel}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{acronym}
\usepackage{etoolbox}
\makeatletter
\patchcmd\@acf{\hskip\z@}{}{}{}
\patchcmd\@acf{\hskip\z@}{}{}{}
\makeatother%this patch fixes white spaces after acronyms
\begin{document}
I cite the acronym first here \ac{srebp}. Then in the end of a row like this
but depends pf course on margins \ac{srebp}.
\begin{acronym}[AAAAAAA]
\acro{srebp}[ADD1\slash SREBP1]{adipocyte determination-and differentiation-dependent
factor 1/ste\-rol regulatory element binding protein 1}
\end{acronym}
\end{document}

ADD1\slash SREBP1– cgnieder Aug 01 '13 at 08:58and
but they are not working...
– Stefano_g Aug 01 '13 at 09:02\makeatletter \patchcmd\@acf{\AC@acl}{\AC@foo}{}{} \patchcmd\@acf{\AC@acl}{\AC@foo}{}{} \patchcmd\@acf{\AC@foo}{\hskip\z@\AC@acl}{}{} \patchcmd\@acf{\AC@foo}{\hskip\z@\AC@acl}{}{} \makeatotherbut i guess it's for the long part of the acronym. My problem is with the short one. – Stefano_g Aug 01 '13 at 09:25etoolboxpackage and will produce an error without it, as you could have found out by compiling the latest version of your MWE. – lockstep Aug 01 '13 at 09:30\-todifferentiation-dependentas currently it is only allowed to hyphenate at the dash. (Maybe it would be a good idea to addngerman's shorthands toenglish.) Also I think thatdetermination-andis missing a space. – cgnieder Aug 01 '13 at 10:03