Questions tagged [marginpar]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
18 views

The state of margin notes

marginpar seems to be one of the more pressing problems with LaTeX for quite a few authors who would like to become LaTeX users or extend their usage of LaTeX. Is my impression correct that the ...
1
vote
1answer
52 views

\loadgeometry from \geometry-package leads to misplaced \marginpars (twoside)

I am currently working on a new LaTeX layout for a scientific open-access journal. It is a twoside layout wich makes use of marginpars. The special feature is that the frontmatter has a different page ...
0
votes
0answers
19 views

Memoir: outline around margin footnotes (\footnotesinmargin + \footfullcite)

I've been looking around for a solution to this, however have failed to solve the problem. Basically, what I'm doing in my document (although a bit strange) is that I'm mixing actual footnotes with \...
1
vote
1answer
42 views

xsim: Vertical shifts by using customized points

I changed inside \DeclareExerciseEnvironmentTemplate{custom}{...} \IfInsideSolutionF{\rule{1.2cm}{1pt}\slash}% to \IfInsideSolutionF{\noindent\usekomafont{sectioning}\color{pointscolor}} and I ...
0
votes
2answers
64 views

How to remove the line break for a nested enumerate with a marginpar?

The MWE below demonstrates my problem. I suppose that somehow the marginpar is introducing something on the line and Latex is then treating the line as non empty. %%%%%%%%%%%%%%%%%%% \...
10
votes
2answers
285 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 ...
0
votes
0answers
55 views

Margin note next to theorems

