Questions tagged [marginnote]
{marginnote} is about typesetting non-floating notes in margins using the marginnote package.
306 questions
1
vote
1
answer
55
views
MarginNotes in LyX: can we redefine \marginar as \todo from todonotes package?
LyX offers a way to redefine the command used by LyX for margin notes by the command provided by the marginnote-package (See Help > Embedded Objects > 4.3 Margin Notes ), by adding these two ...
1
vote
1
answer
53
views
Cornell style notes formatting
I am a beginner so I apologize if this is a bad question. I am trying to write a latex document that has a similar style as the following image
So far I came up with the following minimum working ...
2
votes
1
answer
78
views
pstricks Inside a \marginnote
I am trying to develope an enviroment to create a baseball "At Bat" graphic in the margin.
So I can code something like:
\begin{at-bat}
\abSingle
\abFirstStrike{1}
\abFirstBall{2}
\end{...
1
vote
1
answer
44
views
Prevent marginnote from creating extra paragraph when used before new section
\marginnote creates a new paragraph when it's called on a separate line before a new section, which adds unwanted extra vertical space, but it doesn't do this when the next line is just a regular line:...
0
votes
0
answers
21
views
Adapteing FloatBarrier for margins. How to get rid of an unwanted paragraph break?
I want to construct a marginbarrier (similar to FloatBarrier which does not work for material in the margins). It will have an argument, indicating how much space to reserve in the margin for the ...
1
vote
1
answer
70
views
Why is there a difference between `FloatBarrier` and `clearpage`?
@David Carlisle wrote in a comment to a question
In answer to your question about floatbarrier it doesn't "act like"
\clearpage it is \clearpage that is its definition, \floatbarrier =
&...
1
vote
0
answers
30
views
Side notes in one paragraph
I'm looking for solutions to typeset margin/side notes
vertically in a marginpar starting from the bottom next to the main text body, similar to what was achieved here, and
capable of handling ...
2
votes
2
answers
50
views
Minted code blocks in large (Tufte-latex) margin?
I'm making a set of notes with Tufte-latex in screen mode with a giant 8cm margin. There is plenty of room over there for code blocks, but minted doesn't work. There is an answer here but it doesn't ...
0
votes
0
answers
30
views
Stacking up and the starting point for the margin notes
The margin notes in my document start lower than the first line, and do not stack up. I presume there's a setting somewhere which tells the margin note to be placed vaguely in the area of the line to ...
1
vote
1
answer
52
views
Margin content on the left side with tufte-book class
Is there a simple way to place all marginnotes and captions in a tufte-book environment in the left margin in stead of the right? If the class option twoside can do the job on every other page, I ...
1
vote
0
answers
68
views
Create margin notes in the header and footer area
For a historically accurate liturgical Gospel book, I am trying to create top and bottom margin notes that appear within the header and footer that display rubrical information for the given section ...
1
vote
1
answer
49
views
Marginnote and vertical alignment of boxes
After solving the problem I had with the vertical alignment of the margin notes (https://tex.stackexchange.com/a/721419/13180), I am facing a similar problem. I can't control the vertical position of ...
2
votes
1
answer
55
views
Vertical alignment problems with marginnote and titlesec
I'm with a document that has margin notes in the section titles. I have programmed a command that works if I don't load titlesec package. Here is a minimal example:
\documentclass[a4,twoside]{article}...
0
votes
1
answer
46
views
Parsing contents of tcolorbox inside parbox
I want result similar to the above, except that I want it be done without explictly using \parbox
\documentclass[11pt, a4paper]{book}
\usepackage{fancyhdr}
\pagestyle{empty}
\usepackage[a4paper]{...
0
votes
1
answer
42
views
Using parbox inside marginnote misaligns the baseline
The desired output is as in the second one, but I still want the flexbility of tcolorbox when placing margin notes
My MWE
\documentclass[11pt, a4paper,draft]{book}
\usepackage{fancyhdr}
\pagestyle{...
1
vote
1
answer
54
views
Wrong alignement for environment marginfigure of package sidenotes
When redacting my PhD thesis, I found myself wanting to add a side-figure here and there to tell the reader that something is important. The idea is to put a figure inside the margin where needed. I ...
0
votes
1
answer
62
views
Figure spans into wrong margin (tufte style)
Fully compilable code here.
I am placing a figure with
\newcommand{\plainwidefig}[5][!htb]{%
\FloatBarrier%
\begin{figure*}[#1]%
{\includegraphics[width=#2\linewidth, left]{#3}}%
...
1
vote
0
answers
42
views
Margin notes don't show up in a Hebrew document
I am working on a Hebrew document, and I want to add margin notes. When I do this in an English document, everything works fine:
\documentclass[a4paper, oneside, 12pt]{book}
\usepackage{geometry}
\...
1
vote
1
answer
198
views
Problem using margin notes with book style
This is follow up to earlier question I asked about using margin notes here
I found that when I use book style the margin note jumps from the left to the right, depending on if the page is odd or even,...
1
vote
2
answers
187
views
How to use marginnote to put small text on left margin of listing to it is correctly aligned?
I'd like to put a small text on left margin of page that have small description of code/command listing, where on the main page there is code listing using listing package.
But the description text I ...
0
votes
0
answers
47
views
Making marginnote to appear in correct side in two column article
I have a two-column article where I need to add margin notes using the marginnote package. I aim to ensure that the margin comments appear on the left side of the column when placed in the left column ...
0
votes
1
answer
44
views
Slightly bigger line spacing after introducing vertical adjustment [duplicate]
I use snotez package to produce margin notes. I found that the vertical space between the first and the second lines became a little bit larger when I used vertical offset to shift the margin note.
...
2
votes
1
answer
82
views
How do I get headers and footers to extend into the margin (using the Memoir class)?
Similar to what was asked in this question I’m writing a document that uses a small text block, with the margin holding some notes. I did not explicitly changed the \textwidth directly, only the ...
1
vote
2
answers
230
views
Layout of main text with comment at the margins (talmud layout)
Please see the MWE. Page 1 shows a text with a comment at the margin that is only a few lines. What I want is that the main text expands underneath the marginal comment. In page 2 we have the opposite ...
1
vote
1
answer
68
views
Page number alignment when using \marginnote
Please see the MWE. I would like the page numbers aligned with the entire block of text (text + margin note) like in page 3. I know it is possible because it is used in the documentation of Notes Tex (...
0
votes
0
answers
63
views
Margin paragraph alignment if using \sloppy
Please see my MWE. I would like the \marginnote paragraph to be aligned with the point in which I invoke it. In the inner margin I have a wrap figure environment that contains text very big (46pt). If ...
0
votes
1
answer
375
views
How can I make margin note notation?
I would like to make margin notes on my document exactly like footnote but on the side. I have used this, it works but there is no notation and the text in the side is big.
\usepackage{marginnote}
\...
2
votes
0
answers
28
views
Exercise Package and Marginnote: noanswer
I've got a huge document with lots of exercises/answers managed by the exercise package (i.e. I'm committed!). I want to print just the exercises, and not the answers, so I turned on the noanswer ...
0
votes
1
answer
161
views
Vertically rotate Margin Note
I'd like to use \marginnotes{text here} to create vertical margin notes, since for me the margin is so narrow that the margin line is broken up a lot, making it difficult to read.
I've tried the ...
0
votes
2
answers
55
views
Custom width for chapter
In my current LaTeX project, I want to have a wide margin next to my text to add notes there. But the problem is that the chapter heading looks a bit "too short". Especially with long ...
0
votes
0
answers
99
views
How to use tikz package to produce margin notes?
I want to produce margin notes like this
But they should behave like \marginnote command. The reason I want this is the flexibility of tikz package when I want to modify how the content should appear ...
3
votes
2
answers
180
views
How can I get my margin notes to indent themselves into the text, shifting the text over?
I'm looking for my outer margin notes to be pushed into the text, and the text to flow around them, like the picture below:
I'm using scrbook, and I still want to margin notes to have the same ...
1
vote
1
answer
68
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
107
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 ...
3
votes
2
answers
340
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
363
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
113
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
101
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[...
1
vote
0
answers
372
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
116
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
34
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
97
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
140
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
468
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
65
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
66
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
60
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
64
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
48
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
136
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]
...