Answers for "latex picture"

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
3

how to add image overleaf

\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{graphicx}

\title{A project with images}
\author{Overleaf}
\date{}

\begin{document}

\maketitle

\section{Introduction}
\begin{figure}[htp]
    \centering
    \includegraphics[width=4cm]{InsertingImagesEx5}
    \caption{An image of a galaxy}
    \label{fig:galaxy}
\end{figure}

\end{document}
Posted by: Guest on October-19-2020
-2

insert figure latex

%Path relative to the main .tex file 
\graphicspath{ {./images/} }
Posted by: Guest on November-21-2020

Browse Popular Code Answers by Language