Overleaf supports visual tables directly

In the past, I used the TableGenerator to create tables for LaTeX. It was quick and easy to upload a CSV and then format the table. I then copied the LaTeX code to Overleaf.

Overleaf always had a macro for the generation of tables on the code level, but now they also have a visual table editor. To use it you have to switch to the Visual Editor and clicking on the three dots icons reveals the new insert table option. Similar to office applications, you can draw the number of rows and columns you want.

It is not yet possible to draw individual borders, such as horizontal lines. You can only select all or no borders. The menu does, however, announce that they are working in more border settings. TableGenerator is still ahead on this one.

You can enter data directly or copy and paste data from your spreadsheet program. You can also set the alignment of columns.

Merging cells also works already.

The complied table is clean and simple.

The resulting code is clean and correct.

\begin{table}
    \centering
    \begin{tabular}{lrr}
 & \multicolumn{2}{c}{Data}\\
         Month&  Sales& Profit\\
         January&  100& 50\\
         February&  200& 70\\
    \end{tabular}
    \caption{Test of the table feature}
    \label{tab:my_label}
\end{table}

Publishing in an HRI Journal

I just published a new HRI Podcast episode on publishing in HRI Journals. Here is the summary:

Publishing your human-robot interaction study in a journal is an excellent way to share your insights. But in which journal should you publish and what do the journals expect? In this episode, we talk to editors from the three dedicated HRI journals, Agnieszka Wykowska (International Journal of Social Robotics), Selma Sabanovic (ACM Transactions on Human-Robot Interaction) and Bilge Mutlu (Frontiers in Robotics and AI | Human-Robot Interaction). We talk about Open Access publishing and what the future of scientific publishing might look like. Besides the three dedicated journals, there are also some journals that encourage HRI topics without focusing completely on them. I talked with Kerstin Dautenhahn from the Interaction Studies journal and Ramanarayan Vasudevan from the IEEE Transactions on Robotics.

Peer Review Review

Please come and join me for a Nerd Nite on October 4th (6:30pm) at the Little Andromeda theatre. I will be ranting about about the peer review process. Here is a short summary of the talk:

The peer review process is essential to modern science. Researchers conduct studies and submit their results to a journal. An editor manages a review process involving external experts. But what happens when you study the peer review process itself. How do scientific organisations react when they become the subject of an experiment? Not well, to say the least.

Drawing LEGO Bricks in LaTeX

Sometimes the star align and bring together several of your passions. I love LEGO and I love LaTeX. Thanks to Sam Carter and his TikZbricks package, you can now draw LEGO bricks directly in LaTeX. Let’s start with a simple example of drawing a single 2×4 brick:

\documentclass[a5paper]{article}
\usepackage{tikzbricks}
\begin{document}
\begin{tikzpicture}
   \brick{4}{2}
\end{tikzpicture}
\end{document}

This will be rendered as:

TikZbricksLEGOLaTeX01

It is possible to build whole models with this package. The LEGO company created its first augmented reality puzzle game that used a mobile app in 2011. It was called Life Of George. This seems like a perfect example for putting TikZbricks to the test.

\documentclass[a4paper]{article}
\usepackage{tikzbricks}
\definecolor{lego-white}{rgb}{0.95, 0.95, 0.96}
\begin{document}

\begin{wall}
    \wallbrick[color=black]{2}{1}
    \addtocounter{brickx}{1}
    \wallbrick[color=black]{2}{1}
    \newrow
    \wallbrick[color=blue]{1}{1}
    \addtocounter{brickx}{2}
    \wallbrick[color=blue]{1}{1}
    \newrow
    \wallbrick[color=blue]{4}{1}
    \newrow
    \addtocounter{brickx}{-1}
    \wallbrick[color=lego-white]{1}{1}
    \wallbrick[color=red]{4}{1}
    \wallbrick[color=lego-white]{1}{1}
    \newrow
    \addtocounter{brickx}{-1}
    \wallbrick[color=red]{1}{1}
    \wallbrick[color=red]{2}{1}
    \wallbrick[color=black]{1}{1}
    \wallbrick[color=red]{1}{1}
    \wallbrick[color=red]{1}{1}
    \newrow
    \addtocounter{brickx}{-1}
    \wallbrick[color=red]{3}{1}
    \wallbrick[color=black]{1}{1}
    \wallbrick[color=red]{2}{1}
    \newrow
    \wallbrick[color=lego-white]{4}{1}
    \newrow
    \addtocounter{brickx}{-1}
    \wallbrick[color=lego-white]{2}{1}
    \wallbrick[color=black]{1}{1}
    \wallbrick[color=lego-white]{1}{1}
    \wallbrick[color=black]{1}{1}
    \newrow
    \addtocounter{brickx}{-1}
    \wallbrick[color=yellow]{1}{1}
    \wallbrick[color=lego-white]{2}{1}
    \wallbrick[color=yellow]{3}{1}
    \newrow
    \wallbrick[color=yellow]{4}{1}
\end{wall}

\end{document}

This will be rendered as:

TikZbricksLEGOLaTeX02

There are many more options, such as chaning the perspective and size of various components. But we will leave this for now and simply enjoy this moment.