Latex中插入圖片相對路徑和絕對路徑

Latex中插入圖片相對路徑和絕對路徑設置:Mark

1. 相對路徑:

\begin{figure}[ht]

\centering

\includegraphics[scale=0.6]{文件夾/文件名稱.png}

\caption{this is a figure demo}\label{fig:pathdemo}

\end{figure}

2. 絕對路徑:

\includegraphics[scale=0.6]{\string"文件路徑\string".png}




發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章