Introducing LaTeX Math Typesetting

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
766 replies · 751K views
iv'e recently downaloaded Miktex and TeXnicCenter.

and I am trying to learn how to write.
thus far i didn't get very far (-:.

i hope someone can correct me here, here's my code:
Code:
\begin{normalsize}
\begin{document}
\begin{eqnarray}
>>\Pi+\A
\end{eqnarray}
\end{document}
\end{normalsize}
[\code]
 
Physics news on Phys.org
Im using miktex also. You don't need the [ code ] tages and you don't need the { } around the normalsize. In addition the final normalsize tag should go before your end document tag.

~H
 
so you mean it should be this way:
\begin{document}
\begin{eqnarray}
>>\Pi+\A
\normalsize
\end{eqnarray}
\end{document}


btw, the
Code:
 and [\code] were just for fun, i didn't actually typed them in the editor. (-:
 
Hootenanny said:
Yes, but you don't need the normalsize operator unless you specified a difference size. The normalsize should come before whatever you want to be 'normal sized'.

~H
if the bottom box of the compiler states that the \normalsize is undefined it means i should download a package which contain it or something went wrong in the configuration of the tex editor and miktex?

btw, which packages did you downaload, iv'e downloaded the linear logic and astrnomical symbols.
 
Last edited:
I'm not sure I didn't have to download any additional packages 4 normal size to work.

I've downloaded IOP Article style settings, amssymb (math) package and the fancy headings package.

~H
 
Hootenanny said:
I'm not sure I didn't have to download any additional packages 4 normal size to work.

I've downloaded IOP Article style settings, amssymb (math) package and the fancy headings package.

~H
what an editor do you use with miktex?
 
Any text editor is fine (emacs, vim, nano, pico...)

What is your full preamble? preamble=all the things that appear before the command \begin{document}

Here for example is a latex document of mine (for reasons that can only be described as idiotic the upload services chooses to think that the final three letters of a file name determine what it is, and that .tex is not allowed, so if you download it change it back to a a .tex file) with lots of usepackages and extra 'prettification' settings. If you try to compile it it might complain about what isn't installed in miktex (all packages are currently in a default installation of TeTeX and whatever my Mac version is called).

If you find the packages' homepages you'll see what things like titlesec and titletoc do, as well as xypic or other things, play around with it to your heart's content.
 

Attachments

Test...
[tex]\vec{F} = m \vec{a}[/tex]

This is making me nuts. For some reason, Latex is not displaying for me. Worked from this same computer just fine yesterday. Very frustrating.
 
Last edited:
iv'e doewnloaded the package pst-3dplot, and tried to work it out with an example from the documentation.
can you see what my mistake is, or what should i add to make it work:
[tex] \begin{pspicture}(1,2)(-1,-2)\psgrid<br /> \pstThreeDCoor<br /> \end{pspicture}[/tex]
 
test
[tex]a^2[/tex]

[tex]/alpha[/tex]
 
In my experience, by far the easiest editor to use (on a pc) is WinEdt. By default, it is configured to work with MiKTeX, and it couldn't be easier. See www.winedt.com.
 
Is there a limit on how long arrays or something can be? I seem to have had that problem today.
 
Last edited:
[tex] \begin{align*}<br /> <N!>& <N! > < N!> < N! > < N ! > <N> <N > < N> < N > <!> - \\<br /> <P!>& <P! > < P!> < P! > < P ! > <P> <P > < P> < P > <!> - \\<br /> <Q!>& <Q! > < Q!> < Q! > < Q ! > <Q> <Q > < Q> < Q > <!> - \\<br /> <I!>& <I! > < I!> < I! > < I ! > <I> <I > < I> < I > <!> - \\<br /> <U!>& <U! > < U!> < U! > < U ! > <U> <U > < U> < U > <!> - \\<br /> <B!>& <B! > < B!> < B! > < B ! > <B> <B > < B> < B > <!> <br /> \end{align*}[/tex]

