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

learn more… | top users | synonyms

6
votes
1answer
176 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
348 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
2k 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
212 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
244 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
95 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
735 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 ...
5
votes
1answer
297 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
528 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
249 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 ...
3
votes
1answer
226 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 ...
7
votes
1answer
725 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
260 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
136 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 ...
13
votes
2answers
487 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
700 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
223 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
370 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
211 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
444 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
857 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
474 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
269 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
1answer
172 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
146 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} ...
35
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
355 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 ...
68
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
653 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
156 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 ...
0
votes
0answers
76 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
130 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} ...
6
votes
1answer
583 views

Page header with gray background and without margin

After finishing my thesis in LaTeX (I am an absolute newcomer) I've been asked to format it in a specific design matching a doc-file I received. I've managed to change titles and fonts and margins ...
10
votes
1answer
517 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 ...
13
votes
2answers
232 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 ...
10
votes
1answer
447 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 ...
12
votes
1answer
936 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 ...
20
votes
4answers
543 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 ...
0
votes
1answer
180 views

Words don't wrap inside redefined \marginpar{}

I have tried to play with a MWE from @cmhughes in this topic, and discovered that words inside \marginpar do not wrap like they should. Here is a MWE: ...
6
votes
1answer
691 views

\marginpar border with grey background and round black edges

I often use \marginpar{} which is boring to me. Is there a way to add grey background and round black edges so it would look like this:
5
votes
1answer
242 views

Text in outer margin of multiple columns

I want to put some text in the outer margin (by which I mean on the left side of the page of even pages and on the right side of odd pages) of the page. My naive approach of using \inoutermargin{Text} ...
15
votes
2answers
394 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 ------|- ...
5
votes
1answer
274 views

How to print keywords into margin?

Many documentations and textbooks print essential keywords of a paragraph into the margin. Is there any package for this? Of course it wouldn't be all too complicated to define a custom command based ...
3
votes
1answer
174 views

Issue for inserting queries in \title

I am using marginnote package for inserting queries. But in \title I am unable to print query. Can anybody suggest me what is the problem? please check now I have changed the code: ...
2
votes
0answers
114 views

How to repeat automatically last marginnote on a new page? [closed]

I have some margin notes and want the last one to be repeated on a new page. Is there a way to do this automatically?
3
votes
1answer
248 views

Which one is recommended when putting a full width floating image?

Version 1 In this version, I put the full width floating image outside the enumerate environment. \begin{enumerate} \item \MarginFig \lipsum[1] \end{enumerate} \FullFig \begin{enumerate}[resume] ...
4
votes
1answer
435 views

How to make sure the images properly float on the marginpar?

I want to create a problem booklet consisting of some questions and images on the marginpar. How to make sure the images properly float on the marginpar? If you carefully see the left image below, ...
4
votes
1answer
222 views

How can I place marginal notes always on the right but show normal odd/even headers?

I would like to typeset a book where the odd/even pages have the same format: each has a long text section on the left and a place to put small marginal notes on the right. If necessary, I want the ...
4
votes
1answer
640 views

showlabels: wrap labels in marginpar

I use the showlabels package to highlight labels, references and citations. It appears that, by default, showlabels cannot wrap the keys in the marginpar. If I have a series of citations in one line, ...