Windows 如何在latex中插入png图像?

Windows 如何在latex中插入png图像?,windows,latex,Windows,Latex,这就是我努力的目的。但我看不到任何图像,只是显示了Architecture.png的名称。谁能纠正我一下吗。谢谢。您是否包括\usepackage{graphicx}和(可能相关的)\graphicspath{{path/to/image/}?从图中删除\graphicspath和\declaregraphycextensions。相反,您必须在文档中的某个位置指定一个草稿选项。选中\documentclass[…,draft,…]{}或\usepackage[…,draft,…]{graphi

这就是我努力的目的。但我看不到任何图像,只是显示了Architecture.png的名称。谁能纠正我一下吗。谢谢。

您是否包括
\usepackage{graphicx}
和(可能相关的)
\graphicspath{{path/to/image/}
?从
图中删除
\graphicspath
\declaregraphycextensions
。相反,您必须在文档中的某个位置指定一个
草稿
选项。选中
\documentclass[…,draft,…]{}
\usepackage[…,draft,…]{graphicx}
。去掉那个。
\begin{figure}[p]
\centering
\includegraphics[width=0.8\textwidth]{Architecture.png}
\graphicspath{ {D:/PROJECT/Architecture} }
\DeclareGraphicsExtensions{.png}
\end{figure}