  We obtain the Einstein-Maxwell equations for (2+1)-dimensional static
space-time, which are invariant under the transformation
$q_0=i\,q_2,q_2=i\,q_0,\alpha \rightleftharpoons \gamma$. It is shown that the
magnetic solution obtained with the help of the procedure used in
Ref.~\cite{Cataldo}, can be obtained from the static BTZ solution using an
appropriate transformation. Superpositions of a perfect fluid and an electric
or a magnetic field are separately studied and their corresponding solutions
found.
