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

learn more… | top users | synonyms

0
votes
0answers
22 views

framed environment with fixed image in marginpar with title

How to set the title in the marginpar image. Would like to print the text in image any place. My MWE is: \documentclass{book} \usepackage{graphicx} \usepackage{changepage} ...
1
vote
1answer
49 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 ...
0
votes
0answers
10 views

Converting latex margin notes to rtf/doc/odt margin notes

I am looking for any way to convert the margin notes I made in LaTeX (through \marginpar or the todonotes package, or anything similar) to show up as margin notes in a .doc or .rtf. Are there any ...
5
votes
1answer
56 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
47 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} ...
4
votes
1answer
55 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
82 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 ...
0
votes
0answers
42 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 : ...
0
votes
0answers
43 views

How to change a thesis paper size for printing

I use classic thesis for my thesis and I had to increase the size of my text in the following proportions : \usepackage[left=4cm,right=4cm,top=3cm,bottom=3cm]{geometry} Now, there are two ...
4
votes
1answer
36 views

Align figures to the left side of an article

I am trying to write a user manual for a product for which I would like to have several figures and small explanatory test in a column to the left of each page. I have run into a strange issue, where ...
0
votes
0answers
71 views

Margin-Cite from tufte-book

I like the way the tufte-book documentclass is writing the full citation in the margin. Unfortunatly I use a pretty different documentclass, so that I don't have this feature. I already looks into ...
4
votes
1answer
98 views

Why using marginpar?

I write my thesis with classic thesis and I am about to use the marginpar code in order to have margin notes. I know that this way of writing is used par Edward Tufte in his tufte class and I wondered ...
3
votes
1answer
70 views

how to extend header over the page margins?

I have defined the page margins and header as appears in the codes bellow, but I want the header to cover the page margin width too, in the pages after page 2 (all pages except the first page). I ...
2
votes
1answer
53 views

Right aligned left side margin notes on same line as content

I'm trying to write a command that I can use to set up right-aligned left margin notes easily, and not be worried about the flow of content. Basically I would like the margin note to be on the same ...
3
votes
2answers
81 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} ...
1
vote
1answer
30 views

Put longtable caption in marginpar and keep compatibility with caption package

After some research I found a way to place the caption of a longtable (ltablex) into the left marginpar, aligned with the top of the table. Therefore, i adapted this solution stackexchange.com: ...
1
vote
1answer
46 views

Colored mark in margin notes in the middle of the \marginparsep

It's code, thanks for @Harish Kumar, \documentclass{book} \usepackage{mathtools} \usepackage{xcolor} \definecolor{background}{RGB}{255,255,170} \usepackage{empheq} \newcommand*\mybox[1]{% ...
2
votes
1answer
84 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. ...
3
votes
1answer
75 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 ...
9
votes
2answers
133 views

How to align a marginpar with a section title

I wish to have brief information in a marginpar (or other solution) that aligns with the corresponding section (not section*) heading. So far the margin information is above or below the section ...
0
votes
0answers
83 views

Moving todo notes to other side of page

I am using the todo notes package, documentation of which can be found here. The current document I am working on is in a book style format - in particular, there are wider margins on the left for ...
2
votes
1answer
116 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 ...
6
votes
1answer
57 views

Footnote taking width of *both* body and margin note

I am wondering how can I adjust geometry parameters (or using other packages) to make the layout of footnote taking the width of BOTH body and margin note. Thanks,
2
votes
1answer
100 views

Marginnotes size

I am new to LaTeX and to this site. I am setting up a book using the header I found in Why can't I get the height of my memoir typeblock right? (Luckily enough, I wanted exactly the same page size ...
2
votes
1answer
64 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, ...
5
votes
1answer
74 views

Is there a way to prevent marginpars colliding with tabs created using the fancy tabs package

