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

learn more… | top users | synonyms

0
votes
1answer
33 views

Set heading in the margin to the left of text

I would like to style the \paragraph heading so that it is set in the margin to the left of the text. I experimented with the titlesec package, and I get the heading wrapped to the left of the text, ...
1
vote
1answer
30 views

\marginpar start at top of page

I am trying to build a minitoc in a marginpar. It can span several pages. Everything is fine while there is no figures on the top of the page. I need the contents to start from the top of typing area ...
1
vote
1answer
52 views

Running headers in the margin

How do I create a running header that appears in the margin instead of in the header? The following MWE produces the sort of running text I want in the header. I would like to replace the \def lines ...
3
votes
0answers
30 views

qrcode in bibliography margin/bibliography entry with height of marginpar-content

Printed URLs are inconvenient and i just noticed, that there is a LaTeX package to generate QRCodes. I think using QRcodes to aid with URLs could turn out quite nice, so i used the code below to ...
2
votes
2answers
43 views

Package classicthesis and tikz figure numbering in marginpar

I'm using the classicthesis package and I created some tikz pictures in the margin using \marginpar. Unfortunately the numbering of the figures is not correct. When I comment out the classicthesis ...
1
vote
1answer
15 views

How to create simple comments in a margin next to the Document?

I've been digging through tons of SE-sites, package documentations for reledmac and parallel and many other pages, but I couldn't find the simple answer to this question. So, in hopes that it might ...
3
votes
1answer
34 views

\marginskip not working in marginfix

Can someone enlighten me on the correct usage of the \marginskip command from marginfix? Reading the documentation I thought issuing it will force separation between individual \marginpars, but I can'...
0
votes
1answer
29 views

Use framed package with marginpar

I would like to emphasize a text block and still be able to use margin paragraphs. A non-MWE: \documentclass{article} \usepackage{lipsum} \usepackage{color} \usepackage{framed} \...
2
votes
2answers
54 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
58 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
42 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
55 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
137 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
45 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
36 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
42 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
68 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
69 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
81 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
53 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
88 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
113 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
53 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
223 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
83 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
81 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
81 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
125 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
244 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
94 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
199 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
145 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
274 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
104 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
176 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
154 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
219 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
594 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
172 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
295 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
120 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
87 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
285 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
150 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
118 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 ...
6
votes
1answer
323 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 ...
2
votes
1answer
143 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{\...