I'm writing a math paper where I would like to give literature references next to theorems using marginnote or marginpar. Unfortunately, I can't seem to get them positioned in the right way (i.e. ...
0
votes
1answer
37 views

How do I put a figure with a caption nicely in my margin?

I may be going in the right direction, but as you can see from compiling, my image is cropped. What to do? \documentclass[]{memoir} % Lipsum \usepackage{kantlipsum} % Sidenote attempt \usepackage{...
2
votes
1answer
76 views

How do I have margin notes on the outer margin and verse numbers on the inner margin?

I am trying to typeset an old Bible (the 1582 Rheims New Testament like below). The text is in paragraph form, with the verses on the inner margin and comments and references on the outer margin. I ...
1
vote
2answers
70 views

Margin note between columns

I am looking for a way to place a simple "margin" note right beside the start of a paragraph in a two-column text. As it is right now, it just appears at either the left or right margin. The note is ...
0
votes
0answers
33 views

Encircling Margin Notes in Column Format?

I recently saw this old manuscript with the text arranged in a very curious way, and I wanted to know if it could be replicated. The text is from Accursius' Magna Glossa, a commentary on Emperor ...
0
votes
0answers
25 views

SIGCHI Extended Abstract - make image extend through margin and into text

Using the SIGCHI Extended Abstract template, does anyone have an example that will make an image go across entire page -- including the margin area. Or maybe the margin plus the left column? ...
0
votes
2answers
49 views

Preventing a marginpar from falling off the page

I sometimes put longer texts in a \marginpar{...}-command and if the text where the \marginpar{...}-command is located is at the end of a page the text falls off the page instead of being placed on ...
1
vote
2answers
73 views

Automatic positioning of marginpar (to avoid page overflow)

I am using marginpar to margin notes in a book. My problem is that if I add a \marginpar too close to the bottom of a page, the margin will overflow the bottom of the page. For instance, using the ...
0
votes
0answers
29 views

margin paragraph with a vertical line on left side and numbered like footnote

\documentclass[10pt,a4paper]{report} %inter office note /cover page vertical line template \usepackage{enumitem} \usepackage{fancyhdr} \usepackage{graphicx} \usepackage[table]{xcolor} ...
0
votes
0answers
10 views

Marginnotes get slightly misaligned with flushbottom [duplicate]

Flushbottom is "on" by default in the book class, but sometimes messes up the alignment of marginnotes when additional margin between paragraphs is added to ensure that lines end on the same height on ...
1
vote
1answer
74 views

change position of caption with margincap

Currently it looks like that but i want the caption to be aligned with the top of the image and not the bottom. My Tex file looks like this: \documentclass [ captions=topbeside, oneside, ...
4
votes
2answers
120 views

top-aligned marginpar on wrong side (even/odd) after pagebreak

Under plain LaTeX with twoside option, I use \leavevmode\marginpar{#1} at the beginning of a paragraph to obtain top-aligned margin notes. Immediately after a pagebreak the margin note may or may not ...
1
vote
0answers
131 views

How do I toggle the normal/reverse marginpar?

I am trying to write a simple command that toggles margin sides. It uses \normalmarginpar or \reversemarginpar, but the user doesn't have to keep track of whether it was already reversed or normal. ...
3
votes
1answer
961 views

Margin notes *and* footnotes in a table environment

I am working on a translation. The original text has margin notes, and I also need footnotes for commentary. Some of it needs to be tabulated in big two-column tables. So I used package longtable ...
20
votes
3answers
4k views

marginnote always on right side of the page

My documentclass is book, so I've got an even and odd sides. I like that the equation number are always aligned on the right side - independent of the page (even/odd). I started using marginnotes. I ...
1
vote
1answer
80 views

todonotes text overlap and vertical spacing problem

I am trying to use both margin and face some problems. I cannot start the paragraph with marginpar, i will have to add imaginary space \hspace{0pt}. Otherwise, it will align with previous paragraph. ...
0
votes
1answer
29 views

Replace mathcal plus margin-note results in \reserved@a does not match definition

This is related to problem with \mathcal in MIT Thesis package; I posted the below MWE there, but the edit was rejected due to deviating from the original authors post. IDK if its the right thing to ...
1
vote
1answer
69 views

Positioning of /marginpar

I'm looking for a easy way to specify which side of my document my \marginpar is placed in. Im doing a twosided document with 2 columns. I have one large margin specified for margin-pictures, but ...
0
votes
1answer
44 views

footnote/marginpar inside table inside csquotes blockquote

I need to put a table inside a blockquote, and the table has both footnotes and marginpars (I know, quite the convolution, but such is the manuscript I am transcribing). The below version gives a ...
11
votes
3answers
583 views

Imitate Email-reply layout: Vertical line in left margin, except for responses

Edit: I am not happy with the 3 answers my first, smaller bounty got me. So I rewrote the question to set clear rules and a proper bounty. The solution should create two environments, originalemail ...
4
votes
1answer
287 views

How to put code with minted in the margin?

how to put code with the package minted in the margin (marginpar did not work)? I want my code in the marge like the document but I want use the package minted. Thank you. \documentclass{article} \...
1
vote
1answer
70 views

margins with landscape and page header

I use the scrreprt class with a page header. I also use margin notes. It looks good in portrait mode. However, some pages may be rotate. In that case, this looks ugly. Here is a MWE: \...
15
votes
1answer
869 views

Marginpar on a fixed side of two-column double-sided memoir document

I have a two-column, double-sided document class based on memoir, where the wide margin is always on the left. I would like the \marginpar to always be in this left margin, irrespective of whether it ...
1
vote
0answers
43 views

Margin notes that can both stack and be used in floats/footnotes

\marginpar notes won’t overlap; if you add two notes close to one another, the second note will start below the first. However, they can’t be used in floats or footnotes &c. \marginnotes can be ...
1
vote
1answer
89 views

How to flush right margin contents on even pages in two sided document?

In report class with twoside option, how to flushright the marginpar contents on even pages? The image below was produced manually inserting \hfill. I'd like to automatize it. MWE \documentclass[...
1
vote
1answer
92 views

Caption in margin not properly positionned

I'm having a peculiar problem: I set up my two-sided document's geometry and captions so that the captions of floats are displayed beside the floats in the margin par. This basically works, but for ...
0
votes
1answer
226 views

Problem with paragraphs and marginnote

I created a layout with marginnotes. On the end of the page the paragraph (here Paragraph B) following the marginnote (D) will automatic jump to the next page. Example: How can I inhibit that? I'd ...
2
votes
1answer
321 views

marginpar always on left side

In my document, marginpar always needs to be place in left side of the page, and I need to place chapter number and some element in that margin par width, for this I've tried with the below tags: \...
1
vote
1answer
248 views

Memoir class - figure and margin figure floats at same vertical level

In a memoir class document, I would like to display a figure and a marginfigure next to each other but I need the top of the marginfigure at the same vertical level as the figure next to it. When I ...
1
vote
1answer
97 views

Remarks in changes package with RevTex

I can't seem to make the remark option from the changes package in combination with RevTeX. In this example, I can "add" text but I cannot add a remark without obtaining an error of type: ! ...
1
vote
1answer
228 views

Missing number, treated as zero when using renewcommand

I am trying to temporarily get read of marginpars in my paper. I tried to simply \renewcommand{\marginpar}[]{} but I get: ! Missing number, treated as zero.<to be read again>} \renewcommand{\...
1
vote
1answer
50 views

Commutative diagramm (tikzcd) in margin

The following example gives me an error \documentclass[12pt,oneside]{report} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[french]{babel} \usepackage[a4paper, inner=...
1
vote
1answer
121 views

Table width and `\marginpar`

I've a table in an article where I need \marginpar. To make the table more readable, I could eliminate the re-entry to the right, so that the table itself occupies all the horizontal space, including ...
0
votes
0answers
67 views

Local fullwidth environment in symmetric document with margin

In a symmetric twoside document with 5cm margin on the outer side of each page, I want to create an enviroment where I can place locally a piece of text of full page width. Any solution that I have ...
2
votes
2answers
56 views

How to get a column with keywords?

How do I get and use a column with keywords in latex? Or is there another term for this column? Example (screenshot from todonotes doc):
2
votes
1answer
118 views

How do I expand page width to handle wider marginparwidths while leaving everything else as it is?

I would like to be able to use todonotes package, but the amount of marginparwidth on right and left are relatively small. The space available for margins is too small that I want to increase the page ...
8
votes
3answers
2k views

Single-spaced multi-line marginalia

When writing papers, I like to keep track of notes, thoughts and to do's inside the documents. I'd love to have tiny coloured multi-line marginalia. So far I used sth like \newcommand{\mymarginnote}...
1
vote
1answer
159 views

Margin floats running off the end of a page

I'm using the memoir class with the \footnotesinmargin option, and having an issue with the resulting sidenote float position. It seems like LaTeX is only concerned with the top of margin floats, and ...
0
votes
1answer
48 views

Avoid expansion of `\marginpar` argument

I'm trying to make a margin par that will show the value of some macro defined after the placement point of the marginpar (think of it as something like \footnotemark vs \footnotetext). However, the \...
14
votes
2answers
1k views

Automatic hyphenation in margin notes

I build a document with notes (like footnotes) on margins. I found help on LaTeX community and now my preamble looks like that: \documentclass{book} \usepackage{marginnote} \renewcommand*{\...
0
votes
1answer
51 views

What is the exact value to align the first line of margin par with that of the main text?

I want to align the first line of margin par with the first line of the main text. How to set the vertical space exactly? \documentclass[twoside,12pt]{article} \usepackage[a4paper,marginparwidth=8cm,...
1
vote
1answer
63 views

Baseline alignment of shaded side notes in the memoir class

I'm using the memoir class, and I'd like to add a shaded background to my sidenotes. My solution, however, doesn't work: the baseline of the sidenote text and the body text no longer align, as ...
2
votes
1answer
59 views

How can I get a prespecified clearance from `parmargin` to the page edge?

The margin indicated in the picture below is the clearance I am referring to. I already have pre-specified left margin, horizontal margin ratio, binding offset and marginsep. I want LaTeX to calculate ...
0
votes
0answers
197 views

Why does `\reversemarginpar` retroactively swaps the margins of `\todo` command?

I used \reversemarginpar after \todo and this retroactively causes the note to go to the wrong margin. I also noted that if I put \normalmarginpar right after \reversemarginpar \marginnote{Inner ...

1
2 3 4 5
8