As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [marginnote]

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

Filter by
Sorted by
Tagged with
1 vote
1 answer
45 views

Troubles with marginnote package

I have these troubles about margin notes. This is the code: \documentclass[openany]{book} \usepackage{color,xcolor} \usepackage{marginnote} \usepackage{lipsum} \usepackage[colorlinks=true]{hyperref} \...
Puck's user avatar
  • 1,119
0 votes
0 answers
42 views

LaTeX Formatting - Left Margins for Vocab Words

I recently started working with LaTeX. I'm currently using it to take notes from an old math text. I like the formatting here with the vocab word in the left margin before its definition. I was ...
hylobates's user avatar
2 votes
2 answers
52 views

Headers and footers spanning both text and margin notes

By default, headers and footers span only the width of the text body, but I need them to span the width of the margin notes and the main text. The closest I've been able to get is the following, ...
mhwombat's user avatar
  • 457
1 vote
1 answer
24 views

How can I adjust the position of marginnote? (A \newcommand question)

I have a small script that lets me have footnotes in the margin. It works as I want it, except that sometimes it overlaps, or if it's near the bottom of a page, the note will be clipped. Using the ...
Tomas R's user avatar
  • 133
0 votes
1 answer
78 views

Execute LaTeX command at every generated output line

I have a command \point that adds a $\bigstar$ as a margin note using the marginnote package. But I want multiple stars next to each other if there are multiple \point in each line. So Hello \point\...
Survari's user avatar
0 votes
1 answer
77 views

A marginnote in an equation is not typeset in a Hebrew document

