# Place margin notes between columns (with twocolumn)

In my twocolumn document, I want to place the margin notes between the two columns. The (reasonable) default is to place them in the margins of the page. \reversemarginpar seems to have no effect with twocolumn.

\documentclass[landscape, twocolumn]{article}

\usepackage{mwe} % only for blind text

\setlength\columnsep{3cm}
\setlength\marginparwidth{1cm}
\setlength\marginparsep{.3cm}

\begin{document}

\lipsum[1]
\marginpar{first margin paragraph}

\lipsum[2-3]
\marginpar{second margin paragraph}

\lipsum[4]

\end{document}


How can I place the margin notes in the margin between the columns?

## 1 Answer

This does no checks on whether the notes will overprint, just swaps the side.

\documentclass[landscape, twocolumn]{article}

\usepackage{mwe} % only for blind text
\usepackage{etoolbox}

\setlength\columnsep{3cm}
\setlength\marginparwidth{1cm}
\setlength\marginparsep{.3cm}

\makeatletter
\patchcmd\@addmarginpar{\if@firstcolumn}{\if@firstcolumn\else}
{\typeout{yes}}{\typeout{no}}
\makeatother

\begin{document}

\lipsum[1]
\marginpar{first margin paragraph}

\lipsum[2-3]
\marginpar{second margin paragraph}

\lipsum[4]

\end{document}