Questions tagged [marginnote]
{marginnote} is about typesetting non-floating notes in margins using the marginnote package.
274
questions
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}
\...
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 ...
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, ...
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 ...
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\...
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[...
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 ...
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 ...
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[...
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 ...
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 ...
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 ...
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 ...
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}\...
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....
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 ...
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 ...
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]
...
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!
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 ...
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,
...
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 ...
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 ...
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{...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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,
...
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 ...
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 \...
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.
\...
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.\...
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{...
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 ...
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=...
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{...
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-...
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 ...
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 ...
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 ...
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 ...
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 ...
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. ...
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 ...
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 ...
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 ...