# LaTex Tutorial

Show 40 post(s) from this thread on one page
Page 2 of 7 First 123456 ... Last
• November 15th 2006, 01:29 PM
Quick
Quote:

Originally Posted by Soroban
Hello, TriKri!

Use \neq . $\neq$

that's the way I do it, Hacker's way is to write $$\not =$$ if that helps you to remember
• November 20th 2006, 03:08 AM
$4 \pi r^2$
• November 20th 2006, 11:30 AM
Soroban
Here are a few more LaTeX codes you may enjoy ... or not.

\circlearrowleft . $\circlearrowleft$ . . . \circlearrowright . $\qquad\circlearrowright$

\curvearrowleft . $\curvearrowleft$ . . \curvearrowright . $\curvearrowright$

\rightsquigarrow . $\rightsquigarrow$

\bar{x} . $\bar{x}$

\langle . $\langle$ . . . . \rangle . $\rangle$

\hdots . $\hdots$ . . \cdots . . $\cdots$ . . \ddots . $\ddots$

\pmod{n} . $\pmod{n}$

\boxed{x = 1} . $\boxed{x = 1}$

9\choose3 . $9\choose3$ . . . \binom{9}{3} . $\binom{9}{3}$

\! . removes a space
. . \sin^2x + \cos^2x produces: $\sin^2x + \cos^2x$
. . . . . . . . . . . . . . . . . . . . . . . . . . $\uparrow$ . . . . $\uparrow$
I found that the extra spaces can be confusing.
They can be removed with: \sin^2\!x + \cos\!x: . $\sin^2\!x + \cos^2\!x$

• November 20th 2006, 02:04 PM
TriKri
Thanks! That can be useful. :) Can someone show me how to make a Pascals triangle with LaTex code? Creating a new row with \\ wont work if I'm not creating a matrix or something similar with surrounding things.
• November 20th 2006, 02:09 PM
Quick

Quote:

Originally Posted by TriKri
Thanks! That can be useful. :) Can someone show me how to make a Pascals triangle with LaTex code? Creating a new row with \\ wont work if I'm not creating a matrix or something similar with surrounding things.

Type in: [draw]Point (100,80); Point (50,200); Point (150,200); Segment (1,2); Segment (1,3); Segment (2,3); Midpoint (4) [hidden]; Midpoint (5) [hidden]; Midpoint (6) [hidden]; Segment (7,8); Segment (7,9); Segment (8,9);[/draw] to get the picture at right.
• November 20th 2006, 05:23 PM
Quick
oops, you wanted Pascals triangle :(, I gave you sierpinski (however that's spelled)

type in:
[code]
1
1 1
1 2 1
1 3 3 1
1 4 6 4 1
1 5 10 10 5 1[/code]

to get:
Code:

          1         1  1       1  2  1     1  3  3  1   1  4  6  4  1 1  5  10  10  5  1
• November 21st 2006, 05:08 AM
TriKri
Ok thanks, doing it with code tags seems simple.
• November 21st 2006, 11:26 PM
qbkr21
Test
$x^2\sqrt{x}$
• November 23rd 2006, 07:08 AM
$\frac{2x+7}{8x+4}$ how do i put a squaroot of a fraction?
• November 23rd 2006, 07:26 AM
ThePerfectHacker
Quote:

$\frac{2x+7}{8x+4}$ how do i put a squaroot of a fraction?

Code:

\sqrt{ \frac{2x+7}{8x+4} }
To get,
$\sqrt{ \frac{2x+7}{8x+4} }$
• November 26th 2006, 03:01 PM
TriKri
How do you make a degree-sign? Like a $\circ$ but higher up...
• November 26th 2006, 03:16 PM
topsquark
Quote:

Originally Posted by TriKri
How do you make a degree-sign? Like a $\circ$ but higher up...

I think there is an actual LaTeX code for it, but I just do ^o (The "o" is just a lowercase letter o.)

-Dan
• November 26th 2006, 03:23 PM
OReilly
Quote:

Originally Posted by TriKri
How do you make a degree-sign? Like a $\circ$ but higher up...

$20^\circ$

Just write [itex] ^\circ <\math>
• November 26th 2006, 03:25 PM
TriKri
Quote:

Originally Posted by OReilly
$20^\circ$

Just write [itex] ^\circ <\math>

Smart! And what about an accordingly/therefore/consequently/thus sign? (what is the English name for it?) It is suposed to look like three points in a triangle.
• November 26th 2006, 03:35 PM
OReilly
Quote:

Originally Posted by TriKri
Smart! And what about an accordingly/therefore/consequently/thus sign? (what is the English name for it?) It is suposed to look like three points in a triangle.

I tried [tex]\therefore [\math] and [tex]\because [\math] which are actually LaTex code for those symbols but as you can see they don't work here.
Show 40 post(s) from this thread on one page
Page 2 of 7 First 123456 ... Last