People
Schedule
Updates
Help Me!
|
|
Latex FAQ1. How do I do a citation in LaTeX?
1. How do I do a citation in LaTeX? 2. How do I put in a trademark/registered/copyrighted sign in LaTeX? 3. How do I get an angstrom sign in LaTeX? 4. How do I get a percent sign in LaTeX? 5. How do I get table cells to auto-wrap? Use 6. How do I label things and reference them? 7. How do I get a degree sign? 9. How do I get a square/cube/n-th power root? 10. How do I get nicely numbered equations? Use the equation style: \begin{equation}
E=mc^{2}
\end{equation}
Note: Numbered equations are almost always preferable to
unnumbered equations, for which you can use \begin{displaymath}
\end{displaymath}.
11. How do I reference numbered equations? When you write the equation, \begin{equation}
E=mc^2
\label{eqn:Einstein}
\end{equation}
And then when you wish to reference the equation in the prose,
Applying the mass-energy relations given in (\ref{eqn:Einstein}),
we find that...
Note: the eqn: in the label is not formally necessary, but will
make your code more readable.
12. How do I reference numbered figures? When you insert the figure the equation, \begin{figure}
\includegraphics{poodles.eps}
\caption{Commuting canine movements}
\label{fig:poodles}
\end{figure}
And then when you wish to reference the figure in the prose,
As seen in Figure \ref{fig:poodles}, the hunting patterns...
13. How do I stop LaTeX from putting an extra space after Ms. ? use 14. How do I include a package? 15. How do I create a subsection? 18. How do I do italics in LaTeX? 19. How do I get the "for all" symbol (upside down A) 20. How do I include an image?
\begin{figure}
\includegraphics{imagename.eps}
\caption{Lovely caption}
\label{fig:somethin-you-will-remember}
\end{figure}
21. How do I rotate or resize an included graphic? use the angle attribute to
\includegraphics[width=5in]{foo.ps}
\includegraphics[width=\textwidth]{foo.ps} % scale to the width of the page
\includegraphics[height=5in]{foo.ps}
\includegraphics[scale=0.5]{foo.ps} % scale to 50%
If you want it to be just as wide as the text, use
width=\textwidth.
Most likely, you are trying to include an image that is not in PostScript format. |
|
|