I am automatically creating large documents that use fancytabs as thumb marks and that also use marginpar notes to convey information about the text. (I actually put them in a Tikz lozenge since ...
2
votes
1answer
70 views

Not wanted space before marginpar

At the moment I'm working on a little report. Therefore I had to redefine the \marginpar{} command new because I wanted it in a smaller font-size compared to the 'normal text'. The code I've written ...
1
vote
1answer
73 views

How to use margins to center a table

I want to realize something like in this two pictures. I want to use a part of the margins for notes (draw even tables!). I want that the margin change from odd page to even page (I think it's simple ...
2
votes
1answer
160 views

Change font size of caption, only in marginpar?

I'm using \marginpar and \captionof to have figures appearing in the margins of my documents, including figure captions. This works well. But now I want to change to font size of the captions ...
2
votes
1answer
136 views

How to manage large sidenotes in tufte-handout class?

Well I was working in a part of a book for a lesson, but I want to translate it into a tufte class. But my problem is that the document contents a lot of notes. Few of them are very close and are very ...
1
vote
0answers
51 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} }]{ ...
4
votes
1answer
95 views

How to get beamer-style bibliography (with icons) when using article class and natbib?

I am writing a document in article class, using natbib, and would like to produce a bibliography with icons in the left-hand margin, which illustrate the type of resource being listed. After some ...
1
vote
0answers
130 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: ...
2
votes
1answer
86 views

My margin notes are not on the same line as my text

In the following MWE, we can see that the notes in the margin are shifted downwards. If a few letters are removed, the margin is properly aligned with the text. I prefer to use \myrightmargin instead ...
0
votes
0answers
27 views

Make left-hand pages' `\marginpar` text right-aligned [duplicate]

\marginpars only appear on the right margins of right-hand pages of my manuscript. For left-hand pages, they are are so far to the left that they aren't even on the page. The reason is because the ...
2
votes
1answer
228 views

Tikz horizontal alignment

I have a prepared page margin but i require alignment three Tikz graphics horizontally, the three graphics width is more what \textwidth but minor what \textwidth + marginpar. How i can position ...
1
vote
0answers
25 views

How to lock some part of marginpar area?

Consider the following layout. I'd like to lock some part of marginpar area. For example, after 6cm from the top, skip 4cm and the margin area continues below.
4
votes
2answers
155 views

Memoir footnotes in margin with ragged2e

I would like to set up memoir so that when I use \footnote{foo}, foo is displayed in the margin with the proper label and preferably break over pages. There is an option \footnotesinmargin which ...
2
votes
0answers
48 views

align icons to dictionary entries

I'm trying to typeset a small dictionary. Many of the entries come with a couple of icons that I would like to display in the margin just left of the entry, top-aligned with the beginning of the ...
3
votes
1answer
70 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 ...
1
vote
3answers
281 views

Margin notes, multicols, tikz overlay

As seen on page 200 of pgf manual is there a way to put notes in the margin but on the same level as the place it is called ? One can deal with the right-left positionning with the help of this ...
3
votes
1answer
56 views

Catchwords and marginpars

I am trying to make a document both with catchwords (first words from the next page) and with margin notes. Is it possible to make fwlw and marginpar work together? Sometimes catchwords disappear, ...
7
votes
1answer
259 views

Misplaced marginpar in twoside+twocolumn layout with pdfpages

\includepdf from the pdfpages package messes up the margin placement for this MWE: \documentclass[10pt,a4paper,twoside,twocolumn]{article} \usepackage[outer=6cm, inner=2.5cm, ...
6
votes
2answers
152 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 ...
3
votes
2answers
161 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 ...
0
votes
1answer
99 views

Author formatting of multiline quotes in margin

I use my own command to typeset quotes in the margin of my document using pdflatex and memoir, see the MWE below. Each quote consists of the actual quote itself and its author. The problem I have is ...
7
votes
1answer
257 views

align margin note to vertical center of text block or environment, with optional bar

Here is what I wish to achieve: section title as usual (optional) subsection in left-margin, aligned to top of its contents group of text/theorem/etc blocks within subsection margin note or label ...
8
votes
2answers
110 views

Turn marginpar into a regular paragraph

I'm writing notes for a university course. My content goes into a file called content.tex and then use two other files (called notes.tex and kindle.tex) to define styles and use the LaTeX import ...
6
votes
1answer
75 views

Reference to pgfplot with margincap

I was using references to parts of a pgfplots plot, which worked perfectly. However, when I changed the document to use margincaps, this breaks: I get a warning that one reference is undefined, and ...
8
votes
1answer
183 views

Tweak showlabels/showkeys - wrap the label

Can showlabels wrap the label in the margin? A very similar question is showlabels: wrap labels in marginpar, but the solution of @DavidCarlisle does not solve the more general case. Consider the ...