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

learn more… | top users | synonyms

0
votes
0answers
24 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 ...
12
votes
2answers
856 views

How to create twoside book with oneside margin?

I want to make a twoside book with oneside margin such: odd pages: even pages: full header, with margin figure(or table): I used tufte-book class, but cannot set margins as i need. It's margins ...
2
votes
1answer
60 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
15 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.
7
votes
3answers
2k views

Layout with captions in margin and margin notes

Questions summed up below! I want to convert a number of old (read: ugly self-coded html) tutorials into pdfs. They are still read by people, so I think it's worth the effort. The other reasons: ...
0
votes
0answers
54 views

Bigfoot with marginpar creates “Dimension too large” error

This question follows a previous solved one here on a related topic. I am compiling a document that includes the bigfoot package with the para option, and also has \marginpar. If I compile a short ...
4
votes
2answers
60 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
38 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
43 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
113 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
41 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, ...
5
votes
1answer
86 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
77 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
101 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
51 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 ...
6
votes
0answers
110 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 ...
6
votes
2answers
75 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
60 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 ...
15
votes
2answers
394 views

Periodic word count in margin

I need to have a continuous word count for an assignment. This is either in the form of a note in the margin or one parenthesised in-text every 100 words or so. For instance, ----- TEXT ------|- ...
7
votes
1answer
89 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 ...
4
votes
1answer
640 views

showlabels: wrap labels in marginpar

I use the showlabels package to highlight labels, references and citations. It appears that, by default, showlabels cannot wrap the keys in the marginpar. If I have a series of citations in one line, ...
7
votes
1answer
104 views

Why does \marginpar sometimes add an unnecessary newline?

In the following example, the main paragraph gets typeset as 3 lines of text, with the paragraph ending on the third line before it reaches the margin. However, when un-commenting the line with the ...
6
votes
2answers
72 views

Edit marginpar command through whole document

I'm finding myself doing the following on every margin paragraph: \marginpar{\raggedright \scriptsize <content here>} Is there a way to set the align and script size for every margin ...
3
votes
2answers
165 views

How to remove margin notes space in book class?

