1

UPDATE: I managed to reduce the problem to the following (turns out it does not relate to classicthesis)

\documentclass[twoside]{report}

\usepackage{marginnote}`enter code here`
\usepackage{lipsum, showframe}

\begin{document}
\begin{titlepage}
   \lipsum[1]
\end{titlepage}
\pagenumbering{arabic}

\lipsum[1]
\marginnote{\lipsum[1]}
\lipsum

\end{document}
  • If I remove \pagenumbering{arabic} it works
  • If I remove the titlepage it works

How can I get both a title page, arabic page numbering and correct margin notes?



Original Question

I use the classicthesis package and desire to place marginnotes into the larger margin (it's a twosided document). Thus in my preamble I have

\makeatletter
\let\oldmarginnote\marginnote
\renewcommand*{\marginnote}[1]{%
   \begingroup%
   \ifodd\value{page}
     \if@firstcolumn\else\reversemarginpar\fi
   \else
     \if@firstcolumn\reversemarginpar\fi
   \fi
   \oldmarginnote{#1}%
   \endgroup%
}
\makeatother

Which places the note in the left margin for an even-numbered page, but the space is too large. See the below image enter image description here

How do I get it into a reasonable position without messing up the format of the document (I tried some geometry related tips, but I wan all margins and such stay the way they are, and simply move the note closer to the body)?

  • Please add to your question a complete minimal document allowing us to reproduce the problem. – Gonzalo Medina Aug 13 '15 at 15:04
  • If you use the showframe package you will see that the default marginpar area IS on the wide side (directly under the chapter number). – John Kormylo Aug 13 '15 at 15:09
  • You can increase the \marginparwidth (it must do its own fixup) but you will move the chapter number with it. – John Kormylo Aug 13 '15 at 15:43
  • @GonzaloMedina I have been strangely unsuccessful in reproducing the problem with a minimal example. I have therefore linked the repository above and I would be greatful if somebody were to take a look at it. – oarfish Aug 14 '15 at 10:30
  • @oarfish Check the answers here [tex.stackexchange.com/questions/14527/… You only need to issue \reversemarginpar once, maybe just below the chapter titule to preserve the chapter number's position (it's also in a marginpar). Then again at the end of the chapter. – PhilipPirrip Aug 14 '15 at 10:50
2

As per my comment:

enter image description here

\documentclass[twoside]{report}
\usepackage{showframe}
\usepackage{lipsum}
\usepackage{classicthesis}
\addtolength{\marginparwidth}{0.5in}
\begin{document}
\chapter{One}
\marginpar{\rule{\marginparwidth}{1pt}}
\lipsum[1-3]
\chapter{Two}
\marginpar{\rule{\marginparwidth}{1pt}}
\lipsum[3-5]
\end{document}
  • Look at the upper and lower margins. Do you notice the page number running off the page? classicthesis assumes certain gloabl options being given down to typearea. I consider this one of the quite many bad decisions the author of classicthesis has made. – Johannes_B Aug 14 '15 at 12:58

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.