A description of the problem by way of a minimal working example I saved the following LaTeX code in the file ~/Test.tex. \documentclass{article} \usepackage[hmarginratio=1:4]{geometry} \usepackage[...
Evan Aad's user avatar
  • 10.8k
0 votes
0 answers
115 views

Suggestions for a margin notes solution alternative to \marginpar and \marginnote?

I am looking for a powerful and versatile tool for creating margin notes. The way I intend to use margin notes is for clarifying mathematical notation and definitions that are not important enough to ...
Evan Aad's user avatar
  • 10.8k
0 votes
1 answer
48 views

How do I create a generic environment template with optional arguments declared inside the environment?

I am posting this as a general question prior to introducing the specific use case. Apologies if this has already been posted and I am using the incorrect terms for what I want, my searches have been ...
WesH's user avatar
  • 395
0 votes
0 answers
29 views

Set left side marginnote in Latex in documentclass book [duplicate]

I am writting a book and i want to only left side marginnote in all pages like this: but doesn't work perfectly. I will appreciate any help. \documentclass{book} \usepackage{lipsum} \usepackage[...
Mike's user avatar
  • 1
0 votes
1 answer
58 views

Command \marginnote already defined

I have included the package typed-checklist in my journal document which uses the documentclass tufte-book. Now I get the error "Command \marginnote already defined." I use this command to ...
Oliver Hihn's user avatar
0 votes
2 answers
54 views

How do I align a marginal note with the first line of the paragraph immediately following it?

I would like margin notes in the left margin, aligned with the first line of a paragraph, similar to this question. Basically these are headings for the paragraph. In the source code, I'd like the ...
Jack M's user avatar
  • 146
2 votes
2 answers
122 views

Margin note in two column report

I'm writing a two column report. I want to insert a symbol (a large exclamation mark) in the margin, corresponding to an area of text, at various points in the report. I always want the mark to appear ...
MarginGuy's user avatar
1 vote
0 answers
52 views

marginnote and framed - workaround fails with lualatex

I have this code in my 12 year old Tex files that I currently like to upgrade such that they work with lualatex. I load this code in order to fix a problem with marginnote and framed. Unfortunately I ...
Matthias Pospiech's user avatar
1 vote
1 answer
31 views

newenvironment with an itemization in a margin note

I am trying to make a new environment that takes an undefined number of items and creates a list in the margin. Essentially doing the same thing as this code does: \marginpar{\fontsize{1.5cm}{1.5cm}\...
thedoctor's user avatar
1 vote
0 answers
40 views

Is there a way to display annotations/commentaries alongside original text?

I have a text composed of source material and commentary or annotations on the source material. I want a way to display both the source material and the annotations/commentaries side-by-side in a book....
theienzo's user avatar
0 votes
2 answers
46 views

How to debug wrong marginnote alignment

I know this is a long shot since I cannot really post a minimal working example, but I'll try to describe the issue to the best of my capabilities. I'm running pdflatex twice for the compilation. I ...
Atcold's user avatar
  • 1,633
0 votes
0 answers
47 views

Is there better way to define a command to produce a breaking mark and a source page number?

First an MWE and its output are as follows. \documentclass{book} \usepackage{marginnote} %count source page number \newcounter{spnumber} %breaking mark \newcommand{\bmark}{$|$} %produce a breaking ...
M. Logic's user avatar
  • 3,785
0 votes
1 answer
87 views

Exam class points in margin at arbitrary positions

Using exam class I can assign points to questions, parts and subparts with \documentclass{exam} \begin{document} \begin{questions} \question[20] \begin{parts} \part[8] ...
user1583209's user avatar
1 vote
1 answer
102 views

Make dotfill on left page

Please help me code the left dots for note. They are repeated on all pages. Thank you in advance!
Nam Tran Le's user avatar
0 votes
0 answers
42 views

Vertical alignment with marginnote in covington examples

I am writing a book where I use covington for linguistic Arabic examples in transcription and I use marginnote and babel to have the examples in Arabic script in the margin. I am facing some strange ...
Andreas's user avatar
  • 867
4 votes
2 answers
132 views

package marginnote doesn't type the margin note text in the margin paragraph section

Consider the following MWE: \documentclass[oneside,leqno,fleqn]{book} \usepackage{marginnote} \usepackage{geometry} \geometry{% left=70mm, textwidth=130mm, marginparsep=8.2mm, marginparwidth=50mm, ...
tush's user avatar
  • 1,034
0 votes
0 answers
27 views

Top Page Stacked Alignment of \marginpar, \marginnote or \sidenote?

I have tried several variations of moving my footnotes into a margin located at the side of the page. What I have not found in their respective documentations, however, is a way to break their ...
frank's user avatar
  • 1
1 vote
1 answer
126 views

How can we add some text in the bottom margin of the first page? [duplicate]

I want to know how can I add some text in the bottom margin of a document like the following picture? I tried to do it, but it is appearing on all the pages. I want this to appear only in the first ...
Sourav Mondal's user avatar
1 vote
1 answer
138 views

Tell sidenotes package to use left / right ragged alignment

The sidenotes package is supposedly using the \marginnote command, but I'm getting a justified text rather than a left / right ragged one. I'm a little confused. \documentclass{book} \usepackage{...
Atcold's user avatar
  • 1,633
1 vote
1 answer
54 views

Side commentary (on every page) in two-sided book class separated with a vertical rule

I would like to write a book and have main text with a side commentary separated with a vertical rule on every page. Side commentary should be on outer side of a page (two-sided). I am not sure if I ...
demetrius's user avatar
1 vote
2 answers
57 views

Displacing character vertically without affecting line breaks

I'm trying to set up margin notes with manicules. I'd like to use the actual unicode character for a manicule, and I'd like to have it offset to the left of the rest of the note, enlarged, and shifted ...
Ethan J's user avatar
  • 13
1 vote
1 answer
127 views

Margin note/annotation with vertical text direction in APA7 manuscript

I am using apa7 package in writing a manuscript (\documentclass[man]{apa7}). I am trying to add margin notes/annotation next to (some lines of) some paragraphs that summarize the gist of it, to show ...
psyguy's user avatar
  • 237
1 vote
2 answers
173 views

Marginnote entries in Table of Contents

I am aware that there is a question on this site with the exact same title as mine, but what I am after is quite different. I have written some course notes whose contents could be organised in two ...
Luke Collins's user avatar
  • 1,870
3 votes
1 answer
923 views

custom margin notes

I am trying to set up a custom margin note command for my lecture notes but I encountered a few problems. First of all, this is how it should look: As you can see in the screenshot above, the margin ...
gyha4's user avatar
  • 97
2 votes
1 answer
680 views

Highlight text with colored underline link to margin notes

I am trying to achieve the effect in the image below where text is highlighted with a coloured underline and linked to margin notes with partial borders that are also coloured. I have done some ...
allquiet1984's user avatar
1 vote
0 answers
147 views

Long sidenotes break marginfix or how to make breakable sidenotes

I have some long sidenotes in my document using tufte-latex. If the sidenotes do not fit in the text height of the page, they disappear below the page as shown below. An approach to this would be to ...
Damitr's user avatar
  • 1,707
0 votes
0 answers
100 views

Reverse marginpar keeping marginparsep and marginparwidth with geometry

I have the following MWE: \documentclass[a4paper, 12pt]{report} \usepackage[utf8]{inputenc} \usepackage[bitstream-charter]{mathdesign} \usepackage[showframe]{geometry} \geometry{ includeall, ...
ulilaka's user avatar
  • 101
0 votes
2 answers
108 views

Highlight a postulate with an indicator on the margin

Currently I have a created a postulate environment that works as follows, \vspace{1em} \begin{postulate}\label{section:Schrodinger} {\bfseries{\textsc{(Schr\"odinger) }}} Time translation is ...
MrPajeet's user avatar
  • 631
1 vote
2 answers
68 views

hyperlink with % does not work inside a marginote?

In preparing answer for some mathematics question, I link the answer to some Wolfram Alpha link for checking. The error appears when I put some Wolfram Alpha link in inside a \href, in turn, inside a \...
Black Mild's user avatar
  • 16.5k
0 votes
1 answer
270 views

How does one get a margin note on the left on

According to the manual,\marginnote[left]{} should typeset "left" on the left margin, not? That's not what I get. Alternatively I could use \reversemarginpar, but is effect is permanent. \...
Erwann's user avatar
  • 2,040
0 votes
1 answer
125 views

Absolute vertical positioning of marginnote

I am using the "marginnote" package in a document as shown in the following example: \documentclass{report} \usepackage{marginnote} \begin{document} Richard of York gave battle in vain.\...
Rushmore's user avatar
0 votes
1 answer
165 views

How to achieve automatically non-overlapping margin notes with the KOMA-Script document classes?

With the Memoir document class the vertical position of margin notes specified via \marginpar is flexible so that adjacent notes are prevented from overlapping: \documentclass{memoir} \usepackage{...
Evan Aad's user avatar
  • 10.8k
1 vote
3 answers
190 views

Fixing a marginpar in (vertical) place so it does not move

I use memoir’s \footnotesinmargin, which typesets ‘footnotes’ in the margin, using \marginpar internally. I am very pleased with the result when combined with marginfix, but I have one thing I do not ...
Júda Ronén's user avatar
0 votes
1 answer
146 views

Text on the side

I need to put text on the left side from my lst listing it should look like on the photo. \lstdefinestyle{myStyle}{ belowcaptionskip=1\baselineskip, breaklines=true, frame=none, numbers=...
Artem Radin's user avatar
5 votes
1 answer
289 views

marginnote within figure caption

I have a marginnote within a figure caption: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[english]{babel} \usepackage{geometry} \usepackage{marginnote} \begin{document} \begin{...
cheersmate's user avatar
2 votes
1 answer
133 views

Align marginnote with text

For marginnotes sized the same as the text, the first line of the marginnote is aligned on exactly the same height as the text line. I however want the marginnotes to be \footnotesize and be sans-...
Thomas Flinkow's user avatar
1 vote
1 answer
304 views

Putting marginpar always on the right in a two sided document

I'm drafting a document using a required style file for a conference, which is a two sided style. (i.e. odd and even pages are different.) During the drafting process, I like to use the marginnote ...
N. Virgo's user avatar
  • 3,835
1 vote
3 answers
700 views

how to manipulate textwidth of footnote?

I am using custom margins so I can include figures in the right margin and references in the footer. I would like the footer to span the linewidth of the text body and the margin. Here is my minimal ...
Tyrone's user avatar
  • 197
0 votes
1 answer
62 views

Two-way link, marginnote to item wanted

In the following MWE, I am trying to link a \marginnote with an \item in the appendix. While the link does show in red, it is not active. If that is solved, my next step would be to create a return ...
hsmyers's user avatar
  • 1,493
2 votes
1 answer
113 views

Extraneous spacing in marginnote with small font sizes

With \tiny and \scriptsize font sizes, marginnote adds extraneous vertical space after the first line. It seems to work fine with \footnotesize and upwards. By comparison, \marginpar does not have ...
steve's user avatar
  • 2,050
2 votes
2 answers
227 views

Graphics in every side page margin depending on odd/even

I want something working like a fancyhdr, but on the page margin: A colored box overlayed with the document title (or any other text) on every page, placed vertically inside the page margin. The box ...
Dschoni's user avatar
  • 288
0 votes
1 answer
115 views

Marginnote in tcolorbox not showing near bottom of the page

I was using the code from this solution to add margin notes in color boxes next to the text in my document. When they are called "too close" to the bottom of the page they don't show at all. ...
LFG's user avatar
  • 41
1 vote
1 answer
92 views

Prevent KOMA-script marginal note to split over page break

If a marginal note in KOMA-script is near the page end, KOMA-script just splits the note in whatever place it decides and moves the tail to the margin of the next page. For short notes it creates ...
facetus's user avatar
  • 817
2 votes
1 answer
139 views

How can I adjust horizontal alignment of \marginnote?

When I use \marginnote inside a tcolorbox, it is shifted horizontally, as shown in the attached figure. Sorry for the lack of MWE -- this is a PreTeXt-generated LaTeX file, with about 1000 lines of ...
Sean Fitzpatrick's user avatar
1 vote
0 answers
99 views

How can I add a margin note right next to a table?

I would like to add a margin note right next to a table as shown below: Unfortunately the margin note appears at the bottom of the previous page although the table is located (correctly) at the top ...
user230754's user avatar

1
2 3 4 5 6