The tag has no wiki summary.

learn more… | top users | synonyms

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 ...
29
votes
3answers
839 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
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?
10
votes
2answers
255 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
2answers
504 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
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 ...
10
votes
1answer
282 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
812 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 : ...
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]{% ...
6
votes
2answers
162 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 ...
6
votes
2answers
115 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
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 ...
6
votes
1answer
244 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
306 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
198 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
247 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
77 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
220 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
231 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
75 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
285 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
58 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
1answer
76 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} ...
4
votes
1answer
594 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. ...
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
150 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 ...
4
votes
0answers
42 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 ...
3
votes
2answers
139 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
120 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
88 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
71 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
61 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
274 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
278 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
35 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
78 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
68 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
195 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
53 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 ...
2
votes
1answer
31 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
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 ...
2
votes
0answers
45 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
191 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
72 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 ...
1
vote
0answers
43 views

Horizontal placement of graphic in left and right margins

I want to place small graphics in the outer margins of my 2-sided document. I've been using, e.g., \marginpar[{\hfill \includegraphics[scale=.3]{figures/ivy-univ.png}\hspace{8 pt} }]{ ...
1
vote
0answers
100 views

Alignment of the Margin notes

I use the class article with two sides. I also use a dozen of \marginpar per page to place my QED symbol in "the margin" or rather, on the right of the page. The code is from this website: ...
1
vote
0answers
65 views

How can I influence in which margin the output of \marginnote gets printed?

Is there a way to specify the side of the margin note in a double-sided paper according to where \marginnote is called? The following figure explains what I mean: Here is my test code: %% ...
1
vote
0answers
106 views

auto-enumerated multiple footnotes marginnotes tufts-style-book

I want to have auto-enumerated multiple footnotes (tufte-style margin notes) in a forbidden mode. At the moment I can specify the footnote number and place the notes below the itemise list but I want ...
1
vote
0answers
169 views

A5/B5 papersize book with margin notes

I am trying to make a diary that will have a book-like page structure with side notes in A5/B5 paper size. I was able to create the style I want, but it can only be applied using an article ...
0
votes
1answer
22 views

Add picture's caption in left margin in refman class

I am using refman class in latex in order to write a manual of instructions. I would like to add pictures/diagrams with the caption in the left margin since it is quite wide but when I do it with the ...