Is there a way to specify the side of the margin note in a double-sided paper according to where \marginnote is called?

The following figure explains what I mean:

enter image description here

Here is my test code:

%% PNAStwoS.tex
%% Sample file to use for PNAS articles prepared in LaTeX
%% For two column PNAS articles
%% Version: Apr 15, 2008 








%% For PNAS Only:
\issuedate{Issue Date}
\issuenumber{Issue Number}
%\setcounter{page}{2687} %Set page number here if desired


\title{Almost sharp fronts for the surface geostrophic equation}




\marginnote{Note on the left} xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx


\keywords{monolayer | structure | x-ray reflectivity | molecular electronics}

\abbreviations{SAM, self-assembled monolayer; OTS,

\dropcap{I}n this article we study the evolution of ``almost-sharp'' fronts
for the surface quasi-geostrophic equation. This 2-D active scalar
equation reads for the surface quasi-geostrophic equation. 

\marginnote{Note on the right} end.



The result of such code is:

enter image description here

All notes are on the right. I need one of them to be on the left.

I have upload a smallest test and its required class files to: https://dl.dropboxusercontent.com/u/45318932/mariginnotetest.zip

  • Using the twoside class option should do this, as in \documentclass[twoside]{article} (the book class uses twoside by default). – Gonzalo Medina Apr 8 '14 at 17:23
  • I am using a customized latex template. It is double-sided, but I do not need to put twoside on the \documentclass option. I tried to put [twoside] there. There seems to be no difference made. All notes are on the rigth hand sight. – Changwang Zhang Apr 8 '14 at 17:29
  • Welcome to TeX.SX! You can have a look on our starter guide to familiarize yourself further with our format. – cmhughes Apr 8 '14 at 17:37
  • @Leo Relevant information is missing; can you add a minimal example of code and also a link for the customized class? – egreg Apr 8 '14 at 18:01
  • You don't need twoside, but twocolumn; but the marginnote package is not able to put notes on the nearest margin; it uses the outer margin for twoside and always the right margin for oneside. On the other hand, \marginpar fails with the pnastwo class. :-( – egreg Apr 8 '14 at 19:53

Your Answer

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

Browse other questions tagged or ask your own question.