As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [marginnote]

{marginnote} is about typesetting non-floating notes in margins using the marginnote package.

Filter by
Sorted by
Tagged with
5 votes
2 answers
3k 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 ...
Randy Randerson's user avatar
2 votes
1 answer
176 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 ...
SarinKostas's user avatar
22 votes
3 answers
3k 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 margin. ...
azetina's user avatar
  • 28.3k
5 votes
2 answers
2k 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 ...
Aurelius's user avatar
  • 7,553
40 votes
3 answers
6k 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 ...
digital-Ink's user avatar
  • 2,973
6 votes
1 answer
2k 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...
user32118's user avatar
18 votes
1 answer
2k 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 ...
Martin's user avatar
  • 822
9 votes
1 answer
1k 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} \setlength{\...
gilgamec's user avatar
  • 677
8 votes
3 answers
714 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 ...
dwelle's user avatar
  • 235
3 votes
2 answers
1k 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 section ...
David Wright's user avatar
6 votes
1 answer
1k 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 ...
grackkle's user avatar
  • 549
6 votes
1 answer
833 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 ...
JP-Ellis's user avatar
  • 8,759
10 votes
1 answer
6k 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. ...
xatel's user avatar
  • 101
4 votes
1 answer
3k 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 ...
Foo Bar's user avatar
  • 12.9k
8 votes
1 answer
965 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. ...
Bart Snapp's user avatar
  • 1,319
3 votes
1 answer
649 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 ...
slhck's user avatar
  • 1,384
16 votes
2 answers
3k 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?
user23959's user avatar
  • 161
8 votes
2 answers
1k 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]{% \...
mhelvens's user avatar
  • 6,036
83 votes
2 answers
4k 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 ...
Jörg's user avatar
  • 7,523
2 votes
1 answer
484 views

Stack margin text in outer margin in ConTeXt Mk IV

I try to stack marginals with ConTeXt Mk-IV. In this question a possible solution was given. The solution works fine, but it turns out that the location=outer parameter does not work any more. Please ...
Andy's user avatar
  • 6,189
5 votes
1 answer
520 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} ...
Silas Davis's user avatar
9 votes
1 answer
2k 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 : http://tex....
projetmbc's user avatar
  • 12.9k
18 votes
1 answer
19k views

How do I get margin notes to appear on the left?

I'm trying to make a left-sided margin note. As per the LaTeX wiki, I tried using \reversemarginpar but that didn't solve anything—it didn't make a margin note at all. I also tried \marginpar[left ...
Miriam's user avatar
  • 1,703
4 votes
2 answers
3k 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 \...
Milo Wielondek's user avatar

1 2 3 4 5
6