Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [marginnote]

{marginnote} is about typesetting non-floating notes in margins using the marginnote package.

2
votes
1answer
37 views

Use \marginnote without affecting spacing?

In a large document, I have been using annotation commands based on \marginnote{}. Now I have noticed, that marginnote has unintended effects on spacing, e.g. by causing the first paragraph of a ...
0
votes
0answers
20 views

LaTeX gets confused about what page it is [duplicate]

The title should explain the problem. \documentclass[justified, symmetric]{tufte-book} \geometry{paperwidth = 8in, paperheight = 10.5in, right = 2.2in, marginparwidth = 1.5in} \usepackage{ifthen, ...
2
votes
1answer
42 views

Why does `snotez` throw an error when trying to start a chapter?

I use snotez to write margin notes and it works very well unless I use I use the command \chapter. If I used it, the editor (TeXStudio) throws and error by pointing to the end of document lineand it ...
2
votes
2answers
113 views

marginnote always on left side of the page

I would like to be able to use marginnote in a two-sided book, but have all notes appear on the left margin. There is an older solution to this problem here, and there's a parallel older answer that ...
1
vote
0answers
34 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 ...
2
votes
2answers
48 views

marginnote adds spacing before paragraph

Unwanted spacing The marginnote package introduces some extra spacing between the section header and the start of a paragraph (this is unwanted). How can this be corrected? Example MWE \...
1
vote
0answers
37 views

Marginnote Large Fonts are Misaligned from Text

I am still in the process of making a similar style kind of book to https://fac.ksu.edu.sa/sites/default/files/numerical_analysis_9th.pdf. This mostly includes having section numbers as well as ...
1
vote
1answer
43 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
55 views

Latex: is is possible to have a marginnote with a leading line and both in and outside a float environment?

I do not have an example since I want to know if it is possible, here is the one from the wiki slightly modified. \documentclass[a4paper,twoside,english]{article} \usepackage{lmodern} \renewcommand{\...
0
votes
1answer
46 views

Sideway formula as margin note

How to arrange the equation sideway in the margin? \documentclass{scrartcl} \usepackage[showframe, textwidth=8cm, textheight=5cm]{geometry} \usepackage{mathtools} \usepackage{...
2
votes
2answers
47 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
43 views

Overlapping underbraces in the marginsnote

I am trying to place a number of overlapping underbraces to the left margin. My goal is to create one similar to the following: This is as far as I could get: Basically, my main problem is to place ...
2
votes
1answer
35 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
77 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 ...
2
votes
2answers
64 views

How to know which margin a marginnote is on?

Is there a way to make a macro based on \marginnote that varies depending on whether the note is on the right column or the left? In particular I want to do this in two-column mode, otherwise I could ...
3
votes
1answer
86 views

Why `parskip` package makes margin notes misaligned?

I have to merge two lengthy files, one of which is using the marginnote package and the other needs the parskip package. If I use them at the same time the command I use to label years in the margin, ...
2
votes
1answer
164 views

marginnote + pagenumbering = ⚡

Consider the following code (earlier, I considered it minimal, at least on my machine, but see the answer of @daleif) \documentclass{svmono} \usepackage[paperwidth=168mm,paperheight=240mm,height=...
1
vote
1answer
68 views

listings breaklines and escapeinside vs marginnote [closed]

Consider the MWE below. When I edit manuscripts I often tend to use the fixme package and its marginnote layout for notes to myself or the editor. In the latest project, I had to comment inside a ...
0
votes
1answer
51 views

Combining content of marginnotes

I use marginnotes (sometimes inside of mdframed environments) to write at the margin whenever a concept is defined, e.g.: \documentclass{article} \usepackage{marginnote,tikz,mdframed} \usepackage{...
1
vote
0answers
114 views

Margin notes in center column with multicol

There are at least two questions (here and here) on how to get center column margin notes with the twocolumn layout and \marginpar. But how would I do this in a multicols environment? The marginnote ...
4
votes
2answers
198 views

Marginnote: Vertical alignment - half length of paragraph

Is there an elegant way to vertical align the margin of a paragraph exactly to the half of the length thereof? I know the command to manually shift the vertical position with \marginnote{text}[voffset]...
3
votes
2answers
110 views

Stacking all the margin-notes at the center of the side margin

I need to write some margin notes in my tex file which I would like to have displayed in the right hand side of the page. There is already a nice package that does that by default called margin ...
1
vote
1answer
165 views

problem with generating marginnote.sty from marginnote.dtx

Running marginnote.dtx (latest version from CTAN) with pdflatex results in the following files: marginnote.aux marginnote.glo marginnote.idx marginnote.log marginnote.pdf marginnote.toc That's all. ...
2
votes
2answers
269 views

writing on the inner margin

I have some lecture notes where margin notes are used. Now I would like to mark some of the theorem or proofs as important. To to this I would like to add some "icon" (maybe just some star symbol) on ...
1
vote
0answers
48 views

Overlap in a Margin Notes with Images, how insert minimum space between two margin notes?

I have a big problem to insert a Image in a Margin note. Here is the problem: The Image overlap with other non-images notes, how avoid it? \documentclass[14pt]{article} \usepackage[a4paper, nofoot,...
3
votes
1answer
44 views

Problems with line numbering? Line numbers clash with marginal notes

I am trying to put a numbering page inside the main text. The problem is that I am using margin notes, and want to "create" a space between the beginning of the margin notes space and the body of the ...
0
votes
1answer
52 views

Updating \if@firstcolumn mid-paragraph

I want to adjust the \marginnote command (from the marginnote package) to work with twocolumn documents (like \marginpar can, but with the ability to use it e.g. inside a minipage). For this, I need ...
2
votes
1answer
76 views

Margin notes with horizontal bar

I would like to include following margin notes into my document: How can I include such grey lines shown in this image above and below my notes? Also, my margin notes are entirely cut off: I am ...
0
votes
1answer
176 views

How can I customize marginal notes options to avoid exceeding page borders when switching the marginal note location?

I am using \marginnote command to insert notes to the left and right of the main text. The default location of the marginal note goes to the larger margin but can be switched with \reversemarginpar. ...
1
vote
2answers
123 views

Making Book With Several Distinct Styles

Disclaimer: I'm a complete newb at LaTeX. I'm a programmer, used to writing documentation in Markdown, so when I decided to make a book for my wife, LaTeX appealed to me because I can focus on the ...
8
votes
0answers
150 views

How can I combine overlapping marginnotes in ConTeXt?

I'm working on a project very similar to the one described in this question, only for various reasons I'm using ConTeXt rather than that poster's use of XeLaTeX. I too am typesetting a text with ...
2
votes
1answer
146 views

how to use `\marginnote` in `mdframed` environment? (follow up)

I need to have a line on the INNER margin in a double-sided tufte-document. There was a close question and it has this answer. That answer is perfect. Their output is: (You see the line on the INNER ...
3
votes
2answers
93 views

Two consecutive marginnotes printed over each other

When using the marginnote package and writing two \marginnote{text} fields directly after each other, the two nodes clash into each other. MWE: \documentclass{memoir} \usepackage{marginnote} \begin{...
2
votes
1answer
96 views

Left-side wrapfigures and marginnotes

A wrapfigure on the left side of the page interferes with the mechanism that marginnote uses to determine horizontal position, pushing it to the right by the width of the wrapfigure. The marginnote ...
5
votes
1answer
120 views

Margin notes with little arrowhead that is aligned with margin area border

I'm trying to create a two-sided document with an outer margin containing margin notes. The outer margin area has a colored background, e.g. gray. Each margin note is supposed to be associated with a ...
3
votes
2answers
416 views

align offset text and margin note

I'm creating some text with right aligned margin note and I want to make left margin space the same as the right margin space. My idea to align: set \pageLeftMargin to \pageRightMargin + \...
1
vote
0answers
37 views

Difficulty using listings to place comments inside document margins

I'm using listings, specifically \lstinputlisting, to integrate source code in my document. I'm trying to get the comments in those source code files to be printed in the margins. I'm struggling as ...
1
vote
0answers
336 views

(Advanced?) Tufte-Like Layout for scientific/educational book [closed]

I am writing a technical book and would like to employ a layout like the one used in "Principles Of Biochemistry", which IMHO is just beautiful. However, the Tufte-Book is not even close to what that ...
0
votes
1answer
167 views

What is the proper way to use marginfix in memoir?

My question is about the proper use of marginfix in memoir so that marginal material appears where the documentation of memoir says it should appear. I use option twoside and \marginparmargin{right} ...
0
votes
1answer
125 views

How can I accomplish similar side notes?

I would like to add side notes to my document as in the example below, but I do not know how. I will be grateful for any suggestions.
3
votes
1answer
142 views

Sidenotes in two column texts

In this text, the note is on the right side of a number of lines with curly braces and the text written vertically. How can this be achieved? I am using paracol and xelatex but I am open to ...
0
votes
0answers
85 views

package with memoir-like sidebar functionality for standard book class

Is there a package that provides memoir's sidebar functionality for the standard book class? The key features being better utilizing the margin area (by floating to top: but it would be nice if this ...
1
vote
0answers
82 views

tcolorbox causes horizontal offset for marginnote [duplicate]

I'm using the tcolorbox package to get some frames into my document output (the how-to about the partial frame was kindly provided by cmhuges). I'm also using marginnote to output margin notes, both ...
0
votes
1answer
114 views

asymmetric margins

I'm using the following to create a diary. Suggested by Tom Bombadil Using LaTeX to keep a diary \documentclass{tufte-book} \usepackage{lipsum} \newenvironment{loggentry}[2]% date, heading {\...
1
vote
0answers
47 views

Allocate margin for sidenotes only if there is one

Is is it possible to have a setup such that the margin allocated for page layout will be used only if there is a margin note on a given page, otherwise the page flow will be normal, as if there is no ...
0
votes
1answer
135 views

Marginal note with symbol in text [closed]

I am typesetting an old document in LaTeX. In order that readers will know the original pagination, I'd like to be able to insert a symbol into the text (maybe a short vertical rule?) and then have "...
3
votes
1answer
88 views

marginnote placed wrongly (linebreak) within an environment

Within an environment (see environ), I have a marginnote placed next to the environment header. The header contains some text. If that text extends towards the end of the line (but even a bit before ...
3
votes
3answers
224 views

How to insert a weblink QR code in caption or margin?

I want to insert a QR code image inside a figure caption (or in the margin). I then tried to write \begin{figure*}[!ht] \centering \includegraphics[height=.45\linewidth]{im1.eps} \hfill \...
2
votes
1answer
166 views

Scholia with latex

Is there any package to automatically typeset scholia with latex? The result I have in mind should be something akin to what can be seen here: the main text limited to a rectangular portion of the ...
4
votes
1answer
77 views

Margin notes in an interlinear environment aligned with source text

I am creating a sample of an interlinear dual-language text produced using LaTeX. Everything is finished and the text consists of three things: an English gloss (top row); a Hebrew text (note it's a ...