By default, the "book" class produces a layout with a big space for margin notes. One consequence of this behavior is the binding side has a smaller margin than the other side (with the twoside option ...
6
votes
2answers
100 views

Exclude line numbers from margin width

I am using the lineno package to add linenumbers on my twosided document. However, I have a restriction to leave a margin of 2.5cm inner and 4cm outer margin. This has to be completely free space. ...
2
votes
0answers
51 views

How to spread a marginpar note in more than one page?

I'm using the standard class book with a lot of marginpar notes and few footnotes also; until here all is fine. My problem starts when I have very large margin notes that barely fit on one page, using ...
2
votes
1answer
95 views

Align marginpar with top of current paragraph

I am using \usepackage{backref} to create a back reference in my bibliography. That part is working fine. I am now attempting to use \marginpar to have those references show in the margin, like so: ...
3
votes
1answer
61 views

centered margin text (with KOMA Script and Tikz)

The following MWE sets some boxed texts on the margin: \documentclass{scrartcl} \usepackage{tikz} \usepackage{blindtext} \begin{document} \marginline{\tikz[baseline=(n.base)]\node[rounded ...
10
votes
2answers
224 views

How to add a side by note in LaTeX

How can i produce the following image TeX commands of this would be extremely helpful.
5
votes
1answer
100 views

Note in the corner of a LaTeX document

I would like to put a small note in the upper right corner of my LaTeX document to put my initials for instance. How can I achieve this?
4
votes
1answer
92 views

how can i make the marginpar note have a number like footnote command does

how can i make the marginpar note have a number like footnote command does? just like this picture show,
3
votes
1answer
152 views

Lost control with \marginpar

I want to include marginal notes only on the left side of a large document. (For your information, I have included all the packages listed in the preamble of the document in the following minimal ...
5
votes
2answers
2k views

Margin notes on both left and right?

I've been trying to put margin notes in both the left and the right margins at the same time. My attempts have gone something like: Lorem{\reversemarginpar\marginpar{Left}} ipsum ...
3
votes
2answers
203 views

How to better adjust placement of frametitle converted to marginpar in beamerarticle?

I'm using beamer and beamerarticle for my class notes. I would like to include frametitles as margin notes in <article> mode aligned with frame content but they are a little bit misplaced. ...
2
votes
1answer
180 views

Text alignment in a Marginpar (Arabic)

how can I write a marginpar in Arabic with a text alignment from right to left. I use XeLaTeX. When I write \marginpar{{\A كتاب حلية الأبدال وما يظهر عنها من المعارف والأحوال}} Then that comes ...
7
votes
1answer
140 views

Using index information to generate cross references

The idea is to use the index information to automatically generate cross references. If an index entry refers to more than 1 page (e.g., "Smith, John 5, 9"), then the index entry along with the other ...
5
votes
1answer
348 views

Asymmetrical layout in two-sided document

I use two-sided document mode in Book class KOMA Script. It works well in the sense that the ToC, chapters, titles starts from the odd pages. Exactly we I need in a book. In a recent book I need to ...
4
votes
1answer
175 views

\marginpar trick: not considered as float

I've found on the net a useful trick that does exactly what the title says. This is the code: \newcommand{\mymarginpar}[1]{% ...
1
vote
1answer
209 views

Set custom page text/line width in memoir for sidepars

I wish to lay out a page using the memoir package so it has dimensions something like this: # <-- 21.6cm (Letter stock) --> # # Margin | Content | | Note | Margin # ...
4
votes
2answers
179 views

How to merge marginpars to avoid overflows?

I am using margins to print keywords but sometimes the number of keywords in a paragraph become too many and they appear beside the next paragraphs. To avoid this issue, I thought maybe they could be ...
3
votes
1answer
136 views

scrbook: remove margin notes for index entries [closed]

I'm using the scrbook class. I don't like the way that my index entries are included as margin notes. How can I prevent the index entries from being shown in the margins? I consulted the KOMA-Script ...
10
votes
1answer
347 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 ...
7
votes
4answers
1k views

Brace and text in side margin

Within a text, I would like to emphasize one or two paragraphs by placing a curly brace in the left side margin, and next to it some short text vertically centred around the brace's centre. The ...
3
votes
1answer
211 views

marginpar anchored by pages not by text

I'm using marginpar to put margin figures in a document - there are $n$ pages and $n$ figures so I'd like to have one on each page, anchored to the first line of text on each page - at the moment I ...
3
votes
1answer
243 views

How to suppress “underfull \vbox” warning for one specific \marginpar

I have just started using LaTeX, so forgive me if this is a basic question. I have a \marginpar in a two column article. It is very narrow (despite me increasing \marginparwidth). When the document is ...
6
votes
3answers
153 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 ...
6
votes
1answer
100 views

Placement of margins notes on even pages

I'm writing a textbook and am using \marginpar to put a mnemonic on the margins (a triangle and a writing hand symbol from the marvosym package) for the reader to work out the derivation in the text. ...
2
votes
1answer
84 views

Marginpar does not appear in ledmac numbered text

For some reason my marginal notes don't appear. Is it because of line numbering? % XeLaTeX can use any Mac OS X font. See the setromanfont command below. % Input to XeLaTeX is full Unicode, so ...
3
votes
1answer
286 views

Change marginpar Font

How do you change the font used for a \marginpar? I am using xltxtra, and am seeking to use an OpenType font. MWE: \documentclass{book} \usepackage{xltxtra} \usepackage{titlesec} ...
7
votes
1answer
725 views

Remove Marginpar from Classicthesis 4.1

I am searching for a safe method to remove the \marginpar feature in classicthesis. My corrector would rather have the text use the whole page. I am not that firm in LaTeX, so I tried to simply remove ...