How to use Overleaf for collaborative Academic Writing — Part II: working with images, tables, and bibliography

In the previous article, I wrote about how to get started with Overleaf and start writing using Latex and Overleaf and collaborating with colleagues and students. In this edition, I am going to focus on writing a collaborative piece entirely in Overleaf, collaborate either with yourself or with others and structuring the document by adding bits and pieces. Before we head out to learn more about insertion of these elements (we shall talk about these shortly), let’s take a look at the nature of the work we are trying to get at:

Here are the constraints

  1. We are more than one author; we are a group of authors.
  2. We can continue to write and contribute to the growing paper.

Here’s a screenshot as to how the paper can grow organically:

As you can see, the file manager takes all the files that make up the document. In the centre, in the main.tex document, we keep adding the individual documents and we keep writing these documents. On the right hand side, the main document organically grows. So, what do we add to the file manager?

  • Images and diagrams
  • Text documents
  • Bibliography files

Importing plots directly off the web

  1. First, visit plot.ly and add the data
  1. Then generate a graph like this. Remember to set the graph as “public”, otherwise Overleaf cannot import it.
  1. Note that this plot lives in plotly. You can use Overleaf to directly get this plot to your paper. To do that, add “Add files”, then select from the drop down box “Plot from Plot.ly”.

Then in the middle box, enter the following codes:

\begin{figure}\includegraphics[write some options here]{type the name of the image}\end{figure}

This is same for all other forms of insertion of images. Just upload the image on the left hand file manager and then link them in the middle box this way.

Adding tables to Overleaf LaTeX the easy way

You can generate tables in spreadsheets such as Google Sheets that will allow collaboration, and then visit these sites, upload a csv or selection of the cells and then the sites generate Latex tables. You can drop the latex table using the copy and paste function.

Adding bibliography

\bibliography{name of the file without extension}
\bibliographystyle{name of the style}

Then once you are working in the document, wherever you want to insert a citation, just type the following code:

\cite{id of the paper you want to cite}

Latex will pull in the information and will format a reference list. These simple steps will get you up and running with Overleaf even if you are not much familiar with the more advanced steps of working with Latex. These steps will get you up and running with writing Latex with Overleaf even if you have no experience in writing Latex codes at all.

Note that Overleaf can accomplish a lot more and we just touched the surface here. In subsequent parts of the series, we shall touch on the more advanced aspects of writing everything in Overleaf and getting published. Stay tuned and happy working with Overleaf.

Associate Professor of Epidemiology and Environmental Health at the University of Canterbury, New Zealand. Also in: https://refind.com/arinbasu

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store