# how to use converted tex from mathtype equation in texmaker? Als

I have got the following TeX equation:

$r(t)=\frac{l}{1+e\cos \theta (t)}$

Now I could not use this in Texmaker. To show the same equation Texmaker wants

$r(t )= \dfrac{l}{ 1+e cos \theta (t)}$\\

So what should I do?

-
Welcome to TeX.sx! A tip: If you indent lines by 4 spaces, they'll be marked as a code sample. You can also highlight the code and click the "code" button (with "{}" on it). –  Corentin Nov 15 '12 at 13:35
I am not sure I understand your problem: the first equation should compile fine. You should remove the \ in the second equation, and use \cos also here. Could you please provide a minimal working example (MWE) that illustrates your problem, including your preamble (\dfrac is defined in the amsmath package). –  Corentin Nov 15 '12 at 13:38

$r(t)=\frac{l}{1+e\cos \theta (t)}$