- #351
Janitor
Science Advisor
- 1,109
- 1
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.
\documentclass{}
\usepackage{graphicx}
\begin{document}
\includegraphics{filename}
\end{document}
This is a solution to overriding the default equation numbering.TALewis said:This PDF might have a solution to overriding the default equation numbering:
http://www.ee.mu.oz.au/staff/cantoni/docs/amsldoc.pdf
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.
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{equation*}
\tag{label}
E_1 = mc^2
\end{equation*}
\end{document}
[!tex] E = 1/2mv^2 [!/tex]
[!tex] E_k = \frac{mv^2}{2} [!/tex]
[!tex] E_k = \frac{1}{2}mv^2 [!/tex]
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)