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

Login

Username

Password

Not registered yet?

#76 2010-04-20 15:02:36

bobbym
Administrator

Online

Re: LaTeX - A Crash Course

Hi Amarylli$;

Like this:


In mathematics, you don't understand things. You just get used to them.
I have the result, but I do not yet know how to get it.
All physicists, and a good many quite respectable mathematicians are contemptuous about proof.

#77 2010-12-18 12:55:49

Au101
Power Member

Offline

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-18 12:58:46)

#78 2011-01-06 20:07:00

Moris
Guest

Re: LaTeX - A Crash Course

Hey, I am Moris here, I am student of Comarce. So i am facing the problem in mathematic. Please someone provide some formulas and new Iadias.........Thanking you.

#79 2011-01-07 02:52:26

bobbym
Administrator

Online

Re: LaTeX - A Crash Course

Hi Moris;

Welcome to the forum!


In mathematics, you don't understand things. You just get used to them.
I have the result, but I do not yet know how to get it.
All physicists, and a good many quite respectable mathematicians are contemptuous about proof.

#80 2011-10-10 00:50:32

loida
Member

Offline

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-10 01:00:29)

#81 2011-10-10 00:57:08

bobbym
Administrator

Online

Re: LaTeX - A Crash Course


In mathematics, you don't understand things. You just get used to them.
I have the result, but I do not yet know how to get it.
All physicists, and a good many quite respectable mathematicians are contemptuous about proof.

#82 2011-10-10 00:59:21

anonimnystefy
Real Member

Offline

Re: LaTeX - A Crash Course

hi loida



is that it?


The limit operator is just an excuse for doing something you know you can't.
“It's the subject that nobody knows anything about that we can all talk about!” ― Richard Feynman
“Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment

#83 2011-10-10 01:06:39

loida
Member

Offline

Re: LaTeX - A Crash Course

great.. thank you bobbym and anonimnystefy

it's
\usepackage{ bbold }
\mathbb{1}

#84 2011-10-10 01:11:47

bobbym
Administrator

Online

Re: LaTeX - A Crash Course

Hi loida;

We cannot use packages in this latex.



Is that essentially the same symbol?


In mathematics, you don't understand things. You just get used to them.
I have the result, but I do not yet know how to get it.
All physicists, and a good many quite respectable mathematicians are contemptuous about proof.

#85 2011-10-10 01:16:41

loida
Member

Offline

Re: LaTeX - A Crash Course

no..i don't how to get it here..

#86 2011-10-10 01:17:52

bobbym
Administrator

Online

Re: LaTeX - A Crash Course

That is what I thought. How did you get the answer then?


In mathematics, you don't understand things. You just get used to them.
I have the result, but I do not yet know how to get it.
All physicists, and a good many quite respectable mathematicians are contemptuous about proof.

#87 2011-10-10 01:20:10

loida
Member

Offline

Re: LaTeX - A Crash Course

your site helped me..i just drew http://detexify.kirelabs.org.s3.amazonaws.com/images/latex/26419c3e2b6ed53df4891ac722a3d1e0.png

Last edited by loida (2011-10-10 01:22:02)

#88 2011-10-10 01:23:11

bobbym
Administrator

Online

Re: LaTeX - A Crash Course

Hi;

Okay, very good, that site is useful.


In mathematics, you don't understand things. You just get used to them.
I have the result, but I do not yet know how to get it.
All physicists, and a good many quite respectable mathematicians are contemptuous about proof.

#89 2011-10-10 01:24:29

loida
Member

Offline

Re: LaTeX - A Crash Course

yes, site is wonderful..thank you very much for sharing

#90 2011-10-10 01:25:21

bobbym
Administrator

Online

Re: LaTeX - A Crash Course

Your welcome.


In mathematics, you don't understand things. You just get used to them.
I have the result, but I do not yet know how to get it.
All physicists, and a good many quite respectable mathematicians are contemptuous about proof.

#91 2011-10-10 02:47:19

Au101
Power Member

Offline

Re: LaTeX - A Crash Course

