0

I would like to insert a table in each cell in overleaf, like the following: enter image description here

bumped to the homepage by Community 2 days ago

This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.

  • 4
    what did you try? this looks like the most basic tabular, with three \includegraphics ? – David Carlisle Mar 22 at 18:16
  • @DavidCarlisle But I want "lines" of the table frame that separate them – Mathygroupy Mar 22 at 18:21
  • 3
    any latex tutorial will show how to make a lined table (\hline for horizontal lines and \begin{tabular}{|c|c|c|} for vertical.) It is always best to show a complete small test document than people can explain any errors that you get. – David Carlisle Mar 22 at 18:25
  • @DavidCarlisle okak, thanks! I will try doing it now – Mathygroupy Mar 22 at 18:31
0

The following might serve as a starting point:

| and \hline are used for vertical and horizontal lines respectively. The cellspace package allows for a uniform white border surrounding the image.

\documentclass{article}
\usepackage{graphicx}
\usepackage{cellspace}
\setlength\cellspacetoplimit{6pt}
\setlength\cellspacebottomlimit{6pt}

\begin{document}
\begin{tabular}{|Sc|}
\hline
\includegraphics[width=3cm]{example-image} \\
\hline
\end{tabular}
\end{document}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.