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

learn more… | top users | synonyms

2
votes
2answers
35 views

Numbering Images in Marginpar

I would like to add some small images into the marginpar. The purpose of the images is to add some additional 'nice to know' information, but they are not directly related to the document's content, ...
3
votes
2answers
55 views

Dummy text inside the marginal note doesn't continue to next pages

This is my little MWE, \documentclass{book} \usepackage{blindtext} \usepackage{geometry} \geometry{ includemp, % or include something else? paper=a4paper, marginparwidth=...
2
votes
1answer
40 views

unexpected linebreak when using `\nameref` in marginpar

I have an unexpected linebreak in my \marginpar and don't know where it comes from. It appears right in the middle of the \nameref... Does anyone see the mistake? \documentclass[a4paper,twoside]{...
0
votes
1answer
52 views

tufte-latex: math tag into margin

How can I push a \tag of a math environment into the margin when using tufte-latex? I tried to modify the answer in margin note left of an equation? but I didn't understand the command. Here is a MWE ...
5
votes
2answers
127 views

How to add marginal notes on the right in `ltxdoc` document class

I am having an issue inserting marginal notes while using the ltxdoc document class. I see that the default layout is the following: From what I understand, the margin notes are set up this way ...
1
vote
1answer
42 views

Align sections titles with margin notes

I want to align sections titles with margin notes as shown below. \documentclass[12pt,a4paper,twoside,openright]{book} % Page format \usepackage[left=2cm,right=6cm,top=3cm,bottom=2.5cm, headsep=1.5cm,...
1
vote
0answers
32 views

How to make marginal boxes that respect page breaks

At the moment, I'm using a combination of \makebox and \parbox to insert labels into the margin in my thesis. For the most part, this works, but occasionally I have a long label that doesn't quite fit ...
1
vote
0answers
39 views

How to define margin for pdf doc?

I have the problem that my output pdf has the wrong margin between left and right. you can see it in the pic below: The problem is, I need the opposite way. left have to be wide and right narrow. ...
0
votes
0answers
60 views

tufte-book and marginfix

I want to apply this fix Full width text shifts all marginfix-ed floats off the page to the right to the tufte-book document class, however I get an error whenever I use \chapter. \documentclass{...
2
votes
0answers
63 views

Alignment options for marginpar

I'm searching for more powerful annotation library than marginpar. In particular, I would like to have the feature to center the annotation vertically in the corresponding paragraph. marginnote seems ...
3
votes
2answers
76 views

Equip a theorem with margin bar

Using PDFLaTeX, I am trying to equip theorem-like environments with a colored bar in the outer margin of the document. These theorems are already using the (nice) thmbox formatting. After trying the ...
1
vote
0answers
51 views

\marginpar with pushback from right

I like to put references to book sections pertaining to class notes in the right margin. These are of the form XXXnn-nn for a 3-letter book title abbreviation followed by a range of section numbers. ...
4
votes
1answer
87 views

Margin note automatic concatenation

I'm trying to use \marginpar to annotate the line where a piece of data occurs in the text. That means, I want them in the precise line where they are declared, there will frequently be more than one ...
3
votes
1answer
103 views

More floats with memoir [closed]

I'm writing a thesis with memoir. The numerous footnotes are rendered as sidenotes (marginpars) using memoir's \footnotesinmargin (memman.pdf p245). This, with the addition of the marginfix package, ...
2
votes
0answers
52 views

marginpar have changed,is it a bug?

In my latex installation, this MWE always gives the warning: marginpars have changed, after multiple runs. But clearly, there is nothing changing. Is it a bug? \documentclass{scrbook} \usepackage[...
0
votes
1answer
200 views

Margin widths and positioning in “oneside” memoir document

In a "onesided" memoir-based document, two custom \newcommands use both the marginpar and the sidepar commands respectively. The marginpars go to the right side and the sidepars on the left side. Some ...
2
votes
2answers
78 views

Margin comment throwing “underfull \hbox” error

So first off, let me show you a minimal working example: \documentclass{amsart} \usepackage{color} \definecolor{mycol}{rgb}{0,0.5,0} \newcommand\marginComment[1]{\marginpar{\hsize1.7cm\tiny\color{...
2
votes
1answer
73 views

Margin note on adjacent page

I was wondering if there was a way to put margin notes (and possible footnotes) on the adjacent page. I want to put together a document that incorporates a large amount of references and "margin ...
1
vote
0answers
78 views

How to put figures in the margin beside text? [duplicate]

For my thesis, I would like to be able to put some illustrative pictures in the (exterior) margin, beside text as it is the case in following example (original document, p. 16) However, I cannot ...
4
votes
1answer
76 views

How to create marginal notes without 'opening up' the paragraph

This is an example with the \marginalstar macro from TeXbook. Without \marginalstar the paragraph is normal, with \marginalstar the paragraph is "opened up". \def\strutdepth{\dp\strutbox} \def\...
0
votes
0answers
12 views

Automatically generated index mark on the right page border [duplicate]

How to add an automatically generated mark for each chapter in the right side with an auto offset? Just like for the phone books:
1
vote
1answer
120 views

Why does inclusion of titlepage mess up margin note placement?

UPDATE: I managed to reduce the problem to the following (turns out it does not relate to classicthesis) \documentclass[twoside]{report} \usepackage{marginnote}`enter code here` \usepackage{lipsum, ...
4
votes
4answers
237 views

Paragraph indent in marginpar

I use memoir and defined my own version of margin notes. I would like margin notes consisting of multiple paragraphs to have each paragraph except the first one to be indented. However, I can't figure ...
1
vote
1answer
88 views

Margin notes in listing with float environment – Error: Float(s) lost

Based on this question: Margin notes in listing with float enviroment - Error: Float(s) lost I have now other question. The solution is working fine. But I want to use floats for listings, to prevent ...
1
vote
2answers
187 views

Justification (both right and left) and page-break for margin enumeration

I am including an enumeration in the margin. I am able to get this to work, but noticed two problems. First, I am trying to justify the text. Currently, it is justified on the left, but not on the ...
1
vote
0answers
136 views

How do I put table captions in the margin?

I have a two column document and need to display two tables alongside each other, with the caption in the margin. I've hit a wall with it -- I use table* float to span two columns with one figure and ...
1
vote
2answers
252 views

Positioning/ Size of MarginText in CV (classicthesis/curvvita)

I'm trying to write my CV in LaTeX, with classicthesis and curvvita for style format. I've got the following code: \documentclass{scrartcl} \usepackage{marginnote} \reversemarginpar % Move the ...
2
votes
1answer
100 views

“Underfull \vbox while \output is active”, adjusting stretch/shrink does not make the error vanish

I intend to use the sidenote package along with David Carlisle's implementation of \marginpar based on \pdfsavedpos from the answer here: http://tex.stackexchange.com/a/52436/44160. I've simplified ...
4
votes
2answers
169 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} \usepackage[utf8]{inputenc}...
4
votes
2answers
151 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 tufte-...
2
votes
1answer
198 views

Putting figures+caption in the margin

Is there a "clean" way to make figures and their caption appear in the margin? I'm using memoir with the companion pagestyle, so the margin is quite assymmetric and I think it might look nice enough ...
7
votes
4answers
589 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...
1
vote
1answer
161 views

Align section titles in margins properly

This is a follow-up to First paragraph indented after section title in margin, but I'm unable to vote, comment, or accept answers there because it's made under a guest account and not linked to this ...
9
votes
1answer
287 views

First paragraph indented after section title in margin

How do you keep the first paragraph from being indented, even when indentation is off, when using section titles in the margin? I'm pretty new to LaTeX, but I thought I was getting pretty good at it, ...
5
votes
2answers
1k views

How to use \marginpar with narrow margins

The \marginpar command is useful to create marginal notes in a document. In particular, it is used by the \todo command from the todonotes package. However, when the margins are narrower than usual, ...
1
vote
1answer
115 views

How can you adjust the vertical position of a marginal footnote?

I'm redefining \footnote to put them in them in the margin using \marginpar. Occasionally, the paragraph will extend below the bottom of the text block when a note appears near the end of a page. I ...
3
votes
2answers
84 views

Figure content does not appear on even pages after introducing changes to the output routine

In a document with wide margins, I want to offer a figure environment which extends into the marginpar-area. Furthermore, I want the caption-text to be placed in this area, too, either above or below ...
3
votes
1answer
272 views

How to include page margin into header and footer in memoir?

I wonder how I can achieve the following two things: I want to have defined page margins for the use of \marginpar notes and comments. The problem is that, although I use memoir with twoside option ...
0
votes
1answer
149 views

Short caption in margin

Is it possible to insert the short caption of a figure in the margin next to it? I tried to get it working with etoolbox but without success. Additionally it has to work with the package subcaption ...
1
vote
1answer
111 views

Biblatex footnotes to margin

Is there a way to (robustly) push biblatex footnote citations to the margin? I tried \usepackage{sidenotes} \renewcommand*{\footnote}[1]{\sidenote{#1}} but I get sometimes ugly effects as shown ...
2
votes
1answer
138 views

Problem with marginnote [duplicate]

I tried to define (my first! - I'm a LateX newbie) command to insert notes in the margins of my text, but it introduces gaps wherever I insert the command :-( The code for my command is: \newcommand{\...
0
votes
0answers
79 views

marginal notes in both margins depending on the page number

The lines of my text are numbered because I'm producing an edition with notes in the bottom. I'd like to have marginal notes as well on the left for even page numbers and on the right for un even page ...
2
votes
1answer
160 views

How to add margin comments in Beamer?

I use Beamer for my presentations and I would like to know how I could add some text in the two sides of an inserted figure using \includegraphics[scale=]{} and \caption{}.
4
votes
1answer
269 views

Multiple \marginnote commands on the same line in math environment

If multiple \marginnote commands are triggered on the same line, by default they are typeset on top of one another, making them unreadable. I would like them to stack vertically, which is the default ...
1
vote
1answer
129 views

marginpar image from top of the image height

I have the below boxed environment. The image should place in the marginpar width. When my environment is going long the image should automatically increase upto my enviroment, when is going to low it ...
8
votes
1answer
364 views

\marginpar inside figure environment fails

I am working with marginpar to put some comments in the margin of my document. In one case I would like to put a comment on a caption of a figure, a MWE of which looks like this: \begin{document} \...
2
votes
1answer
118 views

marginpar in a macro steal the bullet of itemized list

I have an odd (to me) problem involving an itemize environment and \marginpar{}. The problem is illustrated in the following document: \documentclass{article} \newcommand{\todo}[1]{\marginpar{\...
4
votes
1answer
164 views

Probsoln customization of solution environment (set as marginpar)

I'm using probsoln, and I want to put the solution as a marginpar and with footnotesize. Please look at the MWE below. Writelatex won't compile, spitting out LaTeX Error: \begin{solutionnew} on ...
4
votes
0answers
156 views

Side margin text and brace across multiple pages

hopefully a simple question to ask, not sure about the answer... Given the MWEs \documentclass{report} \usepackage{amsmath} \usepackage{lipsum} \newcommand\BrText[2]{% \par\smallskip \noindent\...
0
votes
1answer
149 views

Margin notes on the right side only

I would like to know how I could have margin notes only on the right side of my document using a twoside document class. This is a part of my preamble : \documentclass[12pt,a4paper,footinclude=...