I am using standard astrophysical acronyms that include other acronyms, e.g. Coronal Mass Ejection (CME) Interplanetary Coronal Mass Ejection (ICME) and I would like them to work together, that is if I have already used \ac{CME} and the full version of CME has been printed I would like \ac{ICME} to result in Interplanetary CME (ICME), and if not it should give the full version.
In other words, I would like something like this
\documentclass[paper=a4, fontsize=12pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel} % English language/hyphenation
\usepackage[pdftex]{graphicx}% Enable pdflatex
\usepackage[printonlyused]{acronym}
\begin{document}
\begin{acronym}
\acro{CME}{Coronal Mass Ejection}
\acro{ICME}{Interplanetary \ac{CME}}
\end{acronym}
\section{Text}
\acresetall
The \ac{ICME} is a version of \ac{CME}.
\acresetall
A version of \ac{CME} is called \ac{ICME}.
\end{document}
to result in this

instead of this, which it does now



acronymfor my thesis but in the final version (which is the only one I have here) got rid of most of my acronyms at the request of my internal examiner. I'll have a look tonight because I'm sure I had some nested acronym and I'd have hated the "(CME) (ICME)" type of output you have here. I know it's written foracrobut this question might help in conjunction with theacronymmanual. – Chris H May 29 '15 at 14:49