do you use linux? if so, it is possible to have the system to
convert eps to pdf figures automatically for you.
\usepackage[pdftex]{graphicx}
\DeclareGraphicsExtensions{.pdf,.eps}
\usepackage{epstopdf}
when you refer an image file foobar.eps in the tex, use
\includegraphics{foobar}
then you can compile the latex files
pdflatex -shell-escape your-latex-file
of course, you can change the pdftex.cfg to make "shell-escape"
a default option for pdflatex.
all what you have to do is to
1) include the epstopdf package after the graphicx package, and
2) run `pdflatex' with the option --shell-escape.
i don't know of any modern people using the `pdftex' command nowadays.
Here's what I use:
\usepackage{graphicx}
%
% other stuff
%
\begin{figure}
\centering
\includegraphics{myfigure}
\caption{Caption of the figure}
\label{fig:myfigure}
\end{figure}
This should work for latex with DVI or DVI->PS output. If you run pdflatex
directly, you need to convert the eps figure to pdf file using epstopdf.
If you still have questions, please post your code here.
Good luck.
There is no \listofappendices command in LaTeX. In LaTeX report class,
each appendix is still a chapter, except that the chapter number is
changed to uppercase letters and reset to start from A. To do what you
want, you would have to define new commands for the appendices to typeset
the appendix openings and make it write entries to an .loa file. You
should check whether your university already provides a LaTeX class or
style package to do this.
By the way, graphicx is a replacement for epsfi
using the graphicx package, then
\begin{figure}
\centering
%%----start of first figure----
\begin{minipage}[t]{0.4\linewidth}
\centering
\includegraphics[width=1in]{graphic}
\caption{Small Box} \label{fig:side:a}
\end{minipage}%
\hspace{1cm}%
%%----start of second figure----
\begin{minipage}[t]{0.4\linewidth}
\centering
\includegraphics[width=1.5in]{graphic}
\caption{Big Box} \label{fig:side:b}
\end{minipage}
\end{figure}
Example extracted from Part V, section 28 of this document http://tug.ctan
this code outputs "Figure 1: Small Box"
is it possible to get "Fig.1. Small Box"?
using the graphicx package, then
\begin{figure}
\centering
%%----start of first figure----
\begin{minipage}[t]{0.4\linewidth}
\centering
\includegraphics[width=1in]{graphic}
\caption{Small Box} \label{fig:side:a}
\end{minipage}%
\hspace{1cm}%
%%----start of second figure----
\begin{minipage}[t]{0.4\linewidth}
\centering
\includegraphics[width=1.5in]{graphic}
\caption{Big Box} \label{fig:side:b}
\end{minipage}
\end
American Journal of Human Genetics 最近该了发文的格式。 我使用了ajhg.bst
provided by Amy L. Williams from MIT. 按照http://www-lecb.ncifcrf.gov/~toms/latex.html上的要求,
\documentclass[12pt,manuscript]{aastex}
\usepackage{rotating}
\usepackage{graphicx}
\usepackage{nature}
\usepackage{citesupernumber}
\usepackage{citecollapse}
\bibliography{ref}
%ref is the reference database
\bibliographystyle{ajhg}
我一直用JabRef管理我的Rferences。 在latex里, 用\cite{Bibtexkey} to cite
references。
结果在pdf文中,我无法得到我想要的格式。
1) "Many tests have bee
I tried
\documentclass[12pt,manuscript,compress]{aastex}
\usepackage{rotating}
\usepackage{graphicx}
\usepackage[sort]{natbib}
\usepackage{nature}
\usepackage{citesupernumber}
\usepackage{citecollapse}
Situation is not changed. How can I run "latex makebst"?
我在写作业,肯定是一个问题对应一个图片,怎么能禁止图片浮动到别的地方啊?
我用的语法格式:
\begin{figure}[!h]
% Requires \usepackage{graphicx}
\includegraphics[width=0.9\textwidth]{../Figures/Fig4.eps}\\
\caption{Filtered signal via FOR iteration}\label{F4}
\end{figure}
Dear all,
I am new to Latex and I am using the natbib package and \citet{} to cite the
papers. It is strange that the complied pdf shows "the paper is by Mike [
1998] ...". I expect to have the round parentheses. The document says the
round is default. I tried
\usepackage[round]{natbib}
I does not work. Can anyone show me how to correc it? Thank you so much.
My preamble is like this
\documentclass[11pt]{article}
\usepackage{natbib, amsmath, amssymb,graphicx, setspace,url, rotating}
\begin{docume