Answers for "Attach image latex"

9

include image latex

\documentclass{article}

\usepackage{graphicx}

\begin{document}

\begin{figure}
  \includegraphics[width=\linewidth]{boat.jpg}
  \caption{A boat.}
  \label{fig:boat1}
\end{figure}

Figure \ref{fig:boat1} shows a boat.

\end{document}
Posted by: Guest on February-20-2020
6

include picture in latex

\usepackage{graphicx}
\graphicspath{ {./images/} }
\includegraphics{image}
Posted by: Guest on November-11-2020

Browse Popular Code Answers by Language