There's a program called MathType that's pretty useful.
Free Trial
Welcome to ScienceForums.Net!
|
After you've registered, come in and introduce yourself, or visit the forum index. If you need any help registering, posting, or if you just have some questions about our site, please feel free to contact us at staff at scienceforums dot net.
|
|
| Guest Message © 2012 DevFuse | |
Quick LaTeX Tutorial
#83 9 October 2005 - 02:59 PM
I agree with Dave that the most sensible thing to do is install LaTeX on your system. But if you really don't want to do that you'll need a LaTeX emulator like mimeTeX.
Assuming that you are using Windows, then download mimetex.exe from there. You can then call mimetex from the DOS command line, but the simplest thing to do is write a batch file:
Save your latex code in mimetemp.tex, run the batch file and the image will appear as mimetemp.gif.
Assuming that you are using Windows, then download mimetex.exe from there. You can then call mimetex from the DOS command line, but the simplest thing to do is write a batch file:
@echo off mimetex -f mimetemp.tex -e mimetemp.gif
Save your latex code in mimetemp.tex, run the batch file and the image will appear as mimetemp.gif.
- Posts: 23 | Joined: 01-June 04
Reply
#91 1 February 2006 - 08:54 AM
What's wrong why can't I see a formula here?
This is generated with matlab 6.5, command Latex(S).
[LaTeX Error: String is too long (1140, limit 1000)]
-\sin(\left({\it Patm}\,t-\arctan({\frac {{\it Pstart}}{\sqrt {-{{\it Pstart}}^{2}+{{\it Pin}}^{2}}}})\sqrt {{\it Kv}}{\it Volume}\right){\frac {1}{\sqrt {{\it Kv}}}}{{\it Volume}}^{-1}){\it Pin}\,\cos(\left({\it Patm}\,t-\arctan({\frac {{\it Pstart}}{\sqrt {-{{\it Pstart}}^{2}+{{\it Pin}}^{2}}}})\sqrt {{\it Kv}}{\it Volume}\right){\frac {1}{\sqrt {{\it Kv}}}}{{\it Volume}}^{-1})\sqrt {{{\it Pin}}^{2}{\it Kv}\,\sqrt {-{{\it Pstart}}^{2}+{{\it Pin}}^{2}}\left (-2\,\sqrt {-{{\it Pstart}}^{2}+{{\it Pin}}^{2}}{{\it Pstart}}^{2}\left (\cos({\frac {{\it Patm}\,t}{\sqrt {{\it Kv}}{\it Volume}}})\right )^{2}+\sqrt {-{{\it Pstart}}^{2}+{{\it Pin}}^{2}}{{\it Pin}}^{2}\left (\cos({\frac {{\it Patm}\,t}{\sqrt {{\it Kv}}{\it Volume}}})\right )^{2}-2\,{{\it Pstart}}^{3}\sin({\frac {{\it Patm}\,t}{\sqrt {{\it Kv}}{\it Volume}}})\cos({\frac {{\it Patm}\,t}{\sqrt {{\it Kv}}{\it Volume}}})+2\,{\it Pstart}\,\sin({\frac {{\it Patm}\,t}{\sqrt {{\it Kv}}{\it Volume}}}){{\it Pin}}^{2}\cos({\frac {{\it Patm}\,t}{\sqrt {{\it Kv}}{\it Volume}}})+\sqrt {-{{\it Pstart}}^{2}+{{\it Pin}}^{2}}{{\it Pstart}}^{2}\right )^{-1}}{\frac {1}{\sqrt {{\it Kv}}}}
Edit:
OK, found the error. In which program can I make a pretty formula based on this latex?
There is a pretty command in matlab but it's not graphical.
This is generated with matlab 6.5, command Latex(S).
[LaTeX Error: String is too long (1140, limit 1000)]
-\sin(\left({\it Patm}\,t-\arctan({\frac {{\it Pstart}}{\sqrt {-{{\it Pstart}}^{2}+{{\it Pin}}^{2}}}})\sqrt {{\it Kv}}{\it Volume}\right){\frac {1}{\sqrt {{\it Kv}}}}{{\it Volume}}^{-1}){\it Pin}\,\cos(\left({\it Patm}\,t-\arctan({\frac {{\it Pstart}}{\sqrt {-{{\it Pstart}}^{2}+{{\it Pin}}^{2}}}})\sqrt {{\it Kv}}{\it Volume}\right){\frac {1}{\sqrt {{\it Kv}}}}{{\it Volume}}^{-1})\sqrt {{{\it Pin}}^{2}{\it Kv}\,\sqrt {-{{\it Pstart}}^{2}+{{\it Pin}}^{2}}\left (-2\,\sqrt {-{{\it Pstart}}^{2}+{{\it Pin}}^{2}}{{\it Pstart}}^{2}\left (\cos({\frac {{\it Patm}\,t}{\sqrt {{\it Kv}}{\it Volume}}})\right )^{2}+\sqrt {-{{\it Pstart}}^{2}+{{\it Pin}}^{2}}{{\it Pin}}^{2}\left (\cos({\frac {{\it Patm}\,t}{\sqrt {{\it Kv}}{\it Volume}}})\right )^{2}-2\,{{\it Pstart}}^{3}\sin({\frac {{\it Patm}\,t}{\sqrt {{\it Kv}}{\it Volume}}})\cos({\frac {{\it Patm}\,t}{\sqrt {{\it Kv}}{\it Volume}}})+2\,{\it Pstart}\,\sin({\frac {{\it Patm}\,t}{\sqrt {{\it Kv}}{\it Volume}}}){{\it Pin}}^{2}\cos({\frac {{\it Patm}\,t}{\sqrt {{\it Kv}}{\it Volume}}})+\sqrt {-{{\it Pstart}}^{2}+{{\it Pin}}^{2}}{{\it Pstart}}^{2}\right )^{-1}}{\frac {1}{\sqrt {{\it Kv}}}}
Edit:
OK, found the error. In which program can I make a pretty formula based on this latex?
There is a pretty command in matlab but it's not graphical.
In the period that Einstein was active as a professor, one of his students came to him and said:
"The questions of this year's exam are the same as last years!"
"True," Einstein said, "but this year all answers are different."
[Albert Einstein]
"The questions of this year's exam are the same as last years!"
"True," Einstein said, "but this year all answers are different."
[Albert Einstein]
- Posts: 695 | Joined: 24-July 03
Reply
#92 1 February 2006 - 03:48 PM
surely the warning that the string is too long explains why it won't work on this forum.
If you want to see it just latex it at home using your installation of latex. This is freely available for all *nix platforms, windows, mac OSX, and probably many more besides. just download the relevant version and enjoy. use google to find it.
If you want to see it just latex it at home using your installation of latex. This is freely available for all *nix platforms, windows, mac OSX, and probably many more besides. just download the relevant version and enjoy. use google to find it.
Matt Grime
www.maths.bris.ac.uk/~maxmg
www.maths.bris.ac.uk/~maxmg/maths
Opinions are mine not my employers.
"Don't you dare use party as a verb in this shop" Dylan Moran, Black Books
www.maths.bris.ac.uk/~maxmg
www.maths.bris.ac.uk/~maxmg/maths
Opinions are mine not my employers.
"Don't you dare use party as a verb in this shop" Dylan Moran, Black Books
- Posts: 1,201 | Joined: 23-February 04
Reply
#94 11 February 2006 - 08:08 PM
it's a slash followed by a space. eg "\ " without the quotation marks. You can insert larger spaces. Use google to get the information; there is a lot of latex on line (no puns please).
Matt Grime
www.maths.bris.ac.uk/~maxmg
www.maths.bris.ac.uk/~maxmg/maths
Opinions are mine not my employers.
"Don't you dare use party as a verb in this shop" Dylan Moran, Black Books
www.maths.bris.ac.uk/~maxmg
www.maths.bris.ac.uk/~maxmg/maths
Opinions are mine not my employers.
"Don't you dare use party as a verb in this shop" Dylan Moran, Black Books
- Posts: 1,201 | Joined: 23-February 04
Reply
#97 11 February 2006 - 08:55 PM
That might well work, but for the newbies remember a lot of tex stuff is deprecated in latex2e (documentclass for instance doesn't work in tex).
Matt Grime
www.maths.bris.ac.uk/~maxmg
www.maths.bris.ac.uk/~maxmg/maths
Opinions are mine not my employers.
"Don't you dare use party as a verb in this shop" Dylan Moran, Black Books
www.maths.bris.ac.uk/~maxmg
www.maths.bris.ac.uk/~maxmg/maths
Opinions are mine not my employers.
"Don't you dare use party as a verb in this shop" Dylan Moran, Black Books
- Posts: 1,201 | Joined: 23-February 04
Reply
#98 14 March 2006 - 06:12 PM
Hey Dave, can you tell me if this is a bug?
Sometimes I get a restricted command error even when its text and not a command, name for example triggers error even if its not preceded by a slash... any ideas?
Cheers,
Ryan Jones
Sometimes I get a restricted command error even when its text and not a command, name for example triggers error even if its not preceded by a slash... any ideas?
Cheers,
Ryan Jones
There are 3 kinds of people, those who can count and those who cannot.
- Posts: 2,254 | Joined: 10-July 05
Reply

Help
Sign In »
Register Now!
























