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

learn more… | top users | synonyms

4
votes
2answers
187 views

How to merge marginpars to avoid overflows?

I am using margins to print keywords but sometimes the number of keywords in a paragraph become too many and they appear beside the next paragraphs. To avoid this issue, I thought maybe they could be ...
10
votes
1answer
390 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 ...
2
votes
1answer
90 views

How to top- align sidenotes using eledmac?

Eledmac commands \ledleftnote \ledrightnote \ledsidenote insert side notes at the level where the command was issued. However the side note is bottom aligned, meaning the the note doesn't start at ...
6
votes
1answer
107 views

Placement of margins notes on even pages

I'm writing a textbook and am using \marginpar to put a mnemonic on the margins (a triangle and a writing hand symbol from the marvosym package) for the reader to work out the derivation in the text. ...
6
votes
3answers
170 views

\listings environment inside \marginnote?

Is it possible to use \listings or similar environment inside \marginnote or in margins in general? \marginnote{ \begin{lstlisting} test \end{lstlisting} } If not, what would be a ...
3
votes
1answer
387 views

Change marginpar Font

How do you change the font used for a \marginpar? I am using xltxtra, and am seeking to use an OpenType font. MWE: \documentclass{book} \usepackage{xltxtra} \usepackage{titlesec} ...
2
votes
1answer
93 views

Marginpar does not appear in ledmac numbered text

For some reason my marginal notes don't appear. Is it because of line numbering? % XeLaTeX can use any Mac OS X font. See the setromanfont command below. % Input to XeLaTeX is full Unicode, so ...
5
votes
1answer
338 views

Implementing marginfigure

sorry for the absolutely beginner question here. I've been looking at the tufte-latex class, specifically the tufte sample book. It makes use of marginfigures, which I believe are provided by the ...
2
votes
2answers
159 views

Add vertical line margin-aligned from a given point through subsequent pages

Using the memoir package, I would like to have a vertical line on my margin like this: Some leading content ... vertical space ... ---------------------------------- XYZ | Content A | ...
2
votes
1answer
96 views

vertical placement of graphics in marginpar

I'd like to put small graphics into the margin via \marginpar. The top of the figures shall be aligned to the top of the text line they refer to. I found around here the suggestion to put a \vskip0pt ...
3
votes
1answer
109 views

Printable margin notes that leave rest of the content intact

Let me give you some background on my problem. I am working on application which generates and compiles LaTeX code. For debugging purposes I need it to add some additional informations next to the ...
4
votes
1answer
120 views

How to lock a static text in the margin in ConTeXt?

Even though I have a some manuals at hand I can't seem to find a solution for my problem. Within an invoice I created with ConTeXt (MkIV) I have placed a short paragraph in the right margin. This ...
8
votes
1answer
248 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: ...
2
votes
2answers
203 views

Vertical space depending on height of marginpar

I'd like to set a law text consisting of articles, marginal notes and, in most cases, paragraphs (\abs). The marginal notes should always start on the same line as the first line of the article text, ...
6
votes
0answers
268 views

Marginpar on a fixed side of two-column double-sided memoir document

I have a two-column, double-sided document class based on memoir, where the wide margin is always on the left. I would like the \marginpar to always be in this left margin, irrespective of whether it ...
4
votes
1answer
282 views

Using a lot of marginpars

I need to use a lot of marginpars and hit "Too many unprocessed floats" as a result. I'm already using the morefloats package with maxfloats set to 100, but it's not enough sometimes. I'm thinking a ...
2
votes
2answers
186 views

how to control font and paragraph formatting in margins

i'm having a hard time to figure out how to control the exact appearance of margin text (such as is output by the \marginpar command). i'm using XeLaTeX with packages such as geometry, fontspec, ...
6
votes
1answer
212 views

Horizontal alignment of margin notes in nested enumitem list

I would like to be able to 'tag' certain list items in an enumitem list with a mark in the left margin. I would like the marks in the left margin to be horizontally aligned with respect to each ...
5
votes
1answer
439 views

Asymmetrical layout in two-sided document

I use two-sided document mode in Book class KOMA Script. It works well in the sense that the ToC, chapters, titles starts from the odd pages. Exactly we I need in a book. In a recent book I need to ...
5
votes
2answers
3k views

Margin notes on both left and right?

I've been trying to put margin notes in both the left and the right margins at the same time. My attempts have gone something like: Lorem{\reversemarginpar\marginpar{Left}} ipsum ...
2
votes
1answer
288 views

How can I place an image in a marginpar and make it position itself according to the top of the image

As demonstrated by the following MWE, I've placed a simple image in the margin of a document. What appears to happen is the caption text is vertically aligned with the line that I type the \marginpar ...
3
votes
1answer
316 views

How to suppress “underfull \vbox” warning for one specific \marginpar

I have just started using LaTeX, so forgive me if this is a basic question. I have a \marginpar in a two column article. It is very narrow (despite me increasing \marginparwidth). When the document is ...
1
vote
0answers
98 views

How to flow a marginpar that does not fit to next page (or: how to write text with lots of margin notes)? [duplicate]

