# LaTex Tutorial

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

Originally Posted by Soroban
Hello, TriKri!

Use \neq . $\displaystyle \neq$

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

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

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

\rightsquigarrow . $\displaystyle \rightsquigarrow$

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

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

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

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

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

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

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

• Nov 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.
• Nov 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.
• Nov 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
• Nov 21st 2006, 05:08 AM
TriKri
Ok thanks, doing it with code tags seems simple.
• Nov 21st 2006, 11:26 PM
qbkr21
Test
$\displaystyle x^2\sqrt{x}$
• Nov 23rd 2006, 07:08 AM
$\displaystyle \frac{2x+7}{8x+4}$ how do i put a squaroot of a fraction?
• Nov 23rd 2006, 07:26 AM
ThePerfectHacker
Quote:

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

Code:

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

Originally Posted by TriKri
How do you make a degree-sign? Like a $\displaystyle \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
• Nov 26th 2006, 03:23 PM
OReilly
Quote:

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

$\displaystyle 20^\circ$

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

Originally Posted by OReilly
$\displaystyle 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.
• Nov 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