Math Is Fun Forum

  Discussion about math, puzzles, games and fun.   Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ • π ƒ -¹ ² ³ °

You are not logged in.

#51 2008-04-15 11:45:16

dgillam
Guest

Re: LaTeX - A Crash Course

Does anyone know how to put square roots in the numerator of a fraction in latex?  I keep getting an error message.  So for example, how would I write the square root of two over six?

#52 2008-04-15 11:50:46

mathsyperson
Moderator
Registered: 2005-06-22
Posts: 4,900

Re: LaTeX - A Crash Course

The same way you'd put square root signs anywhere else. √2/6 is made by:
\frac{\sqrt{2}}{6}


Why did the vector cross the road?
It wanted to be normal.

Offline

#53 2008-04-15 15:47:45

dgillam
Guest

Re: LaTeX - A Crash Course

Thank you for the quick reply!  It worked!:D

#54 2008-05-24 20:20:00

Maracuya
Member
Registered: 2008-02-02
Posts: 12

Re: LaTeX - A Crash Course

Today I started learning Latex on Texmaker (for Linux).  The same code that produces this nice looking limit on this website (from Dross' tutorial) comes out badly in my dvi files.

I want it to look like this:

but instead, the

is to the right of lim , rather than directly under.

Why this variation from system to system?  How can I get mine to look correct in my documents?

Thanks for your reply.

edit: A partial answer to my own question is to use the \displaystyle command.  I still don't completely understand this command.

Conversely, if I want to be sure that the limit is displayed to the right, rather than under, I can use the \nolimit  command

Last edited by Maracuya (2008-05-25 04:29:13)

Offline

#55 2008-05-24 21:26:34

Dragonshade
Member
Registered: 2008-01-16
Posts: 147

Re: LaTeX - A Crash Course

How do I put  Double integration over a region D, the code \iint doesn't seem to work?

Last edited by Dragonshade (2008-05-24 21:27:14)

Offline

#56 2008-05-25 11:41:35

Ricky
Moderator
Registered: 2005-12-04
Posts: 3,791

Re: LaTeX - A Crash Course

D should have been defined before the integral is given, and if this is the case, then a single integral sign implies integration of the region, whatever dimension it may be.  If this is not the case, it is typical to place the D on the inner most integral sign:


"In the real world, this would be a problem.  But in mathematics, we can just define a place where this problem doesn't exist.  So we'll go ahead and do that now..."

Offline

#57 2008-08-13 21:06:09

mariaa
Banned
Registered: 2008-08-13
Posts: 1

Re: LaTeX - A Crash Course

Oh..! Its amazing.It is a new development in mathematics.Also it is very much useful to for writing whole documents.
-------------------------
maria

Spam links removed - Ricky

Offline

#58 2008-10-05 00:47:11

JaneFairfax
Member
Registered: 2007-02-23
Posts: 6,868

Re: LaTeX - A Crash Course

I’ve just learnt the LaTeX command \over:

5 \over 6

roll

Offline

#59 2008-10-05 09:36:26

MathsIsFun
Administrator
Registered: 2005-01-21
Posts: 7,713

Re: LaTeX - A Crash Course

The 6 is smaller. Maybe \frac is better, then.


"The physicists defer only to mathematicians, and the mathematicians defer only to God ..."  - Leon M. Lederman

Offline

#60 2009-02-14 09:53:41

mikau
Member
Registered: 2005-08-22
Posts: 1,504

Re: LaTeX - A Crash Course


shame

Last edited by mikau (2009-02-14 10:02:34)


A logarithm is just a misspelled algorithm.

Offline

#61 2009-04-01 09:19:58

John E. Franklin
Member
Registered: 2005-08-29
Posts: 3,588

Re: LaTeX - A Crash Course

Does anyone know in LaTeX,
how to
put in downward parenthesis
on portions of your equations
to point to the equation
below it like the example
bitmap shown here?


igloo myrtilles fourmis

Offline

#62 2009-04-01 09:27:32

JaneFairfax
Member
Registered: 2007-02-23
Posts: 6,868

Re: LaTeX - A Crash Course

Last edited by JaneFairfax (2009-04-01 10:42:39)

Offline

#63 2009-05-05 01:05:24

1a2b3c2212
Member
Registered: 2009-04-04
Posts: 419

Re: LaTeX - A Crash Course

this LaTex language is only for this forum right?
you can't use it on other applications like microsoft word?

by the way this program is extremely useful

Offline

#64 2009-05-05 03:18:14

Ricky
Moderator
Registered: 2005-12-04
Posts: 3,791

Re: LaTeX - A Crash Course

this LaTex language is only for this forum right?

LaTeX is a typesetting language used for writing (math) documents.   It is used universally to write papers for publication in almost any field of study, as well as entire books.

But it works much differently than Word.  You type LaTeX in plain text, that is, no special formatting appears when you write.  So if I wanted to do italic, my document would look like:

The quick \textit{brown} fox jumps over the lazy dog.

I then pass my document through an engine, and what pops out is that phrase with the word "brown" in italics.  Compare this to Word: when you make something italic in Word, you see it in your original document as being italic.  This is known as "rich text".

Because of licensing, Microsoft can't incorporate LaTeX into Word: they sell Word and LaTeX is free.


"In the real world, this would be a problem.  But in mathematics, we can just define a place where this problem doesn't exist.  So we'll go ahead and do that now..."

Offline

#65 2009-06-30 07:30:19

JaneFairfax
Member
Registered: 2007-02-23
Posts: 6,868

Re: LaTeX - A Crash Course

Serif font.

Offline

#66 2009-07-20 08:57:23

quittyqat
Member
Registered: 2009-04-08
Posts: 1,215

Re: LaTeX - A Crash Course

Wow! Can you figure out any other fonts?
P.S. How do you scoot things forward? \  \ doesn't seem to work and neither does \hspace.

Last edited by quittyqat (2009-07-20 13:12:57)


I'll be here at least once every decade.

Offline

#67 2009-08-06 08:26:42

Sarah12
Guest

Re: LaTeX - A Crash Course

How do you do fraction?

#68 2009-08-06 08:38:18

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: LaTeX - A Crash Course

Hi quittyqat;

Last edited by bobbym (2009-08-06 08:50:59)


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#69 2010-01-27 10:22:52

juana
Guest

Re: LaTeX - A Crash Course

justlookingforthemoment wrote:

I think this thread is probably better in Help Me than here. To move or not to move, that is the question?

And also, should this be a clean thread or should we keep the discussion too?

#70 2010-01-27 10:24:37

juana
Guest

Re: LaTeX - A Crash Course

Sarah12 wrote:

Welcome To the forum Gurl.

hey how are you

#71 2010-01-27 10:26:31

juana
Guest

Re: LaTeX - A Crash Course

MathsIsFun wrote:

The 6 is smaller. Maybe \frac is better, then.

yes

#72 2010-04-19 16:19:57

Amarylli$
Guest

Re: LaTeX - A Crash Course

A\triangleleft (f \oplus g) = (A \triangleleft f )\oplus  (A \triangleleft g)

test

#73 2010-04-19 17:02:36

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: LaTeX - A Crash Course

Hi Amarylli$;

Like this:


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#74 2010-12-17 13:55:49

Au101
Member
Registered: 2010-12-01
Posts: 353

Re: LaTeX - A Crash Course

Can I offer a suggestion regarding the typesetting of matrices. The array environment is very useful, however, there is a dedicated environment which some may find useful, simply use:

\begin{φmatrix}
\end{φmatrix}

Where φ is a variable. pmatrix will produce a matrix with parentheses, or standard brackets, bmatrix one with square brackets, Bmatrix one with braces, or curly brackets, vmatrix one with straight lines and Vmatrix one with double straight lines. Simply using matrix will create a simple array, with no brackets of any kind. As before entries are separated with & and \\ will drop a line. Note adding \\[φpt] will leave a gap of φ point. Seeing as LaTeX is, by default, usually 12pt, I suggest \\[12pt].

To exemplify

\begin{bmatrix}
a & b \\
c & d
\end{bmatrix}

Produces


\begin{vmatrix}
a & b \\
c & d
\end{vmatrix}

Produces


etc.

Last edited by Au101 (2010-12-17 13:58:46)

Offline

#75 2011-10-09 01:50:32

loida
Member
Registered: 2009-11-12
Posts: 32

Re: LaTeX - A Crash Course

hi there.. does anybody know how do i get characterictic function (not \chi , i need symbol with 1 ) in latex? i can't find it..

Last edited by loida (2011-10-09 02:00:29)

Offline

Board footer

Powered by FluxBB