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

learn more… | top users | synonyms

3
votes
2answers
47 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} ...
3
votes
2answers
64 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 ...
1
vote
1answer
35 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 ...
1
vote
1answer
41 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 ...
13
votes
2answers
1k views

\raggedouter to typeset marginal text in twoside book

We used the following code fragment using the changepage package: \newcommand{\raggedouter}{% \checkoddpage% \ifoddpage% \RaggedRight% \else% \RaggedLeft% ...
7
votes
4answers
493 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...
8
votes
1answer
88 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, ...
4
votes
2answers
96 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
52 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
62 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 ...
1
vote
1answer
102 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 ...
3
votes
0answers
64 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
46 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
43 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 ...
11
votes
4answers
664 views

Position margin notes relative to left margin in plain TeX

I want to add margin notes in the Tufte style to my Plain TeX document. (I'm using eplain, if that matters.) I know that if I were using LaTeX I could just use tufte-latex, but as a thorough ...
2
votes
1answer
72 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: ...
0
votes
0answers
63 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 ...
7
votes
1answer
347 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 ...
13
votes
1answer
567 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 ...
2
votes
1answer
53 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{}.
1
vote
1answer
68 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
17 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 ...
6
votes
2answers
365 views

Using a lot of marginpars

I need to use a lot of marginpars and hit "Too many unprocessed floats" as a result. I'm already using the morefloats package with maxfloats set to 100, but it's not enough sometimes. I'm thinking a ...
6
votes
1answer
120 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
73 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
0answers
105 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 ...
4
votes
1answer
86 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 ...
8
votes
2answers
124 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 ...
0
votes
0answers
65 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
54 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
53 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
115 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 ...
3
votes
2answers
128 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} ...
4
votes
1answer
148 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
150 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
103 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 ...
1
vote
1answer
46 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
82 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
117 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. ...
1
vote
1answer
149 views

Making \marginpar work with tex4ht

I tried using \marginpar using tex4ht and pdflatex. Here is the PDF output: Here is the HTML output: Is it possible to configure tex4ht to produce HTML output with good looking marginal notes? ...
3
votes
1answer
107 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 ...
10
votes
2answers
165 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 ...
2
votes
1answer
122 views

How to top- align sidenotes using eledmac?

Eledmac commands \ledleftnote \ledrightnote \ledsidenote insert side notes at the level where the command was issued. However the side note is bottom aligned, meaning the the note doesn't start at ...
0
votes
0answers
129 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
148 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
64 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
119 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
95 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, ...
8
votes
2answers
2k views

Managing margin notes

In order to define a margin note, I use: \marginpar{Add formula for curvature} However, in a thesis full of margin notes, lots of them overlap, and the only solution I've found so far was to ...
5
votes
1answer
93 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 ...