[tex]<\psi>[/tex]

[tex]<\psi | H |\psi>[/tex]

Code:
\begin{align*}
<N!>& <N! > < N!> < N! > < N ! > <N> <N > < N> < N > <!> - \\
<P!>& <P! > < P!> < P! > < P ! > <P> <P > < P> < P > <!> - \\
<Q!>& <Q! > < Q!> < Q! > < Q ! > <Q> <Q > < Q> < Q > <!> - \\
<I!>& <I! > < I!> < I! > < I ! > <I> <I > < I> < I > <!> - \\
<U!>& <U! > < U!> < U! > < U ! > <U> <U > < U> < U > <!> - \\
<B!>& <B! > < B!> < B! > < B ! > <B> <B > < B> < B > <!> 
\end{align*}
 
Last edited:
[tex] \frac{\partial^3 f}{\partial x \partial y^2}[/tex]
 
[tex]\]<br /> <br /> \unitlength 1mm<br /> \begin{picture}(87.5,85)(0,0)<br /> \qbezier(46.88,14.38)(71.88,59.38)(71.88,59.38)<br /> \qbezier(60,15)(85,60)(85,60)<br /> \qbezier(37.5,20)(87.5,45)(87.5,45)<br /> \qbezier(60,60)(85,15)(85,15)<br /> \qbezier(60,6)(60,85)(60,85)<br /> \qbezier(72.5,37.5)(60.12,37.5)(60.12,37.5)<br /> <br /> \put(61.25,22.5){\makebox(0,0)[cc]{$\theta$}}<br /> \put(65.62,40.62){\makebox(0,0)[cc]{5}}<br /> \put(64.38,31.88){\makebox(0,0)[cc]{L}}<br /> \put(64.38,31.88){\makebox(0,0)[cc]{}}<br /> \put(57.5,13.75){\makebox(0,0)[cc]{A}}<br /> \put(76.25,38.12){\makebox(0,0)[cc]{B}}<br /> \put(55.62,38.75){\makebox(0,0)[cc]{D}}<br /> <br /> \end{picture}<br /> \][/tex]
 
Use the other slash for closing the tex tag
[tex] x^2 [/tex]

[ tex]
x^2
[ /tex] with spaces added to show the tag

The above site gave an error message that some feature was turned off for security reasons (it said "shell_exec() has been disabled for security reasons...").

Instead try:
http://hausheer.osola.com/latex2png
and
http://www.sciencesoft.at/index.jsp?link=latex&ochem=false#pic (here you have include the whole \documentclass... \begin{document}... \end{document} thing)
 
Last edited:
[tex]a \\ b[/tex]

[tex]\ a \\ b \[/tex]

[tex]\] a \\ b \[[/tex]
 

robphy, would it be possible to install this 'latex2png' editor on physicsforums?

I noticed that the sourcecode was available:
http://hausheer.osola.com/software/latex2png.phps
http://hausheer.osola.com/latex2png

And I also noticed that 'ImageMagick' software was freeware:
http://www.imagemagick.org/script/index.php

I noticed that the 'preview changes' button regarding latex source code is still non-functional.

An editor similar to this on physicsforums would seem advantageous for testing latex sourcecode for posting on forums such as General Math, Calculus & Analysis, Differential Equations.
[/Color]
 
Last edited:
Orion1,

I don't maintain this site... I am merely an active user in this [tex]\LaTeX[/tex] forum.

Your question should be directed to the
PF Lounge / Forum Feedback & Announcements section:
https://www.physicsforums.com/forumdisplay.php?f=19

I believe the entire ability to use [tex]\LaTeX[/tex] in a forum is a clever non-trivial hack of the forum software. Unfortunately, when changes are made somewhere [software upgrades], it's possible that something else (like the [tex]\LaTeX[/tex] preview) can be broken.