{marginpar} is a command that adds content to the margin of documents.

learn more… | top users | synonyms

71
votes
2answers
1k views

Margin notes with a pointing arrow that are automatically vertically adjusted

I am trying to emulate margin notes as they are in my (favourite) macroeconomics textbook. The crucial thing here is that the little arrow points to the line where the margin note is set. I have ...
49
votes
3answers
1k views

Notes overflowing from marginpar to footer

In this document, from page 12 and following, the notes from the marginpar are overflowing in the footer of each page. How can this be achieved in LaTeX? ConTeXT/LuaTeX based solutions are ...
37
votes
1answer
3k views

How can I put real notes in the margin?

I'm looking to write a fictional description/discussion by a 'scholar' of an alien race for an RPG, but I can see this being handy elsewhere. I'd like to put his 'notes' in the margins of some text ...
35
votes
4answers
3k views

What does the warning about “moved marginpar” mean?

I repeatedly get the LaTeX warning: LaTeX Warning: Marginpar on page x moved. What does this mean? Is that a problem? How can I fix the corresponding problem?
21
votes
4answers
612 views

Send (and stack) \marginpar to the top or the bottom of the page

I'm looking to define something like \topmarginpar{<text>}, which would essentially create a \marginpar{<text>} and align its top with the top of the current page. I would also like ...
21
votes
1answer
2k views

mix marginnotes with marginpars without overlap

We are trying to put the figure caption as well as the footnotes in the margin and got very good results with the tufte-latex package. However, we have to manually adjust the offset of each sidenote ...
20
votes
5answers
497 views

“Q” and “A” in margin - out of alignment

