I went with the latter as it seemed more straight forward using:
Code: Select all
\newcommand{\colorfig}{
\protect{\begin{textblock}{6}(0,0)
\begin{center}
original in color
\end{center}
\end{textblock}}
}
Code: Select all
\colorfig
Code: Select all
\begin{figure}[htbp]
\centering
\includegraphics[width=0.8\textwidth]{img/03.eps}
\caption[TOC caption]{caption}
\label{fig:img03}
\colourfig
\end{figure}
Is there a way round this - am I trying to do something in a complicated way that can be done quite simply?
I have tried "\protect{\colorfig}" and moved the \colorfig command within the figure environment to no avail.
Thanks in advance for any assistance.
Ralph
I'm using the following packages (along with several others)
Code: Select all
\usepackage{fancyhdr}
\usepackage[absolute]{textpos}
\setlength{\TPHorizModule}{10mm}
\setlength{\TPVertModule}{\TPHorizModule}
\textblockorigin{75mm}{13mm}