The tag has no wiki summary.

learn more… | top users | synonyms

73
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
929 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
676 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
471 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 ...
11
votes
2answers
660 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
306 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
341 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
867 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 : ...
7
votes
2answers
332 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
3answers
197 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 ...
6
votes
2answers
468 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]{% ...
6
votes
2answers
154 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
1answer
292 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
1answer
400 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
284 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
849 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
100 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
280 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
102 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
240 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
0answers
53 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
66 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
250 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
1answer
91 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
318 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
104 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
1k 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
163 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
167 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
142 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
1answer
45 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
1answer
131 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
79 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
34 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
90 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
73 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
341 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
320 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
45 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, ...
3
votes
1answer
80 views

Margin notes on the wrong page when using landscape in memoir

I have tried several similar to the following code, but the best that I can get is the marginpar on one side and the figure in the following. The first \marginpar{\lipsum[11]}\lipsum[1] is positioned ...
3
votes
1answer
67 views

Fixing marginnote placement after adjusting margins

I am trying to take some notes in the margins, that will appear in the printed edition. I hope to use adjmulticols to adjust the margins for two column text in the document so I can save space. ...
2
votes
1answer
91 views

Alignment margin note with equation in pages

It's my problem, I am not writing margin note in \equation and \align. It's an error. But it's working in text. My aim, margin note with equation must be aligned. ...
2
votes
1answer
121 views

Modify the @tufte@margin@float environment to automatically align floats

The Tufte classes provide the @tufte@margin@float environment which is used for tables and figures, but its result it's not automatically aligned with the text. The \marginnote command provide a ...
2
votes
1answer
75 views

problem with mnotes package

I'd like to test the mnotes package but it does not seem to work. Code: \documentclass{article} \usepackage{mnotes} \begin{document} dummy text\MNOTE{text} \end{document} The user manual states ...
2
votes
1answer
233 views

Inserting wrapfig causes margin notes to disappear

I have this short example derived from this XeTeX CV template, which uses margin notes to show years. You can use the Mandrill picture for pic.jpg, and you could also use the original template to ...
2
votes
1answer
70 views

Marginpar/Marginnote hint to column

Sorry, but until someone comes up with a better title, I have to stick to this one for my question. I am currently using \marginnote for the first time in Latex and I want to use it on a twocolumn, ...
2
votes
1answer
748 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 ...
2
votes
0answers
66 views

Irregular behaviour when mixing \pagestyle and \newpage and \marginenote

This might be a newbie question, but I have been struggling for hours to find out what is going on and still it does not make any sense. I managed to create a MWE, but when I gradually transfer to ...
2
votes
0answers
294 views

Typesetting Classicthesis without margin notes

I am using classicthesis-v4.1 Lyx template for my thesis. I know that it is not advisable to make many changes in classicthesis.sty but I don't want to use the margin notes option in it. I tried the ...
2
votes
0answers
76 views

Has anyone combined marginfix and tikzmark yet?

I am working on a big book project, and up until today I refrained from using glue. But now I had to, and, lo and behold, suddenly my margin notes' position is broken :( The reason is that marginfix ...