Physics Forums has integrated LaTeX mathematical typesetting into its platform, allowing users to create visually appealing mathematical expressions using markup similar to HTML. Users can include LaTeX graphics in posts by wrapping their code in [tex] or [itex] tags for display or inline formatting, respectively. A PDF guide with essential LaTeX commands and symbols is available, along with links to additional resources. The community is encouraged to experiment with the system and share examples, while also being mindful of server load when generating graphics. This addition aims to enhance the clarity and professionalism of mathematical discussions on the forum.
#331
Orion1
961
3
test:
F = ma
Does anyone know of other math or physics forums similar to this forum that also uses LaTex?
Where can I purchase a comprehensive commercial LaTex CD for installing and using LaTex on a home PC?
I figured out how to compile equations into a DVI file.
I found the following command:
\includegraphics{filename}
Anyone know of a convertor program to convert DVI format to PNG graphics format?
There is a program called 'dvi2png', however I could not locate a download or determine the capabilities of this program.
There is a program located in the miktex bin file called 'dvipng.exe' that can convert .dvi to .png format, however despite the comprehensiveness of this program, failed to properly convert a miktex generated .dvi file. The resulting output .pdf file was not legible. Therefore, 'dvipng.exe' does not support miktex .dvi.
To use \includegraphics, you probably need to put \usepackage{graphicx} in the preamble of your LaTeX document, right after the \documentclass line.
If you're compiling your documents with the latex command, you need to convert your pictures to encapsulated Postscript (eps) before including them. If you're using the pdflatex command, I think you should be able to use JPEGs and PNGs directly.
#338
Orion1
961
3
\include{Universe}
TALewis said:
To use \includegraphics, you probably need to put \usepackage{graphicx} in the preamble of your LaTeX document, right after the \documentclass line.
If you're compiling your documents with the latex command, you need to convert your pictures to encapsulated Postscript (eps) before including them. If you're using the pdflatex command, I think you should be able to use JPEGs and PNGs directly.
This is absolutely correct. The MikTex DOS compiler will only accept the \usepackage{graphicx} command immediately after the \documentclass command.
I was able to include .jpg, .bmp and .png graphics directly using miktex with a .bb (bounding box) file, however the 'ebb.exe' file used to create .bb files produces incorrect file dimensions which results in the miktex equations 'eating into' the graphics box. Also, the 'ebb.exe' file does not support .bmp, however I was still able to manually create a .bb .bmp file. Note that some .bmp filters are not supported by miktex .dvi format, I suspect the same may be true for .jpg and .png also.
I was able to correct this error manually using a photoviewer that displays the correct graphics dimensions and manually editing the .bb file with the correct numbers.
'bmeps.exe' is the program that converts .jpg and .png pictures to .eps format.
'bmeps.exe' does create a .bb file with the correct graphics dimensions. However, 'bmeps.exe' does not support .bmp format.
'bmeps.exe' is able to convert .tif files into .eps format, however produces a warning of 'unknown field tag 34337 (0*8649) ignored', however still worked.
I noticed the .ps.gz and .eps examples listed in the miktex graphics folder.
I note that the .ps.gz format does appear to be impressive.
Is there any way to override the equation numbering sequencer to produce custom generated equation numbers?
Section 3.1 says that with the amsmath package (\usepackage{amsmath}), you can provide your own equation number or symbol with the \tag{label} command.
Section 3.1 says that with the amsmath package (\usepackage{amsmath}), you can provide your own equation number or symbol with the \tag{label} command.
This is a solution to overriding the default equation numbering.
However, the \tag{label} command must be declared after the \begin{equation*} command within the internal equation environment. To my knowledge, the miktex compiler will not accept this command outside an equation environment. There may be other internal environments that the \tag{label} command may be accepted, this requires further research discovery.
However, this can be interpreted as a reciprocal!:
E = \frac{1}{2mv^2}
It also helps to place a subscript tag on the E for mathematical proof and tracking purposes because several different types of energies can be involved, E_k for Kinetic Energy or some other subscript tag.
Try using the fraction command \frac{numerator}{denominator}:
You might need to set your popup-blocker software to allow pf to show popups.
- Warren
#349
Orion1
961
3
Here is the complete help command list for the 'dvipng.exe' file. On Windows, some of the first commands displayed are 'cut off' by the DOS window. This is the complete list displayed by the 'dvipng.exe -help' command.
dvipng.exe help data:
Code:
dvipng.exe -help
Usage: %s [OPTION]... FILENAME[.dvi]
Options are chosen to be similar to dvips' options where possible:
-D # Output resolution
-l # Last page to be output
--mode s MetaFont mode (default 'cx')
-M* Don't make PK fonts
-o f Output file, '%%d' is pagenumber
-O c Image offset
-p # First page to be output
-pp #,#.. Page list to be output
-q* Quiet operation
-r* Reverse order of pages
-T c Image size (also accepts '-T bbox' and '-T tight')
-v* Verbose operation
-x # Override dvi magnification
- Interactive query of options
These do not correspond to dvips options:
-bd # Transparent border width in dots
-bdpi # Set the base (Metafont) resolution
-bg s Background color (TeX-style color)
--depth* Output the image depth on stdout
--dvinum* Use TeX page numbers in output filenames
-fg s Foreground color (TeX-style color)
--follow* Follow mode
--height* Output the image height on stdout
--truecolor* Truecolor output
-Q # Quality (T1lib and PK subsampling)
-z # PNG compression level
# = number f = file s = string * = suffix, '0' to turn off
c = comma-separated dimension pair (e.g., 3.2in,-32.1cm)
Does anyone here have a hyperlink to a comprehensive file that has descriptions for each of these commands and some sourcecode examples?
[/color]
Last edited:
#350
Machinus
Sorry for the easy question, but I can't find how to make an approximation symbol (the squiggly equals sign).
Yes, I d/led that pdf but I was having some trouble with acrobat. I think it is better now though. Thanks.
#354
Tom McCurdy
1,017
1
test
a= \fraq{b}{x}
Last edited:
#355
Tom McCurdy
1,017
1
\frac{1}{5+2}
Last edited:
#356
Tom McCurdy
1,017
1
Vosin45-gt=0
Vosin45=gt
t= \frac{Vosin45}{g}
since you need to muliply by 2
t= \frac {\frac{2\frac{2\sqrt{2}Vo}{2}\frac{2\sqrt{2}Vo}{2}\frac{2\sqrt{2}Vo}{2}\sqrt{2}Vo}{2}\frac{2\sqrt{2}Vo}{2}\frac{2\sqrt{2}Vo}{2}\frac{2\sqrt{2}Vo}{2} }{g}
From now on, please use the "Post Preview" feature to test your LaTeX, rather than wasting server space by posting it here. Please post any additional questions about our LaTeX system to the Feedback forum. Please post any additional questions about LaTeX itself to the General Technology Forum.
- Warren
#358
thegame
32
0
testing...
<br />
\begin{array}{r l r l}<br />
u &= \ln x \quad & dv &= x\,dx \\<br />
du &= \frac{1}{x}\,dx & v &= \frac{1}{2} x^2<br />
\end{array}<br />
<br />
\begin{array}{r l r l}<br />
sqrt{a_A^2+b_B^2}<br />
\end{array}<br />
[\tex]
Last edited:
#359
BLUE_CHIP
\ddot{x}=-\omega^{2}{x}
T=\frac{2\pi}{\omega}
\ddot{x}
T
\omega
I=\frac{1}{2}MR^{2}
I
M
R
I=\frac{1}{2}MR^{2}+4mr^{2}
m
r
T_{v}=2\pi\sqrt{\frac{k}{m}}
T_{r}=2\pi\sqrt{\frac{I}{c}}
T
k
c