I have defined a command for a letter in the margin as follows (using marginnote because marginpar did not work at all): \newcommand{\sideletter}[1]{\marginnote{\Huge\bf\sffamily\color{orange} #1}} ...
16
votes
2answers
4k views

How can I get todonotes in the left margin

I want to use the package todonotes. Standard, the package prints the todo's in the right margin, while I want to have them in the left margin. Funny is, that in the manual itself they are placed in ...
16
votes
3answers
1k views

Too many unprocessed floats with marginpar

I'm updating my CV, which is written by modifying this template. I have always been very happy with the result, but now I'm getting a Too many unprocessed floats error. For those who do not want to ...
15
votes
2answers
425 views

Periodic word count in margin

I need to have a continuous word count for an assignment. This is either in the form of a note in the margin or one parenthesised in-text every 100 words or so. For instance, ----- TEXT ------|- ...
14
votes
2answers
612 views

Inserting a line to separate the text and the margin note

How can I insert a vertical line through a whole page to separate the text and the margin notes?
14
votes
2answers
5k views

Caption of figure in marginpar and caption of wrapfigure in margin

I'm writing my master thesis and have run into trouble with the layout of captions in relation to the margins. I have two main questions: How can I make the caption text of an figure placed in a ...
14
votes
1answer
2k views

Align marginpar with beginning of paragraph

Is there a way to align a marginpar with the beginning of a paragraph, without cluttering the text of the paragraph? If I do the following, the marginpar lines up with the last line of the first ...
14
votes
1answer
1k views

Margin notes (and subsection titles) in both sides of a two column document

I would like to write a book document with two columns and subsubsection titles as margin notes at both sides of the page (in the side which corresponds to the column). In order to specify the ...
13
votes
2answers
249 views

Objective: To separate text column from figures column in every page

I don't know if this has been asked before. But so far nothing has come up with my search. In some books, the figures are placed at the outer side of the page like in the picture below. Is this ...
13
votes
1answer
489 views

Visualize index entries in the text?

When I ad an index entry using \index with all the options available for the "format" and "see", and cross-reference, I'd like to see at the place where I make the index entry how this specific entry ...
12
votes
2answers
11k views

\marginpar with options

I was trying to understand what Leslie Lamport said in his book about \marginpar options. He says that ... \marginpar[$\Rightarrow$]{$\Leftarrow$} makes an arrow that points towards the text, ...
12
votes
1answer
1k views

marginnote always on right side of the page

My documentclass is book, so I've got an even and odd sides. I like that the equation number are always aligned on the right side - independent of the page (even/odd). I started using marginnotes. I ...
12
votes
2answers
999 views

How to create twoside book with oneside margin?

I want to make a twoside book with oneside margin such: odd pages: even pages: full header, with margin figure(or table): I used tufte-book class, but cannot set margins as i need. It's margins ...
11
votes
2answers
815 views

Automatic hyphenation in margin notes

I build a document with notes (like footnotes) on margins. I found help on LaTeX community and now my preamble looks like that: \documentclass{book} \usepackage{marginnote} ...
11
votes
3answers
869 views

Making one margin bigger to allow margin notes in KOMA script

I want to add margin notes using KOMA script's \marginline. I don't want to get into the tricky business of manually setting a lot of typearea lengths myself, I just want to make the outside margin a ...
10
votes
2answers
269 views

How to add a side by note in LaTeX

How can i produce the following image TeX commands of this would be extremely helpful.
10
votes
1answer
506 views

How to make all figures float on the outer margins of two-side document?

I want to make a double-sided problem booklet that contains several questions. Each question has a distinct number and may have zero or more figures. Each figure has a caption and floats on the outer ...
10
votes
2answers
506 views

Position margin notes relative to left margin in plain TeX

I want to add margin notes in the Tufte style to my Plain TeX document. (I'm using eplain, if that matters.) I know that if I were using LaTeX I could just use tufte-latex, but as a thorough ...
10
votes
1answer
493 views

How can I replace footnotes for non-floating marginal notes?

How can I replace footnotes for non-floating marginal notes? I have tried to replace my footnotes for sidenotes with footmisc package's side option, but they continue to be floats, like every ...
10
votes
1answer
403 views

Side notes marking multiple lines of text

I am looking for a method to put small side notes next to the text, by simultanously marking the amount of lines to which the note refers. So, something like this: I was trying many methods like ...
10
votes
1answer
633 views

Marginnote on left side only, using document class book with twoside

I'm trying to use marginnote on document class book with twoside, but I can't see to get the margin notes strictly on the left. I don't want to be putting \reversemarginpar on all the odd pages. Can ...
9
votes
2answers
196 views

Suppress the log file lines written by a specific package?

The marginfix package is incredibly verbose in what it writes to the log file. For example: \documentclass{article} \usepackage{marginfix} \listfiles \begin{document} Here is some text\marginpar{This ...
9
votes
2answers
114 views

How to align a marginpar with a section title

I wish to have brief information in a marginpar (or other solution) that aligns with the corresponding section (not section*) heading. So far the margin information is above or below the section ...
9
votes
2answers
904 views

Vertically misaligned margin note

I'm trying to use a \marginnote along with a specified \parskip. However, I'm having an alignment issue. With the code in the group with the \parskip the margin note is misaligned with the text on the ...
9
votes
1answer
827 views

Vertically aligning a marginnote and a section title

In the following code, the marginnote is logically aligned to the lipsum text. I would like to align the marginnote to the title of the section. What's the trick to use ? % Source : ...
9
votes
2answers
1k views

Margin notes in a multicolumn environment

I have been typesetting a two-columned book where I sometimes need to put a mark in the margin to say, that particular line might need special attention. (The book is actually a psalter - for ...
9
votes
2answers
836 views

Sidenote formatting

I want to have sidenotes (alternate footnotes) in the margin. I found this code on the Latex Community website. \newcommand{\sidenote}[1]{% ...
9
votes
1answer
958 views

Remove Marginpar from Classicthesis 4.1

I am searching for a safe method to remove the \marginpar feature in classicthesis. My corrector would rather have the text use the whole page. I am not that firm in LaTeX, so I tried to simply remove ...
8
votes
4answers
1k views

Hiding marginal notes

While writing I tend to add a lot of notes using \marginpar. Is there a way to hide them before printing a final version?
8
votes
2answers
1k views

Marginpar appearing on the wrong side (using memoir)

The subject line pretty much says it all: some marginal notes (beginning of the second page) do not appear on the correct side. (The question is: how can I fix this automatically?) Below is a MWE that ...
8
votes
2answers
559 views

How can I add margin notes on inner side of a page in two sides mode?

How can I add margin notes on inner side of a page only for even pages in two sides mode?
8
votes
3answers
2k views

Layout with captions in margin and margin notes

Questions summed up below! I want to convert a number of old (read: ugly self-coded html) tutorials into pdfs. They are still read by people, so I think it's worth the effort. The other reasons: ...
8
votes
3answers
2k views

Single-spaced multi-line marginalia

When writing papers, I like to keep track of notes, thoughts and to do's inside the documents. I'd love to have tiny coloured multi-line marginalia. So far I used sth like ...
8
votes
2answers
2k views

captionsetup for margin caption

I am using the caption package to set up the layout of my captions. However for margin captions using mcaption package the \captionsetup does not seem to have the expected effect. ...
8
votes
3answers
2k views

Making a line-separated left-margin in LaTeX

I'm trying to write a user guide in LaTeX, and I want to layout my page in a way that I can put in a left margin for comments / notes on the corresponding lines of text in the main portion of the page ...
8
votes
2answers
868 views

\raggedouter to typeset marginal text in twoside book

We used the following code fragment \newcommand{\raggedouter}{% \checkoddpage% \ifoddpage% \RaggedRight% \else% \RaggedLeft% \fi% } to provide a ...
8
votes
1answer
157 views

Tweak showlabels/showkeys - wrap the label

Can showlabels wrap the label in the margin? A very similar question is showlabels: wrap labels in marginpar, but the solution of @DavidCarlisle does not solve the more general case. Consider the ...
8
votes
2answers
2k views

How to get marginnote to use the whole margin space?

I'm typing up a document where I'd like to add notes to myself on the side margin. I'm using marginnote and using the geometry package for specifying customized margins, I've allocated 5 cm for the ...
8
votes
1answer
254 views

Too much vertical space before \part when using \marginpar

When I use a \marginpar{...} before \part{...} on a new page, I get a big space on the top of that page. Below is a screenshot, where the left one was typeset with marginpar, the right one without: ...
7
votes
2answers
2k views

Managing margin notes

In order to define a margin note, I use: \marginpar{Add formula for curvature} However, in a thesis full of margin notes, lots of them overlap, and the only solution I've found so far was to ...
7
votes
3answers
2k views

Add colour to margin notes

I'm using LyX with XeTeX and the KOMA-script article class. I'm trying secsty and fontspec for the first time. I'm trying to do a unique layout with large outer margins. On some pages I will put key ...
7
votes
1answer
496 views

marginpar and orphans

How can I avoid orphan lines if I use \marginpar? For example, here is a two-page document that does not have any orphans: \documentclass[letterpaper]{article} \usepackage{lipsum} \clubpenalty=10000 ...
7
votes
1answer
644 views

How do I put a note into the right margin, regardless of whether it's an even or odd page?

Suppose I am writing a book in which some sections are especially important. I would like those sections to be identified by a * after the page number in the table of contents. How do I get it ...
7
votes
1answer
511 views

Adding something automatically to every paragraph in an environment

I'd like to know if it's possible to have something added automatically to any paragraph in a given environment. I use LaTeX mostly for doing fill-in-the-blank worksheets at the school where I work. ...