The goal I am trying to ultimately achieve is a document where I have explanation on even pages and corresponding images on the odd pages. Normally, I put figure captions, citations and footnotes into the margin using the tufte-latex package. There, the margin is always on the right.
Is there a way to have the marginnote of of twosided document always on the right, when using paracol?
Here is a MWE where the marginnote
is not set into the margin.
\documentclass{tufte-book}
\let\tuftenote=\marginnote
\let\marginnote\relax% make compatible
\RequirePackage{marginnote}
\usepackage{graphicx, paracol, lipsum, showframe}
\begin{document}
\begin{paracol}[1]*{2}
\switchcolumn[1]\section{Introduction}
\switchcolumn[0]*
\switchcolumn[1]
\marginnote{Bar}
\lipsum
\switchcolumn[0]
\marginnote{Figure 1: Foo}%
\noindent\includegraphics[width=\textwidth]{example-grid-100x100pt}
\end{paracol}
\end{document}
This is not a problem with tufte-book
, as I can observe the same effect with article
.
\documentclass{article}
\usepackage[showframe,
a4paper,
left=24.8mm,
top=27.4mm,
headsep=2\baselineskip,
textwidth=107mm,
marginparsep=8.2mm,
marginparwidth=49.4mm,
textheight=55\baselineskip,
headheight=\baselineskip]{geometry}
\usepackage{graphicx, paracol, marginnote, lipsum}
\begin{document}
\begin{paracol}[1]*{2}
\switchcolumn[1]\section{Introduction}
\switchcolumn[0]*
\switchcolumn[1]
\marginnote{Bar}
\lipsum
\switchcolumn[0]
\marginnote{Figure 1: Foo}%
\noindent\includegraphics[width=\textwidth]{example-grid-100x100pt}
\end{paracol}
\end{document}
Here is the tufte-book version of the MWE.
\ifodd\value{page}
is not reliable).. It might be easier to replace the whole marginotes package.