Hi, yeah, I won't go into the details, but basically LaTeX is a mark-up language, and they way mark-up works - as you will probably have realised - is that if you want your text to appear in a certain way - such as to be in bold face - then you 'mark up' the text. i.e. you use special sequences of characters (called control sequences) to induce an effect (e.g. \textbf{Hi} makes Hi become Hi. textbf is the control sequence and the \ is known as the escape character, which escapes the control sequence. This means that the control sequence is interpreted as a command, rather than just normal text.) Anyway, I probably could have explained that better, but it's not very important, so don't worry if you didn't follow it. The main point is that these control sequences are interpreted by a renderer, which creates the final document. Now, the renderer already 'knows' the basic commands, such as \frac{x}{y}, however, we can also write packages which extend LaTeX beyond these very basic functions. Now, bbold is an example of a package which was written to give LaTeX more functionality. If our renderer doesn't know how to interpret \mathbb{1} in the way we want it to, then we have to load that package, and then the renderer will use the information contained in that package to interpret our control sequence. Otherwise, it will use the standard interpretation. IIn this case, the mathsisfun renderer does know the standard interpretation (bobbym's symbol) but not the interpretation you want. If you ever use your own renderer and write LaTeX for yourself outside of this forum, then you can use the bbold package and extend your own LaTeX capabilities. However, the mathsisfun forum (for very good reasons, mostly simplicity but also to prevent abuse) does not support the loading of extra packages, so we have to make do with the functionality we have.

Last edited by Au101 (2011-10-10 02:56:28)

#92 2011-10-10 07:26:21

loida
Member

Offline

Re: LaTeX - A Crash Course

hey.. how do i put .gif in latex?

#93 2011-10-10 18:02:20

Au101
Power Member

Offline

Re: LaTeX - A Crash Course

Hi smile

Is that on the forums or at home? On the forums, you cannot insert any pictures in LaTeX, you must use the standard bbcode. At home, if you are using graphicx, the supported image formats really depend on the renderer which you are using, however, I do not know of any renderer which supports .gif. pdflatex - the most common and, indeed, useful one, will only support .jpg, .png and .pdf, to the best of my knowledge. It may have expanded its abilities by now, or there may be a package which can do something clever and allow .gif files to be inserted (almost certainly by converting them to .jpg/.png for you) but I think that this is quite unlikely. Instead you should use one of these formats. Indeed, if you are using it for a diagram, then a vector image in .pdf format will definitely have a much much better effect.

Last edited by Au101 (2011-10-10 18:02:41)

#94 2011-10-10 19:53:33

loida
Member

Offline

Re: LaTeX - A Crash Course

thank you Au..
I need it at home.. can you give me the code?

#95 2011-10-10 21:15:49

Au101
Power Member

Offline

Re: LaTeX - A Crash Course

Hi Ioida smile

In your preamble write

\usepackage{graphicx}

Graphicx will probably look for the picture in whichever directory the .tex file is in, but it's best to specify the graphicspath - especially if your picture is somewhere else on the system, in which case it won't find it, so write underneath that (yes, two braces, it works better, apparently):

\graphicspath{{filepath}}

Then, wherever you want the picture:

\includegraphics{filename}

It should not be necessary to include the extension. You can also scale the picture using

\includegraphics[scale=x]{filename}

Give x as a decimal, e.g. 0.5 or 1.8.

You can also use the figure environment if you want captions. There is a lot of information about this in the LaTeX manual (http://en.wikibooks.org/wiki/LaTeX). There are also dedicated forums for LaTeX queries, and - indeed - TeX queries in general, and I suggest that for general TeX questions you go there. Not that I'm not completely happy to help, but you're much more likely to find your answer. Also, please remember that this won't work for .gif, I don't think. You should be using .jpg, .png or .pdf.

#96 2011-10-10 21:33:52

loida
Member

Offline

Re: LaTeX - A Crash Course

awesome!!! thank you!
i've converted it to .jpg

#97 2011-10-31 04:15:06

sassygirl
Novice

Offline

Re: LaTeX - A Crash Course

UH this is confusing this site is just wow like going down and down to comment and then when i comment i forget what to say or what the topic is about

#98 2011-10-31 04:20:43

bobbym
Administrator

Online

Re: LaTeX - A Crash Course

Hi sassygirl;

Welcome to the forum. What is the problem?


In mathematics, you don't understand things. You just get used to them.
I have the result, but I do not yet know how to get it.
All physicists, and a good many quite respectable mathematicians are contemptuous about proof.

#99 2011-12-09 07:16:57

djsakds
Guest

Re: LaTeX - A Crash Course

#100 2011-12-09 08:44:48

bobbym
Administrator

Online

Re: LaTeX - A Crash Course

Hi;

Welcome to the forum!


In mathematics, you don't understand things. You just get used to them.
I have the result, but I do not yet know how to get it.
All physicists, and a good many quite respectable mathematicians are contemptuous about proof.

Board footer

Powered by FluxBB