Science Forums: Quick LaTeX Tutorial - Science Forums

Jump to content

Welcome to ScienceForums.Net!

Welcome to ScienceForums.Net! We welcome science discussion at all levels — from beginners to researchers, covering topics from biology to computer science, and much more. Registration is fast and free, and allows you to post on the forums, so register now and join the discussions!
  
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.

  • Start new topics and reply to others
  • Subscribe to topics and forums to get automatic updates
  • Create a ScienceForums.Net Blog!
Guest Message © 2012 DevFuse
  • 8 Pages +
  • 1
  • 2
  • 3
  • 4
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

Quick LaTeX Tutorial Rate Topic: -----

#21 dave 


Icon
boing
Technically speaking the "proper" way to do it is use \mbox{}, like so:

\forall \epsilon > 0  \, \exists \,\delta > 0 \mbox{ such that } |x-c| < \delta \Rightarrow \left| \frac{f(x)-f©}{x-c} - f'© \right| < \epsilon

(that's the definition of differentiability at a point c)
Dave
SFN Administrator

Blog and photoblog | Get on IRC! | #sfn statistics
0

#22 J'Dona 


Atom
Just going to test the code:

e^{j\pi} + 1 = 0

Sweet, thanks dave! This'll make things a little easier ;)
By the way, I had no idea that:

\int_{-\infty}^{\infty}e^{-x^2} = \sqrt{\pi}

I'll have to remember that. :)
0

#23 bloodhound 


Organism
Ah, i see J'Dona, u must be a physicist. as u used j instead of i. oh yeah, dave, can u corrent my script. i just wanna see what it looks like
0

#24 dave 


Icon
boing
Don't think it works because it's too long; I put a max character limit to stop people typing loads of stuff in and getting a stupidly large image for security purposes.

(btw I think I needed to add a dx to that integral)

(p.s. use i :D)
Dave
SFN Administrator

Blog and photoblog | Get on IRC! | #sfn statistics
0

#25 stevem 


Quark

bloodhound said:

oh yeah, dave, can u corrent my script. i just wanna see what it looks like

Mix maths and text to give this:

Let \{v_1,v_2,...,v_k\}be the basis set for the vector space V which are linearly independent, then it is possible to construct another basis set \{e_1,e_2,...,e_k\}from the original basis set, such that the basis vectors in the new basis set are all orthogonal to each other, i.e. <e_i,e_j>=0 for i \neq j where <,> is the inner product defined on the Vector Space V

That looks fine to me. Don't forget you need to put \ before { and } to tell [LaTeX Error: Syntax error] that you really mean those. If dave could put a math button to insert [ math] and [ /math] tags then it will be even easier to type.
0

#26 dave 


Icon
boing
Was thinking of writing a little math toolbar thing so that you can just click on the math symbols and the latex code would be inserted into the textbox.
Dave
SFN Administrator

Blog and photoblog | Get on IRC! | #sfn statistics
0

#27 blike 


Icon
Where are my ponies?
That would be awesome dave. ^
0

#28 dave 


Icon
boing
I've also got a copy of the latest latexrender code, so I'll post that off to you soon with some instructions blike. I've managed to fix a few of the problems we have when quoting equations; the images produced are now transparent with a very minor reduction in quality from what we have atm, although it requires a little more CPU :-)
Dave
SFN Administrator

Blog and photoblog | Get on IRC! | #sfn statistics
0

#29 stevem 


Quark
Deleted
0

#30 hagbard celine 


Quark
hm

\sigma
0

#31 Primarygun 


Organism
how about subscript how to type it.
It is very useful in chemistry area
0

#32 Primarygun 


Organism
how to install latex, it needed to put many file inside.
Would anyone upload the whole for me ?
0

#33 dave 


Icon
boing
Read the initial post: subscripts are generated by using _

For example, A_{n^2} produces: A_{n^2}
Dave
SFN Administrator

Blog and photoblog | Get on IRC! | #sfn statistics
0

#34 Gauss 


Quark
Dear Dave

I have tried numerous times to use the latex code for Matrix and Align equations. When I use the command for matrix I get:

\begin{matrix} w & x \\ annoyed & z \end{matrix}

and for align:

[LaTeX Error: Syntax error]

As you can see the ampersand persists. I have read a few 'latex' manuals and tried various code combinations. Could you or someone else be able to provide some information to overcome this problem.

Regards
Gauss
The more I know, the less I know.
0

#35 dave 


Icon
boing
The problem is that when you type the & into vB, it cleverly converts it into the html symbol for an ampersand; namely & which is why you're having problems. When I get back from holiday, I'll fix it; it's a fairly simple fix.

Thanks for highlighting the problem though.
Dave
SFN Administrator

Blog and photoblog | Get on IRC! | #sfn statistics
0

#36 Gauss 


Quark
Dear Dave

Thanks for the reply, I had a thought that might be the case.

Regards
Gauss
The more I know, the less I know.
0

#37 Dapthar 


Baryon
Just thought I'd post this link http://www.ctan.org/.../symbols-a4.pdf. It's a relatively small, (approximately 2.3 MB) comprehensive set of symbol tables for [LaTeX Error: Syntax error] and some of its add ons.

The page I got it from is here: http://www.ctan.org/.../symbols-a4.pdf.
You're only given a little spark of madness. You mustn't lose it.
-Robin Williams (1951 - )
0

#38 psi20 


Molecule
test

 sin(  2)
0

#39 bloodhound 


Organism
i love the way gauss writes his post like a letter. and ends it with Regards Gauss....
0

#40 noz92 


Atom
How would I write out something like \sqrt{25} = 5? How would I put the 5 above the \sqrt{25}?
0

Share this topic:


  • 8 Pages +
  • 1
  • 2
  • 3
  • 4
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users