I analyse an interview transcript and would like to add plenty of notes in the margin. Sometimes these margin notes will not fit on the current page, and thus I would like them to flow to the next ...
5
votes
2answers
883 views

Why does the \marginpar not appear on the left page?

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 ...
6
votes
1answer
340 views

\marginpar and \begin{align}

I want to use \marginpar directly beside a formula within a \begin{align} statement. I tried: \begin{align} E^2 \end{align} \marginpar{Not correct} but the 'Not correct' statement is written ...
2
votes
1answer
613 views

margin note left of an equation? [closed]

How is it possible to place a margin note left of an equation? I'm using scrartcl from KOMAScript. I set \reversemarginpar, then I tried with \marginnote from the package marginnote and also with ...
4
votes
1answer
268 views

How can I make an environment so that I can reserve space for text next to a figure?

I'm working on a layout for a custom textbook class, and I'm having issues getting this environment to work as I like. Here's a shot of my current working layout: I'd like to be able to make an ...
4
votes
1answer
257 views

longtable captions in marginpar

I used floatrow to put all my captions (figure, table, listing) into the margin. The only captions left that i'm unable to put there belong to the longtable environment. Is there a way to put the ...
8
votes
1answer
900 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 ...
4
votes
1answer
284 views

Tufte-Latex: How do I stop marginfigure from inserting inline space?

I want to use marginfigure, but it is inserting space inline. Check out my minimal example: documentclass{tufte-book} \begin{document} Hello\begin{marginfigure}$2+2=4$\end{marginfigure}I'm new here. ...
6
votes
1answer
145 views

Caption number increases by two for every inclusion

I am trying to typeset my captions in margin using marginpar and captionof. Here is what I get by the MWE. Note the wrong caption numbers. The first caption is included using macro \fixedmarginpar ...
14
votes
2answers
580 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?
4
votes
1answer
799 views

Vertical spacing between sidenotes (and, between sidenotes and captions) in tufte-book

Within from LyX, using various sidenotes in a tufte-latex-book environment, along with float figures, results sometimes in an overlapping of sidenotes and caption(s). For example, two sidenotes ...
6
votes
1answer
260 views

Alignment of margin floats

I am using the code from margin-floats-and-hyperlinks. It works nicely, however the figure generated is not left aligned in the margin as the caption below it is. I also tried \raggedright as ...
6
votes
2answers
419 views

How do I 'stack' marginnotes that are triggered on the same line?

I'm trying out a new definition style for my thesis. If a new term is introduced, I repeat it in the margin (and emphasize it inline). A simplified demonstration: \newcommand*{\idef}[1]{% ...
3
votes
1answer
233 views

marginpar anchored by pages not by text

I'm using marginpar to put margin figures in a document - there are $n$ pages and $n$ figures so I'd like to have one on each page, anchored to the first line of text on each page - at the moment I ...
10
votes
2answers
492 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 ...
12
votes
2answers
973 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 ...
3
votes
1answer
531 views

How to reverse margin of tufte-book?

I want to change position of tufte-book(twoside) class in my thesis. In normal mode, margins for odd pages is on the right side and for evens, is on the left side of page. I want to change the ...
1
vote
1answer
287 views

Change marginpar for each page

I want to be able to change the marginpar and right values for each page, depending if the page has notes or not. MWE: \documentclass{article} \usepackage[top=3cm, bottom=3cm, left=3cm, right=8cm, ...
2
votes
2answers
185 views

How can I insert a small image in a side note?

I want to insert small images in sidenotes. Is it possible (everything seems to)? How could I do it?
1
vote
0answers
33 views

Vertical align a marginpar with the first line of a paragraph [duplicate]

Possible Duplicate: Align marginpar with beginning of paragraph Is there a way to vertical align a marginpar with the first line of a paragraph, instead of the last?
3
votes
1answer
161 views

Adjusting figures or images in margins

Say I want figures to be placed in the margins. I have the following code which produces: \documentclass[11pt,twoside,openany]{book} \usepackage{amsmath,amssymb} \usepackage{lipsum} ...
37
votes
1answer
2k 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 ...
5
votes
2answers
410 views

vspace in marginpar adds unwanted vertical space

I am trying to finetune the position of marginpars using \vspace. However, the result is not as expected and even if I include vspace{0pt} the marginpar get's pushed down, as the MWE below ...
70
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 ...
9
votes
2answers
798 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]{% ...
4
votes
1answer
181 views

“Dynamic Endnotes” (footnotes on side): what to do with footnotes at the end of the page?

I want to use what Bringhurst calls "dynamic endnotes", i.e. footnotes in the marginpar. This can be easily achieved with the footmisc package. However, I need some support and guidance how to handle ...
1
vote
1answer
101 views

Making \marginpar work with tex4ht

I tried using \marginpar using tex4ht and pdflatex. Here is the PDF output: Here is the HTML output: Is it possible to configure tex4ht to produce HTML output with good looking marginal notes? ...
1
vote
1answer
157 views

Altered marginpar conflicts with biblatex citation

Consider the MWE below: \documentclass[10pt,twoside,onecolumn,openright,draft]{memoir} \usepackage{fontspec} \usepackage{filecontents} \usepackage{calc} \usepackage[french]{babel} ...