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}
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
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.NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p