Tell me more ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I am working on a book right now and the margin notes are not appearing on the left-side pages. I tried using mparhack but it made no difference. Is my geometry, fancy style or another package messing up the normal layout? I am using pdflatex to render. Here is a minimal test case:

\documentclass[twoside,10pt]{book}
\usepackage[margin=9mm,paperwidth=107.95mm,paperheight=174.63mm,bottom=18mm]{geometry}
%\usepackage[cam,a4,center,pdftex]{crop}
\usepackage{lmodern}
\usepackage[T1]{fontenc}
\usepackage{fancyhdr}
\usepackage{lipsum}
\pagestyle{fancy}
\fancyhead{}
\fancyfoot[C]{\thepage}
\renewcommand{\headrulewidth}{0pt}
\fontsize{10.5}{13}\selectfont
\usepackage[sc,medium]{titlesec}
\usepackage{tocloft}
\addtocontents{toc}{%
            \protect\renewcommand{\protect\cftchapleader}{%-- switch it on here
                    \protect\cftdotfill{\protect\cftdotsep}}}
\addtocontents{toc}{\protect\thispagestyle{empty}}
\renewcommand{\cfttoctitlefont}{\hfill\scshape}
\renewcommand\cftaftertoctitle{\hfill\null\\\null\hfill\scshape{Page}}
\renewcommand{\cftchapfont}{\normalsize\scshape}
\renewcommand{\cftchappagefont}{\normalsize\scshape}
\setlength{\emergencystretch}{3em}
\title{Heroic Real Estate Otter of the 21st Century}
\date{}
\begin{document}
\frenchspacing
\chapter*{Thread 0}
\addcontentsline{toc}{chapter}{Thread 0}
\pagestyle{fancy}
\hspace{0pt}\marginpar[$\omega$]{$\omega$}\lipsum[4-6]

NEXT\hspace{0pt}\marginpar[$\psi$]{$\psi$}\lipsum[10]

\end{document}
share|improve this question
 
The marginpar is outside the page. Try adding \hfill in front of $\psi$ and you'll see it. –  egreg Feb 8 at 17:07
 
nice! So is that the proper work-around or is there a better way to set left-side marginpars to flush right? –  Brendan Howell Feb 8 at 17:23
add comment

2 Answers

up vote 4 down vote accepted

You have adjusted your page margins, but haven't adjusted the marginpar dimensions to match. I suggest adding parameters to your call of the geometry package:

\usepackage[
  margin=9mm,
  marginparwidth=7mm,     % + <- Width of your marginpar
  marginparsep=1mm,       % + <- Gap between text block and marginpar
  paperwidth=107.95mm,
  paperheight=174.63mm,
  bottom=18mm,
  ]{geometry}

This will also allow you, if you need, to see the content without re-specifying alignments.

share|improve this answer
add comment

Use this:

\DeclareRobustCommand{\mymarginpar}[1]{%
 \marginpar[\raggedleft#1]{\raggedright#1}}

and use \mymarginpar{$\psi$}

The problem is that the psi is off the page in your case.

share|improve this answer
 
I had to use this answer as well to get it to align the way I wanted. –  Brendan Howell Feb 10 at 19:33
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.
http://tex.stackexchange.com/questions/97384/why-does-the-marginpar-not-appear-on-the-left-page/97392
tex.stackexchange.com
crawl=CC-MAIN-2013-48
53035
application/http; msgtype=response
sha1:5VVCCSJXP42BWWITSMBBARMKIBMUDEHQ
<urn:uuid:bf217c49-5493-407b-ad49-1ae3a09d0126>
2013-12-08T22:10:45Z
198.252.206.16
sha1:5V5Q2KWQRTPAJLBTEZ2NV2UR5JKXVH7N
<urn:uuid:89946e73-eaef-40df-adad-fee12341a73b>
http://tex.stackexchange.com/questions/97384/why-does-the-marginpar-not-appear-on-the-left-page/97392
response
<urn:uuid:7c0abe7f-78f1-4e27-9673-d8fdc9e2b7de>
robots: classic
hostname: ip-10-33-133-15.ec2.internal
software: Nutch 1.6 (CC)/CC WarcExport 1.0
isPartOf: CC-MAIN-2013-48
operator: CommonCrawl Admin
description: Wide crawl of the web with URLs provided by Blekko for Winter 2013
publisher: CommonCrawl
format: WARC File Format 1.0
conformsTo: http://bibnum.bnf.fr/WARC/WARC_ISO_28500_version1_latestdraft.pdf