Page LayoutMargin Comments

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
geo_101
Posts: 7
Joined: Mon May 19, 2008 10:22 am

Margin Comments

Post by geo_101 »

I'm having some problems with putting notes on the left margin of my document. I have tried the methods I could find here and via Google (i.e., \marginpar; \reversemarginpar; mparhack; and \marginnote) but with no success.

I have also tried removing the various packages from my preamble to see if there was a conflict, but again with no luck.

A minimal (with the extra packages I use) example is below. Any suggestions?

Code: Select all

\documentclass[12pt]{article}
\usepackage[lmargin=3cm,rmargin=3cm,tmargin=2cm,bmargin=2cm]{geometry}
\usepackage[pdftex]{graphicx}
\usepackage[compress]{natbib}
\usepackage{caption}
\usepackage{lineno}
\usepackage{setspace}
\usepackage{sidecap}
\usepackage{marginnote}

\linenumbers
\doublespacing

\begin{document}

text text text text. 
text text text text. 
\marginnote[Left]{Right}

text text text text. 
text text text text. 

\end{document}

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

geo_101
Posts: 7
Joined: Mon May 19, 2008 10:22 am

Margin Comments

Post by geo_101 »

I have solved the issue
I modified the geeometry package line to :

Code: Select all

\usepackage[lmargin=3cm,rmargin=3cm,tmargin=2cm,bmargin=2cm,
marginpar=2cm ,reversemp]{geometry}
and used margin notes for my comments:

Code: Select all

\marginnote{\small{"COMMENT"}}
Post Reply