This is where I'm at:
I know $$ \cos(z) = \frac{e^{iz} + e^{-iz}}{2} , \hspace{2mm} \sin(z) = \frac{e^{iz} - e^{-iz}}{2i}, $$ where $$ \tan(z) = \frac{\sin(z)}{\cos(z)}. $$ Applying the above, with a little manipulation, gives me: $$ \tan(z) = \frac{i\left(e^{-iz} - e^{iz}\right)}{e^{iz} + e^{-iz}}.$$
My thoughts are that I could use $e^{z} = e^{x+iy} = e^x\left(\cos(y) + i\sin(y) \right)$ to express both the numerator and denominator in trig form. Then I could times both by the denominator's complex conjugate as to get a real denominator, which would then, in turn, allow me to express the function in its real and imaginary parts.
However, as I'm sure you'd agree, this is messy, and it's hard to shake the idea that I'm missing something far more elegant.