Code: Select all
%somehow the image doesn't show up!
\begin{figure}[h!]
\begin{center}
\includegraphics[width=7cm,natwidth=610,natheight=642]{flowchart.pdf}
\caption{G2P Flowchart}
\label{flowchart}
\end{center}
\end{figure}
Code: Select all
%somehow the image doesn't show up!
\begin{figure}[h!]
\begin{center}
\includegraphics[width=7cm,natwidth=610,natheight=642]{flowchart.pdf}
\caption{G2P Flowchart}
\label{flowchart}
\end{center}
\end{figure}
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Code: Select all
\documentclass{article}
\usepackage{graphicx}
\begin{document}
\begin{figure}%[h!]% Don't make your text ugly please.
\centering% JB: Never use the center environment in a figure
\includegraphics[width=7cm]{example-image.pdf}
\caption{G2P Flowchart}
\label{flowchart}
\end{figure}
\end{document}
\usepackage[dvipdfm]{color,graphicx} % for dvipdfm(x)
). By removing [dvipdfm] and change the includegraphics line to \includegraphics[width=7cm]{flowchartthen.pdf}
, the image shows up nicely.Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis