about typesetting in margins using the marginnote package.

learn more… | top users | synonyms

74
votes
2answers
2k 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 ...
29
votes
3answers
1k views

Dealing with many margin notes

I have to typeset a book that contains a lot of side material (comments, notes, references, supplementary explanations, ...) that I want to appear alongside the main material. At first, I thought of ...
14
votes
2answers
779 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?
13
votes
1answer
567 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 ...
12
votes
2answers
833 views

create a framed environment for a margin note

What am trying to achieve is the following: Of course, if this can be done so that there is a switch between even and odd pages. Currently I am only interested in the not appearing on the LHS ...
10
votes
2answers
360 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
396 views

marginnote vertical alignment

I've run into a problem using the marginnote package; the vertical position changes if the note is wider than the margin. An MWE: \documentclass{article} \usepackage{lipsum,marginnote} ...
9
votes
1answer
925 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 : ...
8
votes
1answer
41 views

Nicely showing 'special' index entries in the margin

I want to show index entries in the margins. Here's what I'm doing: \documentclass[a4paper, 12pt, twoside]{report} \usepackage{kantlipsum} \usepackage{marginnote} \let\oldmarginnote\marginnote ...
7
votes
4answers
495 views

How would you reproduce the Leibniz binary table

I would like to reproduce the original Leibniz binary table (as seen here). The most precise the better...
7
votes
2answers
646 views

framed or colored box with text and margin notes

I am using pdfTeX and I have in my text an example which just is a kind of a short story. What I want is: The story should be visually distinct from the normal text, by frame or background colour. I ...
7
votes
2answers
528 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]{% ...
7
votes
3answers
229 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 ...
7
votes
2answers
184 views

Breaking a marginpar over a pagebreak

Is there a way to do this in LaTeX 3? I looked at marginpar and orphans, and I am not sure that it addresses my question, but I belive it states that this is not possible in LaTeX 2e. This is most ...
6
votes
2answers
153 views

Line numbers collide with marginnotes on even pages in a book

I am having a bit of a problem with margin notes colliding with line numbers on the even pages of a book. I would like to adjust the margins so that the notes can stay where they are. I think this ...
6
votes
1answer
149 views

Titlesec package - paragraph level headings as margin notes

After hours of pointless googling around I did not manage to find out how... I'm new to LaTeX templates and now I'm trying to make simple (?) modification so that I could have paragraph level headings ...
6
votes
1answer
322 views

Aligning a \marginnote to a theorem title

I want to create a \marginnote which is aligned to the title of a theorem. However, the \marginnote is always placed over or under the title, when I put the \marginnote command before or into the ...
5
votes
3answers
163 views

Adjust the vertical position of margin notes to the baseline of the body text

I want the first line of my margin notes—which are set in \small size—to be at the height of the baseline of the body text, like this: My problem is that using something simple like ...
5
votes
1answer
508 views

Add background colour to margin notes area

I want to delimit margin note area by a background color for all the document like in some nice books. I tried with marginnote and todonote packages without success. You are my last hope...
5
votes
2answers
363 views

Using \MarginFigure command

Someone wrote a command called \MarginFigure for putting figures in the page margins. Unfortunately, I haven't been able to get the \includegraphics to work. Specifically, I have figures that I've ...
5
votes
1answer
1k views

Left marginnote does not work

I badly need to have marginal notes on the left margin. The command \marginpar does not work. Supposedly, \marginnote works, and this needs the marginnote package. OK, I tried, but nothing happens. ...
5
votes
1answer
124 views

margin notes disturb line numbering of listings

I've tried to add margin notes for listings (PS: footnotes work fine), but when line numbering is on, the margin notes disturb the numbers: \documentclass{article} \usepackage{listings} ...
5
votes
1answer
300 views

Margin note beside heading

I would like to insert a hyperlink or two for each heading and I would like to have them inserted into the margin such that they are aligned with the header. I was hoping to create a command which ...
5
votes
1answer
141 views

How to insert margin note just left side of all page in my persian document?

\documentclass{book} \usepackage[english]{babel} \usepackage[svgnames]{xcolor} \usepackage[doublespacing]{setspace} \newcommand{\mymarginnote}[1]{% ...
5
votes
1answer
248 views

How can I place a marginnote inside a description (or other list environment)

I have a macro (defined with the xparse package) that creates a marginnote. It works as I would like when prepended to normal paragraph text: \NewDocumentCommand\dates{m g}{% \IfNoValueTF{#2} ...
5
votes
1answer
87 views

Margin note and paragraph not aligned when skipping a page

I am using the "marginnote" and "geometry" packages to set marginnotes features: \usepackage[a4paper, top=3.2cm, bottom=3cm, outer=4cm, inner=4cm, heightrounded, marginparwidth=2.3cm, ...
5
votes
0answers
95 views

Absolute horizontal position of margin notes

My question concerns the margin notes and particularly its position in the page. Is it possible that margin notes have an absolute horizontal position but a vertical position that depends on the part ...
5
votes
0answers
283 views

Margin footnotes not working in memoir with polyglossia + Hebrew

I am working on typesetting my master's thesis, using XeLaTeX and memoir. Everything has been going quite well, until I wanted to add a small message in Hebrew in my preface. I am using the ...
4
votes
2answers
62 views

Change linespacing within marginnote

I am trying to change the linespacing within a marginnote such that it is different from the main document. I have tried all approaches described in Temporarily increase line spacing and Aligning ...
4
votes
1answer
103 views

automatically add additional space for annotations while keeping layout the same

Consider, I've got a document I am asked to review in a way, that I add todonotes/marginnotes with comments. Therefore the usual document margin might be to small. Is there a way to just add ...
4
votes
1answer
353 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. ...
4
votes
1answer
76 views

Making marginnote to appear either side of twocolumn, twoside document

I have the following MWE in which the \marginnote need to appear at correct margin. For example the margin notes one, two, three and four need to appear on left margin of first page. In the second ...
4
votes
1answer
134 views

Vertical alignment of marginnote and section heading

Following on from a previous question I asked, I am now having difficulty in vertically aligning my margin note with a section heading. To be clear, the problem is only when I invoke the solution ...
4
votes
2answers
2k views

Spacing/stretching marginnote

I want to do something like this \marginnote{ \hspace{\stretch{1}} \framebox{text} \hspace{\stretch{1}} } i.e., center the marginnote. The problem seems to be that the width is defined to be that of ...
4
votes
1answer
194 views

tufte-style book url in marginnote

How do I put a \url{} in a \marginnote{} without error using tufte-book document? I have already tried \marginnote{\url{http}} but I get the error illegal parameter number in definition of ...
3
votes
2answers
231 views

Super-primitive 2-column table in LaTeX

I would like to build a simple 2-column table that will let me attach, to one of the lines in the table, a marginal note in the right margin, for example: A B CC DDD ...
3
votes
1answer
174 views

Alignment of marginnote independently of main paragraph

I've noticed that when a \marginnote is added (edit: using the marginnote package), the horizontal alignment of that note is inherited from wherever the note is placed. In my case, I wish to have a ...
3
votes
2answers
202 views

Margin note left of mdframed images in a two column page

Is it possible to have a margin note to the left of the left column on the second page with this code and approximately halfway down the page? I cannot get it to show up using \marginpar or the ...
3
votes
2answers
165 views

Page number in the margin note

I've seen some books that have the page number in the middle of the page, in the margin note; i think it make it easier to look for a particular (IMHO). Is there any chance to do this in LaTeX?
3
votes
2answers
47 views

Problem white space and \newline in margin note

\documentclass[a4paper,11pt]{book} \usepackage[left=1.5cm,right=1cm,top=3cm,bottom=1.5cm,marginparwidth=5.5cm,marginparsep=1cm,outer=8cm]{geometry} \usepackage[T1]{fontenc} ...
3
votes
2answers
65 views

Is it possible to have tufte-like citations in a general documentclass?

The tufte packages/class is very nice. But (opinion based) it is too invasive for simple documents. I want to selectively use some features in a normal article class. Is is possible to have ...
3
votes
1answer
68 views

Paragraph numbering in the margins of a two-column document?

I've been trying to get paragraph numbers to sit in the margins of a two-column document. I can't get marginpar to print any text in the margins at all. When I use marginnote, I get an error saying ...
3
votes
2answers
88 views

Add rotated comment on margin

this is my MWE: \documentclass[a5paper]{book} \usepackage[ngerman]{babel} \usepackage{ucs} \usepackage[utf8x,utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[garamond]{mathdesign} ...
3
votes
1answer
56 views

Is it possible to make todonotes package use margin outside pagetrim for draft notes?

In the memoir manual there is a snippet for making draft notes that uses the entire paper when printing drafts on pages bigger than the trimmed papers. Is it possible to get the more fancy notes of ...
3
votes
1answer
48 views

marginnote problem with word wrap - scrbook

Problem with marginnote Programcode \documentclass[% paper=a4,% fontsize=12pt,% twoside=true,% DIV=classic,% headings=openany,% headings=small,% version=last,% titlepage=true,% parskip=half+,% ...
3
votes
2answers
129 views

Subfigures in Margin note

My codes, \documentclass[a4paper,twoside,openright,11pt]{scrbook} \usepackage[left=1.5cm,right=1cm,top=3cm,bottom=1.5cm,marginparwidth=5.5cm,marginparsep=1cm,outer=8cm]{geometry} ...
3
votes
1answer
77 views

\marginnote misalignment in \begin{split}

When I use \marginnote in \begin{equation}\end{equation}, it seems to work fine, but if I try to place a margin note inside a multiline equation (at least when I use \begin{split}\end{split}), there ...
3
votes
2answers
389 views

Horizontal margins for margin notes in the tufte classes

From the picture underneath you can see that the tufte class does not provide horizontal margins for the margin notes. Thus the margin notes can go beyond the \textheigth. Is that normal or is it a ...
3
votes
2answers
375 views

Alignment marginnotes

I am trying to write a report for Uni, where I need something like what marginnotes does. The problem is I would need two different margins on the left side of the page. One for the chapter or ...
3
votes
1answer
62 views

Automated Marginal Documentation of Page Changes

I have a recollection of having seen this answered here before, but I spent the last hour looking for it and failed, so I'm asking (maybe again): I'm translating a document. I'd like to keep track, ...